0

I'm trying to import some diagrams I made using Tikz into Inkscape. However, whilst the text displays fine, the symbols seem to change when they are converted into the SVG. Most notably, '-' turns into '<=', among others. I've attached an example below.

I figured it was likely the fonts, but I've made sure to download all the computer modern fonts, and looking at the embedded fonts in the pdf (CMMI10, CMMI7, CMR7, CMSY7), I definitely have all of them -- so I have no idea why they aren't rendering correctly.

I've attached a minimal example:

\documentclass[preview]{standalone}
\begin{document}
$z^\theta_{t-1}$
\end{document}

The correct rendering in texmaker:

Correct Rendering

Incorrect in Inkscape:

Incorrect rendering

Mensch
  • 65,388
as646
  • 1
  • 1
  • I've changed it to be a minimal example now, complete with code. The pdf was generated using texmaker. – as646 Mar 31 '19 at 21:53
  • Which method did you use to compile and input the result? Which operating system? When I try your example with pdflatex in Ubuntu it works fine, even though I don't have the CM fonts installed (Inkscape substitutes with the default sans serif font, which apparently has the theta character and the correct -). You could also try one of the methods at https://superuser.com/questions/315270/generating-svg-from-latex-tikz or https://tex.stackexchange.com/questions/51757/how-can-i-use-tikz-to-make-standalone-svg-graphics or maybe https://stackoverflow.com/a/22407621/. – Marijn Apr 01 '19 at 09:56
  • 1
    I have been using pdflatex in OSX. I ended up getting it working by using the Inkscape "Poppler/Cairo import" versus the Internal import. – as646 Apr 02 '19 at 08:53
  • 2
    If you want you can post your solution as a self-answer below (with a bit of detail, maybe a screenshot), it might help future visitors. – Marijn Apr 02 '19 at 13:22

0 Answers0