[metapost] mptopdf corrupts source file - Engines.tar.bz2 (1/1)

Oliver Buerschaper oliver.buerschaper at mpq.mpg.de
Sun Jan 17 21:52:25 CET 2010


> just mnake a tex file, say figure-001.tex
> 
> \startMPpage
> %     fill fullcircle scaled 10cm ;
> %     draw textext("test \sl test") ;
>    draw btex test \sl test etex ;
> \stopMPpage
> 
> and run that one
> 
> context figure-001
> 
> this is probably the easiest way

Would then code from within, say beginfig(1) ... endfig; be recognized in later figures? What about definitions outside any beginfig(x) ... endfig; construct? Would they survive a script that wraps each figure code into its own (ConTeXt) file as you suggest?

Oliver


More information about the metapost mailing list