Inkscape "PDF + Latex" export

Arlex Marín picture Arlex Marín · Apr 30, 2015 · Viewed 11.4k times · Source

I'm using inkscape to produce vector figures, save them in SVG format to export them later as "PDF + Latex" much in the vein of TUG inkscape+pdflatex guide.

Trying to produce a simple figure, however, turns out to be extremely frustating.

The first figure enter image description here is an example of the figure I would like to export in the form of "PDF + Latex" (shown here in PNG format).

If I export this to a PDF figure without latex macros the PDF produced looks exactly the same, except for some minor differences with the fonts used to render the text.

When I try to export this using the "PDF + Latex" option the PDF file produced consists on a PDF document of 2 pages (again as .png here): enter image description here

This, of course, does not looks good when compiling my latex document. So far the guide at TUG has been very helpful, but I still can't produce a working "PDF + Latex" export from inkscape.

What am I doing wrong?

Answer

rzach picture rzach · Nov 10, 2016

I worked around this by putting all the text in my drawing at the top

select text and then Object -> Raise to top

Inkscape only generates the separate pages if the text is below another object.