Comment 0 for bug 719320

Revision history for this message
Jonas T. (jo-t) wrote :

affects inkscape 0.48.

when using "save as" -> "eps" -> "eps + latex" to export a svg drawing, the resulting tex file can not be compiled if the text contains one of the following characters:
- "{" , "}"
- underscore ("_")
- 2 or more successive newline/carriage return characters (CR/LF)

reproduce: open the attached files in inkscape 0.48, save a copy as EPS, using LaTex text export. try to include the exported graphic using the recommended way:

        \def\svgwidth{\columnwidth} % sets the image width, this is optional
        \input{drawing.eps_tex} % includes the tex+eps files

inkscape latex export should probably check the input text for sanity, such that problematic characters are escaped/encoded differently.