乳胶输出
当我编译乳胶文件时,它还会生成 .txt、.bbl、.aux 文件。 它们没有用,因为我可以删除它们而不会造成任何损害。 我的问题是这些文件的用途是什么以及如何在编译 .tex 文件时选择不生成它们?
When I compile a latex file, it produces also a .txt, .bbl, .aux files. They are not useful as I can delete them without harm. My question is what are these files for and how can I opte not to generate them when I compile the .tex file?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这些文件很有用,代表多遍排版过程的输出。 如果删除它们,则需要重新运行 LaTeX 才能重新生成它们。 通常,您会看到如下所示的 LaTeX 工作流程:
也就是说,一旦您有了可打印的文档(.dvi、.pdf、.ps 等) ,您可以删除这些临时文件,直到您需要再次编辑 LaTeX 源为止。
这个对另一个问题的回答详细介绍了每个传递的内容正在做(从参考书目的角度来看)。
Those files are useful and represent the output of the multiple-pass typesetting process. If you delete them, you'll need to rerun LaTeX to regenerate them. Quite often, you'll see a LaTeX workflow that looks something like this:
That said, once you have a printable document (.dvi, .pdf, .ps, etc.), you can delete those temporary files until you need to edit the LaTeX source again.
This answer to another question breaks down what each pass is doing (from the point of a bibliography).
来自 bluesky.com
“.aux(辅助)文件是 LaTeX 存储的位置有关计数器(如节号)、脚注、参考书目条目、参考标记以及 LaTeX 可能需要跟踪的任何其他信息的信息,每当 LaTeX 排版文件时,都会覆盖该文件。 LaTeX 读取该文件以获取所需的信息,并在排版完成后写入该文件,这就是为什么直到 LaTeX 运行两次后计数器的更改才会生效,因为 .aux 文件第一次不是最新的。 .bib 文件是保存所有参考书目信息的地方,您可以自己创建该文件,也可以使用 BibTeX 创建该文件。 .toc 文件包含创建目录所需的所有信息。当 LaTeX 看到命令 \tableofcontents 时创建,并且节名、编号和页码都是从 .aux 文件中读取的。”
From bluesky.com
"The .aux (auxiliary) file is where LaTeX stores all the information about the counters (like section numbers), footnotes, bibliography entries, reference marks, and anything else that LaTeX may need to keep track of. This file is written over whenever a file is typeset by LaTeX. Whenever a document is typeset LaTeX reads this file to get the information it need, and writes to it after typesetting is completed. This is why changes in the counters will not take effect until LaTeX is run twice, because the .aux file is not up to date the first time. The .bib file is where all the bibliography information is kept. You can either make this file yourself, or you can use BibTeX to create the file. The .toc file contains all the information needed to create the Table of Contents. This file is created when LaTeX sees the command \tableofcontents, and the section names, numbers and page numbers are all read from the .aux file."