1MPTOPDF(1) ConTeXt MPTOPDF(1)
2
3
4
6 mptopdf - convert MetaPost to PDF
7
8
10 mptopdf FILE [ ... ]
11
12
14 mptopdf can convert MetaPost-generated EPS files to PDF, or it can
15 process a MetaPost source file directly (see mpost(1)) and convert the
16 generated EPS files to PDF.
17
18
20 All switches are specified in full here but can be abbreviated to the
21 shortest unique prefix. Thus, --metaf works the same as --metafun.
22
23 --help Print a terse help message.
24
25 --metafun
26 Use the metafun pre-compiled format to process the MetaPost
27 source file. You usually don't need this option, since metafun
28 input is usually produced and processed as part of a texexec(1)
29 run. Needs the --rawmp switch to take effect.
30
31 --rawmp
32 Process the source file with mpost(1) directly, rather than with
33 texexec(1). This option is needed if you want to specify
34 --metafun.
35
36 --latex
37 Typeseting labels using latex(1) rather than plain tex(1).
38
39
41 To convert manfig.20 to manfig-20.pdf:
42 mptopdf manfig.20
43
44 You can convert more than one EPS file at once:
45 mptopdf manfig.20 otherfig.17 finalfig.8
46
47 Or you can give mptopdf(1) a pattern that it will expand:
48 mptopdf 'manfig.*'
49 Note the single quotes to protect the * from the shell. Of course,
50 usually you can let the shell do the wildcard expansion and therefore
51 leave off the quotes.
52
53 To convert figs.mp to figs-1.pdf, figs-2.pdf, ...
54 mptopdf figs.mp
55
56 If the labels are typeset with latex(1):
57 mptopdf --latex figs.mp
58
59
61 tex(1), latex(1), mpost(1), pdftex(1), texexec(1).
62
63 ConTeXt wiki ⟨http://www.contextgarden.net⟩.
64
65
67 mptopdf(1) is part of the ConTeXt system by Hans Hagen et al, which is
68 available from PRAGMA ADE ⟨http://www.pragma-ade.com/⟩. This manpage
69 was written by Sanjoy Mahajan <sanjoy@mit.edu> and is in the public
70 domain.
71
72
73
74mptopdf 1.3.2 January 2007 MPTOPDF(1)