[metapost] Does MetaPost catch on?

luigi scarso luigi.scarso at gmail.com
Tue Sep 7 22:08:05 CEST 2010


On Tue, Sep 7, 2010 at 7:42 PM, Stephan Hennig <mailing_list at arcor.de> wrote:
> I like separating text and graphics better than in-lining graphics into
> document sources.  Is it possible (with ConTeXt) to in-line MetaPost
> graphics into an empty TeX file and compile that into separate graphic files
> with proper bounding box?
something like this?
%%test-mp.tex
\starttext
\startMPpage
pickup pencircle scaled 2pt;
draw (0,0) -- (100,100) ;
draw (0,100) -- (100,0) ;
\stopMPpage
\stoptext

$>context test-mp.tex

>What about SVG output?
Context mkiv and mkii can manage svg with inkscape


-- 
luigi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-mp.pdf
Type: application/pdf
Size: 3074 bytes
Desc: not available
URL: <http://tug.org/pipermail/metapost/attachments/20100907/3766d054/attachment.pdf>


More information about the metapost mailing list