SVG

From ConTeXt wiki

Jump to: navigation, search

< Graphics | Using_Graphics | MetaPost | File_Formats >

SVG (Scalable Vector Graphics, a XML based format) is not supported natively by ConTeXt. If you need a supported vactor graphics format, try MetaPost (and MetaFun).

There is a workaround, though, using InkScape to convert SVG to PDF. Inkscape must be installed and callable (i.e. in your PATH):

\usemodule[res-08] \setups[rl:manipulate]

\setupexternalfigures[location=local,directory=.,conversion=pdf] % lowres,prefix=lowres/]

\starttext

\externalfigure[svg/sample.svg][frame=on]

\stoptext

(Code snippet by Hans Hagen on NTG-context ML at 2008-06-30)

Contents

[edit] General information on SVG:

[edit] Specs and References

[edit] Tutorials and Examples

[edit] Community

[edit] Libraries and Tools

Personal tools
Toolbox