使用pdflatex
pi-2.6-1.40.15 和BibTeX
0.99d,在编译包含多个 .bib 文件的 LaTeX 文档时,我的一些参考文献没有按第一作者姓氏正确排序。例如,book.bib
我有
@book {Connes,
AUTHOR = {Connes, Alain},
TITLE = {Noncommutative geometry},
PUBLISHER = {Academic Press, Inc.},
ADDRESS = {San Diego, CA},
YEAR = {1994},
}
@book {Conway,
AUTHOR = {Conway, John B.},
TITLE = {A Course in Functional Analysis},
PUBLISHER = {Springer-Verlag},
ADDRESS = {New York},
YEAR = {1990},
SERIES = {Graduate Texts in Mathematics},
VOLUME = {96},
EDITION = {2nd ed},
}
并且在article.bib
,
@article {Connes1989,
AUTHOR = {Connes, Alain},
TITLE = {Compact metric spaces, {F}redholm modules, and hyperfiniteness},
JOURNAL = {Ergodic Theory Dynam. Systems},
FJOURNAL = {Ergodic Theory and Dynamical Systems},
VOLUME = {9},
YEAR = {1989},
NUMBER = {2},
PAGES = {207--220},
}
bibtex 会按文献参考书目进行排序:首先是 Connes1989,然后是 Conway,最后是 Connes。
我可以看到此行为的测试文档是:
\documentclass[12pt,twoside,letterpaper]{article}
\begin{document}
\cite{Connes}
\cite{Connes1989}
\cite{Conway}
\bibliographystyle{alpha}
\bibliography{./book,./article}
\end{document}
这很令人困惑,因为有些作者被正确排序,而有些则没有。
答案1
这是参考书目样式的预期行为alpha
。摘自bibtex
文档(第 5 页):
但是,alpha 样式首先按标签排序,然后按“作者”、年份和标题排序。
这意味着根据该风格,[Con89]、[Con90] 和 [Con94] 是正确的顺序。
如果您想继续使用该alpha
样式,则可以复制alpha.bst
并修改它以仅按作者排序而不是按标签排序。下面是一个问题,它就是这样做的: