From 3eef247874e9926d5c919231a02da4da69f7c625 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 7 Jan 2007 23:48:30 +0000 Subject: new mptopdf.man from sanjoy git-svn-id: svn://tug.org/texlive/trunk@3221 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/tetex/Makefile.in | 2 +- Build/source/texk/tetex/context/ctxtools.man | 22 ++++-- Build/source/texk/tetex/context/mptopdf.man | 103 +++++++++++++++++++++++++++ 3 files changed, 120 insertions(+), 7 deletions(-) create mode 100644 Build/source/texk/tetex/context/mptopdf.man diff --git a/Build/source/texk/tetex/Makefile.in b/Build/source/texk/tetex/Makefile.in index a0ed27fa317..8b023dd4f35 100644 --- a/Build/source/texk/tetex/Makefile.in +++ b/Build/source/texk/tetex/Makefile.in @@ -21,7 +21,7 @@ CONTEXTSCRIPTS = \ textools texutil tmftools xmltools contextmanpgs = \ - ctxtools makempy pstopdf texfind texmfstart \ + ctxtools makempy mptopdf pstopdf texfind texmfstart \ fdf2tex pdftools texexec texfont texutil manpgs = \ diff --git a/Build/source/texk/tetex/context/ctxtools.man b/Build/source/texk/tetex/context/ctxtools.man index f855debb654..eb6d703a544 100644 --- a/Build/source/texk/tetex/context/ctxtools.man +++ b/Build/source/texk/tetex/context/ctxtools.man @@ -12,7 +12,7 @@ .ft R .fi .. -.TH CTXTOOLS "1" "December 2006" "ctxtools 1.3" "ConTeXt" +.TH CTXTOOLS "1" "January 2007" "ctxtools 1.3.3" "ConTeXt" .SH NAME ctxtools \- clean up temporary ConTeXt files, install latest ConTeXt @@ -23,8 +23,6 @@ ctxtools \- clean up temporary ConTeXt files, install latest ConTeXt .SH DESCRIPTION \fBctxtools\fP is useful for dealing with ConTeXt source and generated files and for installing new versions of ConTeXt. -Many of its options are -not documented here (since I don't understand what they do). .SH "OPTIONS" .TP @@ -33,14 +31,19 @@ Print the available options. .TP .B --purgefiles Get rid of many temporary files generated by ConTeXt. You can give the -.TP .B --all option to remove a larger fraction of those files, and the -.TP .B --recurse option to remove these files also in subdirectories. .TP +.B --contextversion +Show the date of the ConTeXt macros and the format file. Useful after +upgrading ConTeXt (perhaps using \fB--updatecontext\fP) to check +whether the new formats and macros are visible to the TeX path +searches (see +.BR kpsewhich (1). +.TP .B --updatecontext Download the latest ConTeXt distribution and install it in the TEXMFLOCAL tree (see @@ -61,6 +64,10 @@ TEXMFLOCAL=$HOME/texmf ctxtools --updatecontext Generate a \fI.ted\fP file from the source file. See also the \fB--module\fP option to .BR texexec (1). +.TP +\fB--patternfiles\fP [languagecode] +Generate pattern files. You can also give the +\fB--all\fP, \fB--xml\fP, and \fB--utf8\fP options. .SH "ENVIRONMENT" .TP @@ -74,6 +81,9 @@ Used by \f(CW--updatecontext\fP to decide where to install the distribution. .IP \(bu .URL "http://www.contextgarden.net" "ConTeXt wiki" . +.SH BUGS +This manual page is not complete. + .SH "AUTHOR" -This (incomplete) manual page was written by Sanjoy Mahajan. It is in +This manual page was written by Sanjoy Mahajan . It is in the public domain. diff --git a/Build/source/texk/tetex/context/mptopdf.man b/Build/source/texk/tetex/context/mptopdf.man new file mode 100644 index 00000000000..6977b078da0 --- /dev/null +++ b/Build/source/texk/tetex/context/mptopdf.man @@ -0,0 +1,103 @@ +.TH "MPTOPDF" "1" "January 2007" "mptopdf 1.3.2" "ConTeXt" +.de URL +\\$2 \(laURL: \\$1 \(ra\\$3 +.. +.if \n[.g] .mso www.tmac +.de EX +.in +3 +.nf +.ft CW +.. +.de EE +.in -3 +.ft R +.fi +.. + +.SH "NAME" +mptopdf \- convert MetaPost to PDF + +.SH "SYNOPSIS" +\fBmptopdf\fP \fIFILE\fP [ ... ] + +.SH "DESCRIPTION" + +\fBmptopdf\fP can convert MetaPost-generated EPS files to PDF, or it +can process a MetaPost source file directly (see +.BR mpost (1)) +and convert the generated EPS files to PDF. + +.SH "OPTIONS" +All switches are specified in full here but can be abbreviated to the +shortest unique prefix. Thus, \fB--metaf\fP works the same as +\fB--metafun\fP. +.IP \fB--help\fP +Print a terse help message. +.IP "\fB--metafun\fP" +Use the metafun pre-compiled format to process the MetaPost source +file. You usually don't need this option, since metafun input is +usually produced and processed as part of a +.BR texexec (1) +run. Needs the \fB--rawmp\fP switch to take effect. +.IP \fB--rawmp\fP +Process the source file with +.BR mpost (1) +directly, rather than with +.BR texexec (1). +This option is needed if you want to specify \fB--metafun\fP. +.IP \fB--latex\fP +Typeseting labels using +.BR latex (1) +rather than plain +.BR tex (1). + +.SH "USAGE" + +To convert \fImanfig.20\fP to \fImanfig-20.pdf\fI: +.EX +mptopdf manfig.20 +.EE + +You can convert more than one EPS file at once: +.EX +mptopdf manfig.20 otherfig.17 finalfig.8 +.EE + +Or you can give +.BR mptopdf (1) +a pattern that it will expand: +.EX +mptopdf 'manfig.*' +.EE +Note the single quotes to protect the * from the shell. Of course, +usually you can let the shell do the wildcard expansion and therefore +leave off the quotes. + +To convert +.I figs.mp +to \fIfigs-1.pdf\fP, \fIfigs-2.pdf\fP, ... +.EX +mptopdf figs.mp +.EE + +If the labels are typeset with +.BR latex (1): +.EX +mptopdf --latex figs.mp +.EE + +.SH "SEE ALSO" +.IP \(bu +.BR tex (1), +.BR latex (1), +.BR mpost (1), +.BR texexec (1). +.IP \(bu +.URL "http://www.contextgarden.net" "ConTeXt wiki" . + +.SH "AUTHOR" +.BR mptopdf (1) +is part of the ConTeXt package available from +.URL "http://www.pragma-ade.com/dir/general/manuals/" "PRAGMA ADE" . +This manpage was written by Sanjoy Mahajan and is in +the public domain. -- cgit v1.2.3