First, thank you for coding and sharing this template. It's very promising and helpful to academics.
The tufte format uses footnotes to place citations in the margin. When compiling the template in HTML format, the citations indeed appear in the margin--though without a footnote number, which would be a useful feature for scientists.
When compiling the tufte-handout (or tufte-book) template in PDF, citations do not appear in the margin as they do in the latex-tufte template.
I was able to fix this in part with a rudimentary solution, by adding the following to the YAML header.
This effectively redefines the natbib \citep and \citet commands to use the \cite commands compatible with tufte-handouts and tufte-book. This solution doesn't adversely impact the margin citations in HTML format. However, it would be nice to still have a textual version of the \citet that includes a footnote reference (ex: Smith et al. 2000 3).
The Tufte classes appear to rely on natbib. I also tried various solutions with biblatex on the post-processed .tex file---using nobib as a documentclass option, or natbib=true as a package option to biblatex---but I couldn't get these to work.
Altogether, I'm reporting a bug and requesting a feature:
Bug: I expect the tufte-handout and tufte-book PDF outputs to match those of latex-tufte.
Feature: I'd like to request that the HTML can (optionally) output margin citations with a superscript number.
First, thank you for coding and sharing this template. It's very promising and helpful to academics.
The tufte format uses footnotes to place citations in the margin. When compiling the template in HTML format, the citations indeed appear in the margin--though without a footnote number, which would be a useful feature for scientists.
When compiling the tufte-handout (or tufte-book) template in PDF, citations do not appear in the margin as they do in the latex-tufte template.
I was able to fix this in part with a rudimentary solution, by adding the following to the YAML header.
This effectively redefines the natbib
\citep
and\citet
commands to use the\cite
commands compatible with tufte-handouts and tufte-book. This solution doesn't adversely impact the margin citations in HTML format. However, it would be nice to still have a textual version of the\citet
that includes a footnote reference (ex: Smith et al. 2000 3).The Tufte classes appear to rely on natbib. I also tried various solutions with biblatex on the post-processed
.tex
file---usingnobib
as a documentclass option, ornatbib=true
as a package option to biblatex---but I couldn't get these to work.Altogether, I'm reporting a bug and requesting a feature:
Bug: I expect the tufte-handout and tufte-book PDF outputs to match those of latex-tufte.
Feature: I'd like to request that the HTML can (optionally) output margin citations with a superscript number.