Changes

Jump to navigation Jump to search
1,759 bytes added ,  11:00, 3 July 2008
new
< [[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):

<texcode>
\usemodule[res-08] \setups[rl:manipulate]

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

\starttext

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

\stoptext
</texcode>
(Code snippet by Hans Hagen on NTG-context ML at 2008-06-30)

==General information on SVG:==
===Specs and References===
* [http://www.w3.org/Graphics/SVG/ SVG Standard Specs] (by W3C)
* [http://www.zvon.org/xxl/svgReference/Output/index.html SVG 1.1 reference] (by Systinet)

===Tutorials and Examples===
* [http://www.adobe.com/svg/basics/getstarted.html Basic SVG: Getting started] (by Adobe)
* [http://svglbc.datenverdrahten.de/ SVG - learning by coding] (by Thomas Meinike)
* [http://www.scale-a-vector.de/home-e.htm Scale a Vector] (by Petra Kukofka; also in German)
* [http://learnsvg.com/ Learn SVG]
* [http://support.adobe.com/devsup/devsup.nsf/svgkb.htm?OpenView&Start=1&Count=500&Expand=12#12 SVG Developer Knowledgebase] (by Adobe)

===Community===
* [http://wiki.svg.org/Main_Page SVG Wiki]
* [http://svg.org/ SVG.org community]

===Libraries and Tools===
* [http://inkscape.org/ InkScape vector graphics editor]
* [http://xmlgraphics.apache.org/batik/ Batik Java SVG Toolkit] (by Apache)
* [http://cairographics.org Cairo graphics library]
* [http://jan.kollhof.net/wiki/projects/svg samples and tools] (by Jan Kollhof)

[[Category:Graphics]]

Navigation menu