| 1 |
.TH "MPTOPDF" "1" "January 2007" "mptopdf 1.3.2" "ConTeXt" |
| 2 |
.de URL |
| 3 |
\\$2 \(laURL: \\$1 \(ra\\$3 |
| 4 |
.. |
| 5 |
.if \n[.g] .mso www.tmac |
| 6 |
.de EX |
| 7 |
.in +3 |
| 8 |
.nf |
| 9 |
.ft CW |
| 10 |
.. |
| 11 |
.de EE |
| 12 |
.in -3 |
| 13 |
.ft R |
| 14 |
.fi |
| 15 |
.. |
| 16 |
|
| 17 |
.SH "NAME" |
| 18 |
mptopdf \- convert MetaPost to PDF |
| 19 |
|
| 20 |
.SH "SYNOPSIS" |
| 21 |
\fBmptopdf\fP \fIFILE\fP [ ... ] |
| 22 |
|
| 23 |
.SH "DESCRIPTION" |
| 24 |
|
| 25 |
\fBmptopdf\fP can convert MetaPost-generated EPS files to PDF, or it |
| 26 |
can process a MetaPost source file directly (see |
| 27 |
.BR mpost (1)) |
| 28 |
and convert the generated EPS files to PDF. |
| 29 |
|
| 30 |
.SH "OPTIONS" |
| 31 |
All switches are specified in full here but can be abbreviated to the |
| 32 |
shortest unique prefix. Thus, \fB--metaf\fP works the same as |
| 33 |
\fB--metafun\fP. |
| 34 |
.IP \fB--help\fP |
| 35 |
Print a terse help message. |
| 36 |
.IP "\fB--metafun\fP" |
| 37 |
Use the metafun pre-compiled format to process the MetaPost source |
| 38 |
file. You usually don't need this option, since metafun input is |
| 39 |
usually produced and processed as part of a |
| 40 |
.BR texexec (1) |
| 41 |
run. Needs the \fB--rawmp\fP switch to take effect. |
| 42 |
.IP \fB--rawmp\fP |
| 43 |
Process the source file with |
| 44 |
.BR mpost (1) |
| 45 |
directly, rather than with |
| 46 |
.BR texexec (1). |
| 47 |
This option is needed if you want to specify \fB--metafun\fP. |
| 48 |
.IP \fB--latex\fP |
| 49 |
Typeseting labels using |
| 50 |
.BR latex (1) |
| 51 |
rather than plain |
| 52 |
.BR tex (1). |
| 53 |
|
| 54 |
.SH "USAGE" |
| 55 |
|
| 56 |
To convert \fImanfig.20\fP to \fImanfig-20.pdf\fI: |
| 57 |
.EX |
| 58 |
mptopdf manfig.20 |
| 59 |
.EE |
| 60 |
|
| 61 |
You can convert more than one EPS file at once: |
| 62 |
.EX |
| 63 |
mptopdf manfig.20 otherfig.17 finalfig.8 |
| 64 |
.EE |
| 65 |
|
| 66 |
Or you can give |
| 67 |
.BR mptopdf (1) |
| 68 |
a pattern that it will expand: |
| 69 |
.EX |
| 70 |
mptopdf 'manfig.*' |
| 71 |
.EE |
| 72 |
Note the single quotes to protect the * from the shell. Of course, |
| 73 |
usually you can let the shell do the wildcard expansion and therefore |
| 74 |
leave off the quotes. |
| 75 |
|
| 76 |
To convert |
| 77 |
.I figs.mp |
| 78 |
to \fIfigs-1.pdf\fP, \fIfigs-2.pdf\fP, ... |
| 79 |
.EX |
| 80 |
mptopdf figs.mp |
| 81 |
.EE |
| 82 |
|
| 83 |
If the labels are typeset with |
| 84 |
.BR latex (1): |
| 85 |
.EX |
| 86 |
mptopdf --latex figs.mp |
| 87 |
.EE |
| 88 |
|
| 89 |
.SH "SEE ALSO" |
| 90 |
.IP \(bu |
| 91 |
.BR tex (1), |
| 92 |
.BR latex (1), |
| 93 |
.BR mpost (1), |
| 94 |
.BR texexec (1). |
| 95 |
.IP \(bu |
| 96 |
.URL "http://www.contextgarden.net" "ConTeXt wiki" . |
| 97 |
|
| 98 |
.SH "AUTHOR" |
| 99 |
.BR mptopdf (1) |
| 100 |
is part of the ConTeXt package available from |
| 101 |
.URL "http://www.pragma-ade.com/dir/general/manuals/" "PRAGMA ADE" . |
| 102 |
This manpage was written by Sanjoy Mahajan <[email protected]> and is in |
| 103 |
the public domain. |