SVG

From Wiki
Revision as of 11:22, 11 May 2012 by Mæstro (talk | contribs) (InkScape > Inkscape)
Jump to navigation Jump to search

< Graphics | Using_Graphics | MetaPost | File_Formats >

SVG (Scalable Vector Graphics, a XML based format) can be converted to the PDF format at runtime by ConTeXt MkIV (LuaTeX), provided you have Inkscape installed as below.

Supported vector graphics formats of MkII/MKIV are 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)

General information on SVG:

Specs and References

Tutorials and Examples

Community

Libraries and Tools