Difference between revisions of "SVG"
Jump to navigation
Jump to search
(new) |
(this is commented out) |
||
Line 8: | Line 8: | ||
\usemodule[res-08] \setups[rl:manipulate] | \usemodule[res-08] \setups[rl:manipulate] | ||
− | \setupexternalfigures[location=local,directory=.,conversion=pdf] % | + | \setupexternalfigures[location=local,directory=.,conversion=pdf] % lowres,prefix=lowres/] |
− | lowres,prefix=lowres/] | ||
\starttext | \starttext |
Revision as of 12:29, 3 July 2008
< 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
General information on SVG:
Specs and References
- SVG Standard Specs (by W3C)
- SVG 1.1 reference (by Systinet)
Tutorials and Examples
- Basic SVG: Getting started (by Adobe)
- SVG - learning by coding (by Thomas Meinike)
- Scale a Vector (by Petra Kukofka; also in German)
- Learn SVG
- SVG Developer Knowledgebase (by Adobe)
Community
Libraries and Tools
- InkScape vector graphics editor
- Batik Java SVG Toolkit (by Apache)
- Cairo graphics library
- samples and tools (by Jan Kollhof)