本文介绍了乳胶和多围嘴的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将参考书目分为两部分,并找到 multibib软件包似乎非常适合.但是:某种程度上它是行不通的,即使是简单的例子也行不通:

I want to split my bibliography into two parts, and found the multibib package which seems to be perfect for this.But: somehow it doesn't work, not even the simple example works:

\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}}

按预期,将创建两个aux文件(每个部分一个),但是创建的pdf文件仅包含正常"的引用,而不包含创建的围嘴的引用.

As expected, two aux files are created (one for each part), but the created pdf file only contains the references for the "normal", not for the created bib.

有什么想法吗?谢谢!

推荐答案

好,我是自己发现的:

我正在使用Texniccenter,并且所有编译都是自动完成的,但是ltex.aux文件需要一个附加的bibtex调用,因此您需要运行

I'm using Texniccenter and tought all the compiling is done automatically, but an additional bibtex call is needed for the ltex.aux file, so you need to run

bibtex ltex.aux

手动在命令行上运行即可.也许有人知道从Texniccenter拨打电话的方法吗?

manually on the command line, then it works.Perhaps someone knows a way to do that call from Texniccenter?

这篇关于乳胶和多围嘴的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-31 02:05