1 .TH MPOST 1 "16 June 2015" "Web2C @VERSION@"
2 .\"=====================================================================
4 \\$2 \(laURL: \\$1 \(ra\\$3
6 .if \n[.g] .mso www.tmac
11 .if t .ds TX \fRT\\h'-0.1667m'\\v'0.20v'E\\v'-0.20v'\\h'-0.125m'X\fP
13 .ie t .ds OX \fIT\v'+0.25m'E\v'-0.25m'X\fP
15 .\" BX definition must follow TX so BX can use TX
16 .if t .ds BX \fRB\s-2IB\s0\fP\*(TX
18 .\" LX definition must follow TX so LX can use TX
19 .if t .ds LX \fRL\\h'-0.36m'\\v'-0.15v'\s-2A\s0\\h'-0.15m'\\v'0.15v'\fP\*(TX
22 .if t .ds WB W\s-2EB\s0
23 .\"=====================================================================
25 mpost \- MetaPost, a system for creating graphics
33 .IR dvifile [\fB.dvi\fP]
34 .RI [ mpxfile [\fB.mpx\fP]]
36 .\"=====================================================================
38 \*(MP interprets the \*(MP language and produces PostScript (EPS)
39 or Scalable Vector Graphics (SVG) pictures. The \*(MP language is similar
40 to Knuth's \*(MF with additional features for including
44 commands and accessing features of PostScript not found in \*(MF.
46 \*(MP is normally used with some preloaded macros, and it
47 will use its executable name as the name of the preload
48 file to use. For example, when called as
52 file is used, which is identical to
56 option is given, preloading does not happen.
60 given on the command line to the \*(MP program are passed to it as the
61 first input line. (But it is often easier to type extended arguments
62 as the first input line, since UNIX shells tend to gobble up or
63 misinterpret \*(MP's favorite symbols, like semicolons, unless you
64 quote them.) The normal usage is to say
70 becomes the ``jobname'',
71 and is used in forming output file names. If no file is named, the
74 The default extension,
76 can be overridden by specifying an extension explicitly.
80 option is given, \*(MP acts as DVI-to-MPX converter only.
81 See dvitomp (1) for details.
83 This manual page is not meant to be exhaustive. The complete
84 documentation for this version of \*(MP can be found in the
85 User Manual that should have been installed along with the program and
86 is also available from http://tug.org/metapost.
87 See the FILES section below.
89 The \*(MP language is similar to \*(MF, but the manual
90 assumes no knowledge of \*(MF. \*(MP does not have bitmap
91 output commands or \*(MF's online display mechanism.
93 .\"=====================================================================
97 The standard preload file.
100 The \*(MF-compatible preload file.
102 .I $TEXMFMAIN/metapost/base/*.mp
103 The standard \*(MP macros included in the original distribution.
105 .I $TEXMFMAIN/metapost/support/*
106 Various tables for handling included
111 .I $TEXMFMAIN/metapost/support/trfonts.map
112 Table of corresponding font names for
117 Table of corresponding font names for
121 .I $TEXMFMAIN/doc/metapost/*
122 The \*(MP manual and tutorial source, also including sample figures
123 .\"=====================================================================
124 .SH "SUGGESTED READING"
128 .IR "Computers and Typesetting" ),
129 Addison-Wesley, 1986, ISBN 0-201-13445-4.
132 (the journal of the \*(TX Users Group).
133 .\"=====================================================================
142 .URL "http://foundry.supelec.fr/gf/project/metapost/" "MetaPost source code" .
144 .URL "http://tug.org/metapost/" "MetaPost home page" .
145 .\"=====================================================================
147 \*(MP was designed by John D. Hobby, incorporating algorithms from
148 \*(MF by Donald E. Knuth. It was originally implemented on Unix,
149 incorporating system-dependent routines from
151 while not relying on it except for the actual \*(WB-to-C translator.
153 The primary author of the current \*(MP was Taco Hoekwater, with
154 assistance from Hans Hagen and many others. It is currently maintained
157 Ulrik Vieth adapted \*(MP to take advantage of the advanced path
158 searching features in more recent versions of
160 and worked towards fully integrating \*(MP into the canonical Unix
162 .\"=====================================================================
164 The MetaPost home page is http://tug.org/metapost.