texify
| Chapter 6. Programs |

## Name

texify — MiKTeX compiler driver

## Synopsis

`texify` [`option`...] `file`...

## Description

texify runs Texinfo or LaTeX input files through tex (pdftex) in turn until all cross-references are resolved, building all indices.

The directory containing each `file` is searched for included files. The suffix of `file` is used to determine its language (LaTeX or Texinfo).

makeinfo is used to perform Texinfo macro expansion before running tex when needed.

## Options

`-@`

  Use @input (instead of \input); for preloaded Texinfo.

`--batch`, `-b`

  No interaction.

`--clean`, `-c`

  Remove all auxiliary files.

`--expand`, `-e`

  Force macro expansion using makeinfo.

`-I `dir``

  Search `dir` for input files.

`--help`, `-h`

  Display help and exit successfully.

`--language=`lang``, `-l `lang``

  Specify the language of input files: either `latex` or `texinfo`.

`--max-iterations=`n``

  Limits the number of iterations to prevent endless processing. The default for `n` is `5`.

`--mkidx-option=`option``

  Pass `option` to the index generator.

`--pdf`, `-p`

  Use pdftex (or pdflatex) for processing.

`--quiet`, `-q`, `--silent`, `-s`

  No screen output unless errors plies `--batch`).

`--run-viewer`

  Run a viewer on the resulting DVI (PDF) file.

`--src`

  Pass `--src-specials` to the TeX compiler.

`--texinfo=`cmd``, `-t=`cmd``

  Insert `cmd` after `@setfilename` in copy of input file. Multiple values accumulate.

`--tex-option=`option``

  Pass `option` to the compiler.

`--verbose`, `-V`

  Print information on what is being done.

`--version`, `-v`

  Display version information and exit successfully.

`--viewer-option=`option``

  Pass `option` to the viewer.

## Environment Variables

The values of the `BIBTEX`, `LATEX` (or `PDFLATEX`), `MAKEINDEX`, `MAKEINFO`, `TEX` (or `PDFTEX`), and `TEXINDEX` environment variables are used to run those commands, if they are set.

## Aliases

tex2dvi

  Equivalent to texify.

tex |  | xetex