FS#56230 - [pstoedit] [ghostscript] [inkscape] Latex rendering in ghostscript 9.22-1: -dDELAYBIND
Attached to Project:
Arch Linux
Opened by Nick (aristocrates) - Saturday, 04 November 2017, 04:54 GMT
Last edited by Doug Newgard (Scimmia) - Saturday, 04 November 2017, 05:00 GMT
Opened by Nick (aristocrates) - Saturday, 04 November 2017, 04:54 GMT
Last edited by Doug Newgard (Scimmia) - Saturday, 04 November 2017, 05:00 GMT
|
Details
Description: When attempting to add a Latex equation to a
project in inkscape, an error occurs and no output is
produced.
Additional info: * package versions: inkscape-0.92.2-5, ghostscript-9.22-1, pstoedit-3.70-6 In ghostscript-9.22-1, the -dDELAYBIND flag has been deprecated, and the use of this flag will result in an error; because inkscape uses pstoedit to implement Latex input, and because pstoedit calls Ghostscript with the -dDELAYBIND flag, this error prevents Latex text from being rendered in inkscape through the Extensions -> Render -> LaTeX. Steps to reproduce: 1. Install inkscape 2. Install dependencies to enable the Extensions -> Render -> LaTeX menu (pstoedit and ghostscript) 3. Ensure that ghostscript is at version 9.22-1 4. Open inkscape, click on menu Extensions -> Render -> LaTeX... 5. Attempt to render Latex code (i.e. type $\tau$ and click Apply) Workaround: Downgrading to ghostscript-9.21-3 removes the issue Error message (in popup): *** WARNING - the DELAYBIND command has been deprecated, and will be removed in the next version. For now you can restore the behaviour by using -dREALLYDEALYBIND but if you require continued use of this command you should contact the Ghostscript developers. Commercial customers of Artifex should email their support contact, free users are encouraged to talk to us on the #ghostscript IRC channel on irc.freenode.net. Unrecoverable error: undefined in DELAYBIND PostScript/PDF Interpreter finished. Return status 65280 executed command : /usr/bin/gs -q -dDELAYBIND -dWRITESYSTEMDICT -dNODISPLAY -dNOEPS "/tmp/psinSiRV2Q" 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 3444, in lxml.etree.parse (src/lxml/etree.c:83170) File "src/lxml/parser.pxi", line 1834, in lxml.etree._parseDocument (src/lxml/etree.c:120742) File "src/lxml/parser.pxi", line 1860, in lxml.etree._parseDocumentFromURL (src/lxml/etree.c:121089) File "src/lxml/parser.pxi", line 1764, in lxml.etree._parseDocFromFile (src/lxml/etree.c:119997) File "src/lxml/parser.pxi", line 1161, in lxml.etree._BaseParser._parseDocFromFile (src/lxml/etree.c:114546) File "src/lxml/parser.pxi", line 598, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/etree.c:107723) File "src/lxml/parser.pxi", line 709, in lxml.etree._handleParseResult (src/lxml/etree.c:109432) File "src/lxml/parser.pxi", line 638, in lxml.etree._raiseParseError (src/lxml/etree.c:108286) File "/tmp/inkscape-XKs3ng/eq.svg", line 1 lxml.etree.XMLSyntaxError: Document is empty, line 1, column 1 |
This task depends upon
Closed by Doug Newgard (Scimmia)
Saturday, 04 November 2017, 05:00 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#56202
Saturday, 04 November 2017, 05:00 GMT
Reason for closing: Duplicate
Additional comments about closing: