gotcha

Author Topic: LaTeX formula is not rendered  (Read 2302 times)

July 21, 2017, 06:12:44 PM
Read 2302 times

fabioonier

  • Newbie

  • Offline
  • *

  • 1
Hello, everybody.  My name is Fabio Osorio, I'm from Colombia and I'm using Inkscape for several years.

I need to edit several figures made by LaTeX and I have to edit serveral LaTeX formulae.  I got this error when I use Render->LaTeX for twice in a same sesion (sesion in Inkscape)

Traceback (most recent call last):
  File "eqtexsvg.py", line 160, in <module>
    e.affect()
  File "/usr/share/inkscape/extensions/inkex.py", line 264, in affect
    self.parse()
  File "/usr/share/inkscape/extensions/inkex.py", line 187, in parse
    self.document = etree.parse(stream, parser=p)
  File "src/lxml/lxml.etree.pyx", line 3427, in lxml.etree.parse (src/lxml/lxml.etree.c:79840)
  File "src/lxml/parser.pxi", line 1814, in lxml.etree._parseDocument (src/lxml/lxml.etree.c:116442)
  File "src/lxml/parser.pxi", line 1834, in lxml.etree._parseFilelikeDocument (src/lxml/lxml.etree.c:116734)
  File "src/lxml/parser.pxi", line 1729, in lxml.etree._parseDocFromFilelike (src/lxml/lxml.etree.c:115495)
  File "src/lxml/parser.pxi", line 1150, in lxml.etree._BaseParser._parseDocFromFilelike (src/lxml/lxml.etree.c:110369)
  File "src/lxml/parser.pxi", line 584, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:103583)
  File "src/lxml/parser.pxi", line 694, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:105237)
  File "src/lxml/parser.pxi", line 624, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:104146)
lxml.etree.XMLSyntaxError: PCDATA invalid Char value 20, line 175, column 18

What's happening?  When I used render->LaTeX for the first time I had no problem, but when I want to use it for twice I get this error message and the LaTeX formula is not rendered.

How can I solve it?

I'm using Inkscape 0.91 in Opensuse Leap 42.2.  I have TeX Live 2015 installed.

Thanks for your help.