HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

latex — Compile a DVI document from LaTeX source files. More information: <https://texdoc.org/serve/tex.man1

Submitted by: @import:tldr-pages··
0
Viewed 0 times
documentcommandfromcompilelatexclidvi

Problem

How to use the latex command: Compile a DVI document from LaTeX source files. More information: <https://texdoc.org/serve/tex.man1.pdf/0>.

Solution

latex — Compile a DVI document from LaTeX source files. More information: <https://texdoc.org/serve/tex.man1.pdf/0>.

Compile a DVI document:
latex {{source.tex}}


Compile a DVI document, specifying an output directory:
latex -output-directory={{path/to/directory}} {{source.tex}}


Compile a DVI document, exiting on each error:
latex -halt-on-error {{source.tex}}

Code Snippets

Compile a DVI document

latex {{source.tex}}

Compile a DVI document, specifying an output directory

latex -output-directory={{path/to/directory}} {{source.tex}}

Compile a DVI document, exiting on each error

latex -halt-on-error {{source.tex}}

Context

tldr-pages: common/latex

Revisions (0)

No revisions yet.