[metapost] mptopdf corrupts source file
Hans Hagen
pragma at wxs.nl
Fri Jan 15 12:38:50 CET 2010
On 15-1-2010 12:17, Oliver Buerschaper wrote:
>> does
>>
>> mptopdf --pdf --latex yourfile.mp
>>
>> work?
>
> Yes, it solves the renaming problem.
>
> However, if my MetaPost file contains
>
> ---
> verbatimtex
> \setupbodyfont[10pt]
> etex
> ---
>
> it doesn't (evidently). In my workflow I need to adjust the font size though and so far the method that has worked best for me is using this ConTeXt syntax.
>
> What do you suggest?
just using context mkiv:
\setupbodyfont[10pt]
\startMPpage
draw btex test \sl test etex
\stopMPpage
as you then get a pdf and can use all of context without any verbatimtex
mess (nor mp environment)
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
More information about the metapost
mailing list