Ver código fonte

* 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 anos atrás
pai
commit
aba45a82bd
3 arquivos alterados com 7 adições e 0 exclusões
  1. BIN
      sample-book.pdf
  2. BIN
      sample-handout.pdf
  3. +7
    -0
      tufte-common.sty

BIN
sample-book.pdf Ver arquivo


BIN
sample-handout.pdf Ver arquivo


+ 7
- 0
tufte-common.sty Ver arquivo

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



Carregando…
Cancelar
Salvar