\family sans
-Version 2.2.x
+Version 2.3.x
\end_layout
\begin_layout Standard
\begin_inset space ~
\end_inset
-figure This experimental template supports vector graphics (SVG) images
- that contain text written in \SpecialChar LaTeX
-.
- It relies on the option
+figure This template supports specific scalable images derived from scalable
+ vector graphics (SVG), in which the contained text is replaced by a version
+ typeset by \SpecialChar LaTeX
+ (and hence in the current document font).
+ It relies on a feature of the program
+\series bold
+
+\begin_inset CommandInset href
+LatexCommand href
+name "Inkscape"
+target "https://inkscape.org/"
+literal "false"
+
+\end_inset
+
+
+\series default
+ which creates a special PDF or EPS and \SpecialChar LaTeX
+ file from a given SVG file (in
+
+\noun on
+Inkscape
+\noun default
+ itself, the feature is available via the option
\family sans
Omit text in PDF and create LaTeX file
\family default
- when saving a drawing as PDF with the program
+ when saving a drawing as PDF or EPS).
+ The benefit of such files is a uniform text style throughout the whole
+ document.
+\begin_inset Newline newline
+\end_inset
+
+The external template reads SVG files and uses a converter program to generate
+ the respective PDF\SpecialChar breakableslash
+EPS and \SpecialChar LaTeX
+ files (via
\noun on
+
+\noun default
Inkscape
+\noun on
+)
\noun default
-,
-\begin_inset CommandInset citation
-LatexCommand cite
-key "Inkscape"
-literal "false"
+ on the fly, so you don't have to export those files yourself.
+ If you prefer the latter and want use given
+\family typewriter
+*.pdf
+\family default
+ and
+\family typewriter
+*.pdf_tex
+\family default
+ or
+\family typewriter
+*.eps
+\family default
+ and
+\family typewriter
+*.eps_tex
+\family default
+ files instead, simply input the respective
+\family typewriter
+*.pdf_tex
+\family default
+ or
+\family typewriter
+*.eps_tex
+\family default
+ file via the
+\family sans
+Child Documents
+\family default
+ dialog (see sec.
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Child-Documents"
\end_inset
-.
- This allows to include SVG documents in which \SpecialChar LaTeX
- will typeset the text.
- The benefit of such SVGs is a uniform text style throughout the whole document.
+) rather than using this template.
\begin_inset Newline newline
\end_inset
-One can use \SpecialChar TeX
- code commands like
+You can use \SpecialChar TeX
+ code commands such as
\series bold
\backslash
in the text of the SVG.
The size of the font will be taken from the settings of the \SpecialChar LyX
document.
- Refer to
+ Please refer to
\begin_inset CommandInset citation
LatexCommand cite
key "Inkscape"
\end_inset
for more information and examples.
-\begin_inset Newline newline
-\end_inset
-
-Note that while the image text takes into account the surrounding font,
- its preview in \SpecialChar LyX
- does not.
- Wrapping the external inset in a preview inset (menu
-\family sans
-Insert\SpecialChar menuseparator
-Preview
-\family default
-) gives a better result.
-\begin_inset Newline newline
-\end_inset
-
-The template works very similarly to Xfig support.
- \SpecialChar LyX
- will extract the text in the image into a separate \SpecialChar TeX
- file and creates a
- PDF file for the rest.
\end_layout
\begin_layout Description