Преглед изворни кода

* 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 година
родитељ
комит
aba45a82bd
3 измењених фајлова са 7 додато и 0 уклоњено
  1. BIN
      sample-book.pdf
  2. BIN
      sample-handout.pdf
  3. +7
    -0
      tufte-common.sty

BIN
sample-handout.pdf Прегледај датотеку


+ 7
- 0
tufte-common.sty Прегледај датотеку

@@ -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



Loading…
Откажи
Сачувај