瀏覽代碼

* 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. 二進制
      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



Loading…
取消
儲存