使用 TeXworks 自动“多次”编译

使用 TeXworks 自动“多次”编译

我正在尝试用 LaTeX 创建一个简单的参考书目,并在一个教程网站上找到了这个简单的例子。

书目.tex

\documentclass{report}
\usepackage[utf8]{inputenc}
\usepackage[nottoc]{tocbibind}

\title{Biblography}
\author{Dan}
\date{October 2016}

\begin{document}
\maketitle
\tableofcontents
\chapter{Specs}
\section{Introduction}
Using \texttt{biblatex} you can display bibliography divided into sections, 
depending of citation type. 
Let's cite! The Einstein's journal paper \cite{einstein} and the Dirac's 
book \cite{dirac} are physics related items. 
Next, \textit{The \LaTeX\ Companion} book \cite{latexcompanion}, the Donald 
Knuth's website \cite{knuthwebsite}, \textit{The Comprehensive Tex Archive 
Network} (CTAN) \cite{ctan} are \LaTeX\ related items; but the others Donald 
Knuth's items \cite{knuth-fa,knuth-acp} are dedicated to programming.

\bibliographystyle{plain}
\bibliography{sample}

\end{document}

样本

@article{einstein,
    author =       "Albert Einstein",
    title =        "{Zur Elektrodynamik bewegter K{\"o}rper}. ({German})
    [{On} the electrodynamics of moving bodies]",
    journal =      "Annalen der Physik",
    volume =       "322",
    number =       "10",
    pages =        "891--921",
    year =         "1905",
    DOI =          "http://dx.doi.org/10.1002/andp.19053221004",
    keywords =     "physics"
}

@book{dirac,
    title={The Principles of Quantum Mechanics},
    author={Paul Adrien Maurice Dirac},
    isbn={9780198520115},
    series={International series of monographs on physics},
    year={1981},
    publisher={Clarendon Press},
    keywords = {physics}
}

@book{latexcompanion,
    title={LaTeX Companion Book},
    author={Paul Adrien Maurice Dirac},
    isbn={9780198520115},
    series={International series of monographs on physics},
    year={1981},
    publisher={Clarendon Press},
    keywords = {physics}
}

@online{knuthwebsite,
    author    = "Donald Knuth",
    title     = "Knuth: Computers and Typesetting",
    url       = "http://www-cs-faculty.stanford.edu/~uno/abcde.html",
    keywords  = "latex,knuth"
}

@online{ctan,
    author    = "Donald Knuth",
    title     = "CTAN",
    url       = "http://www-cs-faculty.stanford.edu/~uno/abcde.html",
    keywords  = "latex,knuth"
}

@inbook{knuth-fa,
    author = "Donald E. Knuth",
    title = "Fundamental Algorithms",
    publisher = "Addison-Wesley",
    year = "1973",
    chapter = "1.2",
    keywords  = "knuth,programming"
}

@inbook{knuth-acp,
    author = "Donald E. Knuth",
    title = "Fundamental Algorithms",
    publisher = "Addison-Wesley",
    year = "1973",
    chapter = "1.2",
    keywords  = "knuth,programming"
}

我被告知,如果您选择了pdfLaTeX+MakeIndex+BibTeXTeXworks您就不必按照此顺序经历运行文档编译的过程。

pdfLaTeX
BibTex
pdfLaTeX
pdfLaTeX

但是,当我使用该选项时,pdfLaTeX+MakeIndex+BibTeX它会导致使用上述编译过程消除的相同引用警告,而不是消除它们。如果有人能告诉我我做错了什么或帮助我解决问题,我将不胜感激。

相关内容