NEW: LaTeX export for PDF/EPS/PS
Hello all,
For all who use LaTeX, please read the text below from the Release Notes 0.48. Or read http://wiki.inkscape.org/wiki/images/SVG_in_LaTeX.pdf . (the new feature will be available in development test builds from this evening on)
===New LaTeX export for PDF/EPS/PS===
Similar to GNUPlot's `epslatex' output terminal, Inkscape can now export graphics to PDF with an accompanying LaTeX file that overlays the text over the PDF when inputted in LaTeX. The image's text is typeset by LaTeX, so for example mathematical expressions are rendered correctly, and all text will be in the font and style of the LaTeX document (even when changing the document's font afterwards).
''(the following description assumes export to PDF, but will work the same for EPS and PS)'' Two files will be created: a PDF file containing all graphics, without text; and a LaTeX file with the same name, containing all text, and code to include the PDF and overlay the text. To include the exported image in LaTeX, one writes
\begin{figure} \centering \def\svgwidth{\columnwidth} % sets the image width, this is optional \input{image.tex} \end{figure}
A more thorough description of how to use the new feature (and automate the exporting/inclusion of the image in LaTeX) is given in this PDF: http://wiki.inkscape.org/wiki/images/SVG_in_LaTeX.pdf
====From the GUI==== When exporting to PDF/EPS/PS from Inkscape's GUI, the usual dialog pops up after selecting to which PDF/EPS/PS file to export to. In this dialog, you can find the PDF/EPS/PS+LaTeX option.
====Command line option==== When exporting to PDF/EPS/PS from the command line, adding --export-latex will turn the LaTeX export on. For example
inkscape image.svg -z -D --export-pdf=image.pdf --export-latex
Cheers! Johan Engelen
participants (1)
-
unknown@example.com