Bläddra i källkod

* Added bug fix to work around a bug in bibentry and the chicago bibliography style.

This code is a variation of the patch from Patrick Daly (author of bibentry).


git-svn-id: https://tufte-latex.googlecode.com/svn/trunk@81 516e2f36-ce3a-0410-bea4-1d4a03f5df72
master
Kevin M. Godby 17 år sedan
förälder
incheckning
aba45a82bd
3 ändrade filer med 7 tillägg och 0 borttagningar
  1. Binär
      sample-book.pdf
  2. Binär
      sample-handout.pdf
  3. +7
    -0
      tufte-common.sty

Binär
sample-book.pdf Visa fil


Binär
sample-handout.pdf Visa fil


+ 7
- 0
tufte-common.sty Visa fil

@@ -510,6 +510,13 @@

\RequirePackage{natbib}
\RequirePackage{bibentry} % allows bibitems to be typeset outside thebibliography environment
% Redefine the \BR@b@bibitem command to fix a bug with bibentry+chicago style
\renewcommand\BR@b@bibitem[2][]{%
\ifthenelse{\isempty{#1}}%
{\BR@bibitem{#2}}%
{\BR@bibitem[#1]{#2}}%
\BR@c@bibitem{#2}%
}
\nobibliography* % pre-loads the bibliography keys
\providecommand{\doi}[1]{\textsc{doi:} #1} % pre-defining this so it may be used before the \bibliography command it issued



Laddar…
Avbryt
Spara