Difference between revisions of "SVG"
Jump to navigation
Jump to search
Tea.wanderer (talk | contribs) m (clarification from mailing list) |
m (InkScape > Inkscape) |
||
Line 1: | Line 1: | ||
< [[Graphics]] | [[Using_Graphics]] | [[MetaPost]] | [[File_Formats]] > | < [[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 | + | 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 | + | Supported vector graphics formats of MkII/MKIV are [[MetaPost]] (and [[MetaFun]]). |
− | There is a workaround, though, using | + | There is a workaround, though, using Inkscape to convert SVG to PDF. Inkscape must be installed and callable (i.e. in your PATH): |
<texcode> | <texcode> | ||
Line 37: | Line 37: | ||
===Libraries and Tools=== | ===Libraries and Tools=== | ||
− | * [http://inkscape.org/ | + | * [http://inkscape.org/ Inkscape vector graphics editor] |
* [http://xmlgraphics.apache.org/batik/ Batik Java SVG Toolkit] (by Apache) | * [http://xmlgraphics.apache.org/batik/ Batik Java SVG Toolkit] (by Apache) | ||
* [http://cairographics.org Cairo graphics library] | * [http://cairographics.org Cairo graphics library] |
Revision as of 11:22, 11 May 2012
< 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)
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)