[NTG-context] svg -> png conversion

Peter Münster pmlists at free.fr
Mon Feb 8 14:40:52 CET 2010


How can I convert svg to png on the fly?

I've created a file "test.rlx":

<?xml version='1.0 standalone='yes'?>
    <rl:manipulator name='png' suffix='svg'>
        <rl:old><rl:value name='path'/>/<rl:value name='file'
        <rl:new><rl:value name='path'/>/<rl:value name='prefix'/><rl:value
        name='file' method='nosuffix'/>.png</rl:new>
            inkscape -d 600 -e
            <rl:value name='new'/>
            <rl:value name='old'/>

and a file "test.tex":


But when running context on the file, it tries to convert the svg to pdf.

What do I need to do?

TIA for any hint!
Cheers, Peter

Contact information: http://pmrb.free.fr/contact/

More information about the ntg-context mailing list