Files
tldr/pages.zh/common/tex.md

16 lines
340 B
Markdown

# tex
> 从 TeX 源文件编译 DVI 文档。
> 更多信息:<https://www.tug.org/begin.html>。
- 编译 DVI 文档:
`tex {{source.tex}}`
- 编译 DVI 文档,指定输出目录:
`tex -output-directory={{path/to/directory}} {{source.tex}}`
- 编译 DVI 文档,在每个错误时退出:
`tex -halt-on-error {{source.tex}}`