[NTG-context] Convert SVG to MetaPost

Jon Wong jhannwong at gmail.com
Mon Aug 12 13:33:42 CEST 2019


Hi Taco!

Very enlightening!

I’ll just use both MetaPost and SVG for their intended purposes. (SVG will come from workflow involving GIMP/Inkscape; MetaPost for logical, rather than graphical, figures.)

Regards
Jon


> On Aug 12, 2019, at 7:30 PM, luigi scarso <luigi.scarso at gmail.com> wrote:
> 
> 
> 
> On Mon, Aug 12, 2019 at 12:11 PM Jon Wong <jhannwong at gmail.com <mailto:jhannwong at gmail.com>> wrote:
> Hi all,
> 
> Is it possible to convert SVG to MetaPost?
> 
> Currently, I have Bash scripts in my workflow to invoke Inkscape (converting SVG to PDF). I don’t like to allow shell access to TeX.
> 
> If I can convert SVG to MetaPost, I will gladly Git-track MetaPost files instead of SVG files. That will do away with having to convert SVG into PDF (via Inkscape).
> 
> 
> you can check pstoedit 
> http://www.calvina.de/pstoedit/pstoedit.htm <http://www.calvina.de/pstoedit/pstoedit.htm>
> 
> it can convert postscript to metapost.
> So svg->pdf->ps->mp seems to be possible.
> Of course, I am not sure if it fits in  your workflow.
> 
> -- 
> luigi
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context at ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20190812/479da135/attachment.html>


More information about the ntg-context mailing list