Просмотр исходного кода

* 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 лет назад
Родитель
Сommit
aba45a82bd
3 измененных файлов: 7 добавлений и 0 удалений
  1. Двоичные данные
      sample-book.pdf
  2. Двоичные данные
      sample-handout.pdf
  3. +7
    -0
      tufte-common.sty

Двоичные данные
sample-book.pdf Просмотреть файл


Двоичные данные
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



Загрузка…
Отмена
Сохранить