Difference between revisions of "Command/includesvgfile"

From Wiki
Jump to navigation Jump to search
(Created page with "Documentation for \includesvgfile")
 
 
Line 20: Line 20:
 
</cd:variants>
 
</cd:variants>
 
<cd:description>The SVG is processed by ConTeXt via its internal XML processor and converted to Metapost graphic internally that is then included.
 
<cd:description>The SVG is processed by ConTeXt via its internal XML processor and converted to Metapost graphic internally that is then included.
</cd:description>
+
 
 +
You can also include SVG files using {{cmd|externalfigure}}, which offers configuration options.</cd:description>
 
<cd:examples></cd:examples>
 
<cd:examples></cd:examples>
 
<cd:notes></cd:notes>
 
<cd:notes></cd:notes>
Line 26: Line 27:
 
<cd:source file="grph-inc.mkiv" originator="system"></cd:source>
 
<cd:source file="grph-inc.mkiv" originator="system"></cd:source>
 
<cd:wikipage originator="system" page="Category:Graphics"></cd:wikipage>
 
<cd:wikipage originator="system" page="Category:Graphics"></cd:wikipage>
<cd:commandref name="includesvgbuffer"></cd:commandref></cd:seealso>
+
<cd:commandref name="includesvgbuffer"></cd:commandref>
 +
<cd:commandref name="externalfigure"></cd:commandref></cd:seealso>
 
</cd:commandgroup>
 
</cd:commandgroup>

Latest revision as of 13:31, 11 September 2020


\includesvgfile

Summary

The command \includesvgfile is used for including svg files

Settings

\includesvgfile[...][...=...,...]
[...]file
offsetdimension

OptionExplanation
name of the file
adds some offset

Description

The SVG is processed by ConTeXt via its internal XML processor and converted to Metapost graphic internally that is then included.

You can also include SVG files using \externalfigure, which offers configuration options.

Examples

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: