---
name: "dvitomp"
section: "1"
platform: "linux"
package: "texlive-doc"
version: "2026.1-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/dvitomp"
---

# dvitomp(1)

convert a TeX DVI file to a MetaPost mpx file

## NAME

dvitomp - convert a TeX DVI file to a MetaPost mpx file

## SYNOPSIS

**dvitomp** \[*options*\] *dvifile*\[***.dvi***\] \[*mpxfile*\[***.mpx***\]\]

**mpost** **--dvitomp** *dvifile*\[***.dvi***\] \[*mpxfile*\[***.mpx***\]\]

## DESCRIPTION

**dvitomp** translates the given *dvifile* to a MetaPost *mpxfile*.  The default *mpxfile* is the basename of *dvifile* extended with **.mpx**.

## OPTIONS

See [**tex**(1)](/tex/1.md) for details of command-line parsing.

- **-kpathsea-debug** *bitmask*

  set path searching debugging flags according to *bitmask*.

- **-progname** *string*

  set program name to *string*.

The standard **-help** and **-version** options are also supported.

## SEE ALSO

**dvitomp** is an alias for MetaPost. See [**mpost**(1)](/mpost/1.md).

Package page on CTAN: https://ctan.org/pkg/dvitomp

For questions and discussion, email metapost@tug.org.\
 For detailed bug reports, email mp-implementors@tug.org.
