Hello Inkscape community.
I have been using Inkscape to make figures for my research for many years. I upgraded my laptop to the latest stable Ubuntu release (18.04), and now I am unable to render LaTeX formulas with the Render/Latex menu. I get the following error message:
"Unrecoverable error: undefined in DELAYBIND
PostScript/PDF Interpreter finished. Return status 65280 executed command : /usr/bin/gs -q -dDELAYBIND -dWRITESYSTEMDICT -dNODISPLAY -dNOEPS "/tmp/psinr0LGen"
The interpreter seems to have failed, cannot proceed !
Traceback (most recent call last):
File "eqtexsvg.py", line 160, in <module>
e.affect()
File "/usr/share/inkscape/extensions/inkex.py", line 283, in affect
self.effect()
File "eqtexsvg.py", line 154, in effect
svg_open(self, svg_file)
File "eqtexsvg.py", line 81, in svg_open
doc = inkex.etree.parse(filename)
File "src/lxml/etree.pyx", line 3426, in lxml.etree.parse
File "src/lxml/parser.pxi", line 1839, in lxml.etree._parseDocument
File "src/lxml/parser.pxi", line 1865, in lxml.etree._parseDocumentFromURL
File "src/lxml/parser.pxi", line 1769, in lxml.etree._parseDocFromFile
File "src/lxml/parser.pxi", line 1162, in lxml.etree._BaseParser._parseDocFromFile
File "src/lxml/parser.pxi", line 600, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 710, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 639, in lxml.etree._raiseParseError
File "/tmp/inkscape-ggwtNw/eq.svg", line 1
lxml.etree.XMLSyntaxError: Document is empty, line 1, column 1"
I know this is due to pstoedit using a deprecated function of ghostscript. However, I am not a very skilled user of Linux, and I'm unable to downgrade ghostscript since the only packages available through apt-get are version 9.22 (I read 9.21 is the latest GS version without that doesn't show this bug).
Did anyone here encounter this problem, and can indicate me how to solve it? Thank you very much in advance!!