christopheradams / tufte-latex

Automatically exported from code.google.com/p/tufte-latex
0 stars 1 forks source link

natbib is out, biblatex is in #60

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Very simple: natbib is going to be obsolete. The new, all-including package for 
bibliographies will be biblatex (with its companion biber to replace the 
already obsolete bibtex). But biblatex is incompatible with natbib, so it would 
be kind of the package creators to update it in order to use the new one, or 
even better to offer an additional option. Thank you!

Original issue reported on code.google.com by pierodan...@gmail.com on 8 Oct 2010 at 10:04

GoogleCodeExporter commented 9 years ago
Thanks for filing this issue.  My plan is to allow the option of using natbib, 
biblatex, or to load no bibliography package at all (useful if you don't need a 
bibliography or want to use some other bibliography package entirely).

Original comment by godbyk@gmail.com on 8 Oct 2010 at 10:22

GoogleCodeExporter commented 9 years ago
Hi.

I made it work with biblatex. The tufte-code does not even have to be changed, 
just the input file needs some tweaking. I attached the patches against r173 
sample-book.tex and same-handout.tex, but here is (in short words) what I did:

(1) use the nobib option.
(2) quick n dirty patch for an error message, \nohyphenations is somehow 
defined in biblatex
\usepackage{hyphenat}
(3) Do use normal bibtex commands (no surprise here), but the biblatex ones
\usepackage[backend = biber, style = numeric]{biblatex}
\addbibresource{sample-handout.bib} 
(4) Make a new cite command. Please note, how much easier things are in 
biblatex :) I don't know, if it covers all the cases, but it looks very 
promising. Please note, that you have to look into the biblatex package to 
change things.
\renewcommand{\cite}[2][0pt]{\sidenote[][#1]{\fullcite{#2}}}
(5) same as (3) in the end
 \printbibliography

yay.

Original comment by andytho...@web.de on 12 Aug 2011 at 10:21

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for the patches, Andy!  I'll take a look at them this weekend.

I agree that BibLaTeX looks like it provides a ton of great functionality and 
is a lot easier to customize than natbib.  I just haven't had time to read 
through the (rather lengthy) manual yet!

Original comment by godbyk@gmail.com on 12 Aug 2011 at 10:25

GoogleCodeExporter commented 9 years ago
Thank you for this patch, it mostly solves an issue I've been struggling with!  
I've implemented the changes in my local copy of tufte-latex. However, I'm 
finding that the margin notes now have a leading indent/tab between the number 
and the start of the \fullcite, as per the attached screenshot. Is anyone else 
experiencing this?  It looks like some biblatex styles provide different cite 
commands to address this (eg: fullcitebib vs. fullcite in the apa style), but I 
need to work out a generic solution; I'm using Numeric for now.

Original comment by ryanspi...@gmail.com on 16 Aug 2011 at 11:28

Attachments:

GoogleCodeExporter commented 9 years ago
Thank you for the patch, but how do you incorporate the patch into the existing 
tufte-latex files?

Original comment by olga.bot...@gmail.com on 20 Jun 2012 at 6:44