Aller au contenu

\pdfoutput[=] integer

  • [=]” means that the equals sign is optional.

The \pdfoutput command is used to specify whether the file produced by pdfTeX should be DVI or PDF format. A positive value of integer means output in PDF format, otherwise the output is in DVI format.

Usage example

  • \pdfoutput=1 sets the output format to PDF
  • \pdfoutput=0 sets the output format to DVI

DVI: still useful

DVI stands for Device Independent and is the original file output format for TeX engines. Although the DVI format has been superceded by PDF, it remains extremely useful for special post-processing operations such as converting typeset output to SVG with dvisvgm or producing HTML from TeX/LaTeX with tools such as TeX4ht.

Overleaf guides

LaTeX Basics

Mathematics

Figures and tables

References and Citations

Languages

Document structure

Formatting

Fonts

Presentations

Commands

Field specific

Class files

Advanced TeX/LaTeX