乳胶输出

发布于 2024-07-25 13:35:05 字数 109 浏览 3 评论 0原文

当我编译乳胶文件时,它还会生成 .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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

宫墨修音 2024-08-01 13:35:05

这些文件很有用,代表多遍排版过程的输出。 如果删除它们,则需要重新运行 LaTeX 才能重新生成它们。 通常,您会看到如下所示的 LaTeX 工作流程:

  1. 运行 LaTeX(查找所有书目参考文献、图形条目等)
  2. 运行 BibTeX(为书目条目创建一组初始文本)
  3. 运行 LaTeX(填充包含参考书目、图形参考的文档)
  4. 运行 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:

  1. Run LaTeX (finds all the bibliographical references, figure entries, etc.)
  2. Run BibTeX (creates an initial set of text for the bibliographic entries)
  3. Run LaTeX (populates the document with bibliography, figure references)
  4. Run LaTeX (general good luck: there are some corner cases when references need two passes to fully populate)

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).

七分※倦醒 2024-08-01 13:35:05

来自 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."

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文