From 334f3edd2304915fc8b50a722a56765f41b1a7d5 Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Mon, 30 Aug 2004 00:00:00 +0200 Subject: stable 2004.08.30 --- tex/generic/context/m-metapo.tex | 6 +++--- tex/generic/context/mptopdf.tex | 22 +++++++++++----------- 2 files changed, 14 insertions(+), 14 deletions(-) (limited to 'tex/generic') diff --git a/tex/generic/context/m-metapo.tex b/tex/generic/context/m-metapo.tex index 5a1baa3d3..e54e14682 100644 --- a/tex/generic/context/m-metapo.tex +++ b/tex/generic/context/m-metapo.tex @@ -1,5 +1,5 @@ %D \module -%D [ file=m-metapo, +%D [ filefile=m-metapo, %D version=1999.03.26, %D title=\LATEX\ Modules, %D subtitle=\METAPOST\ Inclusion, @@ -41,7 +41,7 @@ %D An example of using this module is given below: %D -%D \starttypen +%D \starttyping %D \documentclass[10pt]{article} %D %D \usepackage{graphicx} @@ -51,7 +51,7 @@ %D \includeMPgraphics{somefile.1} %D \includeMPgraphics[angle=90]{somefile.2} %D \end{document} -%D \stoptypen +%D \stoptyping %D %D This module needs \type {supp-mps} and \type {supp-mis}, %D that both are present in the \CONTEXT\ path. diff --git a/tex/generic/context/mptopdf.tex b/tex/generic/context/mptopdf.tex index 8929ac1e4..424768bca 100644 --- a/tex/generic/context/mptopdf.tex +++ b/tex/generic/context/mptopdf.tex @@ -1,5 +1,5 @@ %D \module -%D [ file=mptopdf, +%D [ filefile=mptopdf, %D version=2000.03.27, %D title=\METAPOST, %D subtitle=conversion to \PDF, @@ -17,15 +17,15 @@ %D %D First generate a format, which in \WEBC\ looks like: %D -%D \starttypen +%D \starttyping %D pdftex --ini mptopdf -%D \stoptypen +%D \stoptyping %D %D or: %D -%D \starttypen +%D \starttyping %D texexec --make --tex=pdftex --format=mptopdf --alone -%D \stoptypen +%D \stoptyping %D %D Since this conversion only works with \PDFTEX\ or \PDFETEX, %D the session is aborted when another \TEX\ is used. When @@ -34,9 +34,9 @@ %D %D The conversion itself is accomplished by: %D -%D \starttypen +%D \starttyping %D pdftex &mptopdf \relax filename.number -%D \stoptypen +%D \stoptyping %D %D The \type {\relax} is needed since we don't want to process %D the file directly. Instead we pick up the filename using @@ -46,20 +46,20 @@ %D available in the file \type {filename.pdf}. This conversion %D process is roughly compatible with: %D -%D \starttypen +%D \starttyping %D texexec --pdf --fig=c --result=filename filename.number -%D \stoptypen +%D \stoptyping %D %D This uses \CONTEXT, and is therefore slower. Therefore, %D we provide a small \PERL\ script that does a faster job, %D using the minimal format. Given that a format is %D generated, one can say: %D -%D \starttypen +%D \starttyping %D mptopdf somefile %D mptopdf somefile.123 %D mptopdf mp*.* -%D \stoptypen +%D \stoptyping %D %D The results are copied into files named \type %D {somefile-number}. This mechanism will also be available -- cgit v1.2.3