2010-09-05 99 views
4

我想將我的參考書目分成兩部分,並發現multibib package這似乎是完美的。 但不知怎地,這是行不通的,甚至不是簡單的示例工作:乳膠和multibib

\documentclass{article} 
\usepackage{multibib} 
\newcites{ltex}{\TeX\ and \LaTeX\ References} 
\begin{document} 
References to the \TeX book \citeltex{Knuth:1991} and to Lamport’s \LaTeX\ book, which appears only in the references\nociteltex{Lamport:1994}. Finally a cite to a Postscript tutorial \cite{Adobe:1985}. 
\bibliographystyleltex{alpha} 
\bibliographyltex{lit} 
\renewcommand{\refname}{Postscript References} 
\bibliographystyle{plain} 
\bibliography{lit} 
\end{document} 

隨着圍兜文件看起來像那

@book{Knuth:1991, author = {Knuth, Donald E.}, title = {The TEC book}, publisher = {Addison-Wesley, Reading, Massachusetts}, year = {1991}} 
@book{Lamport:1994, author = {Lamport, Leslie}, title = {LATEX: A Document Preparation System}, publisher = {Addison-Wesley, Reading, Massachusetts, 2 edition}, year = {1994} } 
@book{Adobe:1985, author = {Adobe System Incorporated}, title = {Postscript Language Tutorial and Cookbook}, publisher = {Addison-Wesley, Reading, Massachusetts}, year = {1985}} 

正如預期的那樣,2個輔助文件被創建(每個部分),但創建的pdf文件只包含「正常」的引用,而不是創建的圍脖。

任何想法?謝謝!

+0

歡迎您在Stack Overflow上發佈乳膠問題,但請注意[TeX,LaTeX和Friends](http://tex.stackexchange.com/)現在正在使用公開測試版,您可能會在該網站上獲得更快的響應。 – dmckee 2010-09-05 19:29:24

回答

5

好吧,我發現了這件事由我自己:

我使用Texniccenter和因子評分所有的編譯是自動完成的,而是需要針對ltex.aux文件附加中文提供電話,所以你需要運行

bibtex ltex.aux 

手動在命令行,然後它的工作。 也許有人知道從Texniccenter那裏打電話的方法?

2

在Texnic Center中打開ltex.aux文件(通過File然後打開...)。 一旦它打開並且它是Texnic Center中的選定選項卡,請轉到Build,Current File ...並單擊Bibtex。這裏的關鍵是在當前文件選項中選擇Bibtex命令。 這與Texnic Center中的bibtex ltex.aux執行效果相同