miktex-mpost 1 &PACKAGE_NAME; &miktexrev; User Commands
miktex-mpost &MetaPost;, a system for creating graphics
`miktex-mpost` option command file

## Description

&MetaPost; interprets the &MetaPost; language and produces &PostScript; (&EPS;) or Scalable Vector Graphics (&SVG;) pictures. The &MetaPost; language is similar to Knuth's &METAFONT; with additional features for including &TeX; commands and accessing features of &PostScript; not found in &METAFONT;.

&MetaPost; is normally used with some preloaded macros, and it will use its executable name as the name of the preload file to use. For example, when called as &miktexmpost; the `mpost.mp` file is used, which is identical to `plain.mp`. When the `--initialize` option is given, preloading does not happen.

The commands given on the command line to the &MetaPost; program are passed to it as the first input line. (But it is often easier to type extended arguments as the first input line, since shells tend to gobble up or misinterpret &MetaPost;'s favorite symbols, like semicolons, unless you quote them.) The normal usage is to say `miktex-mpost figs` to process the file `figs.mp`. The basename of figs becomes the jobname, and is used in forming output file names. If no file is named, the jobname becomes `mpout`. The default extension, `.mp`, can be overridden by specifying an extension explicitly.

When the `--dvitomp` option is given, &MetaPost; acts as DVI-to-MPX converter only. Run `miktex-mpost --dvitomp --help` for option explanation.

## Options

`--debug`

  Print debugging info and leave temporary files in place.

  --debug
`--numbersystem=string`

  Set number system mode (string one of: `scaled`, `double`, `binary`, `decimal`).

  --numbersystem=string
`--restricted`

  Be secure: disable `tex`, `makempx` and editor commands.

  --restricted
`-s internal="string"`

  Set internal to the string value.

  -s internal=STRING
`-s internal=number`

  Set internal to the number value.

  -s internal=NUMBER
`--tex=texprogram`

  Use texprogram instead of &miktextex; when compiling text labels.

  This flag overrides the environment variable `TEX`.

--tex=texprogram
`--troff`

  Set `prologues:=1` and assume `--tex=troff`.

--troff

## Environment