LaTeX rendering fail

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

LaTeX rendering fail

Jakob Peder Pettersen
When running the command Extensions->Rendering->LaTeX and typing in any LaTeX expression, I get no output and Inkscape returns:

 *** 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/local/opt/ghostscript/bin/gs -q -dDELAYBIND -dWRITESYSTEMDICT -dNODISPLAY -dNOEPS /var/folders/z_/v0sm2gys3y77640_7m4t99k40000gp/T//psinQuRKci

The interpreter seems to have failed, cannot proceed !

Traceback (most recent call last):
  File "eqtexsvg.py", line 160, in <module>
    e.affect()
  File "/Applications/Inkscape.app/Contents/Resources/share/inkscape/extensions/inkex.py", line 268, 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 "lxml.etree.pyx", line 3299, in lxml.etree.parse (src/lxml/lxml.etree.c:72421)
  File "parser.pxi", line 1791, in lxml.etree._parseDocument (src/lxml/lxml.etree.c:105883)
  File "parser.pxi", line 1817, in lxml.etree._parseDocumentFromURL (src/lxml/lxml.etree.c:106182)
  File "parser.pxi", line 1721, in lxml.etree._parseDocFromFile (src/lxml/lxml.etree.c:105181)
  File "parser.pxi", line 1122, in lxml.etree._BaseParser._parseDocFromFile (src/lxml/lxml.etree.c:100131)
  File "parser.pxi", line 580, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:94254)
  File "parser.pxi", line 690, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:95690)
  File "parser.pxi", line 620, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:94757)
lxml.etree.XMLSyntaxError: Document is empty, line 1, column 1

Using the extension Tex Text yields a similar error:

Traceback (most recent call last):
  File "textext.py", line 210, in cb_ok
    self.callback(self.text, self.preamble_file, self.scale_factor)
  File "textext.py", line 369, in <lambda>
    converter_cls, old_node))
  File "textext.py", line 387, in do_convert
    new_node = converter.convert(text, preamble_file, scale_factor)
  File "textext.py", line 751, in convert
    self.pdf_to_svg()
  File "textext.py", line 849, in pdf_to_svg
    + pstoeditOpts)
  File "textext.py", line 596, in exec_command
    % (' '.join(cmd), p.returncode, out + err))
RuntimeError: Command pstoedit -f plot-svg /var/folders/z_/v0sm2gys3y77640_7m4t99k40000gp/T/tmpAZUsxB/tmp.pdf /var/folders/z_/v0sm2gys3y77640_7m4t99k40000gp/T/tmpAZUsxB/tmp.svg -dt -ssp -psarg -r9600x9600 failed (code 1): pstoedit: version 3.70 / DLL interface 108 (built: Sep 16 2017 - release build - g++ 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.37) - 64-bit) : Copyright (C) 1993 - 2014 Wolfgang Glunz

 *** 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/local/opt/ghostscript/bin/gs -q -dDELAYBIND -dWRITESYSTEMDICT -dNODISPLAY -dNOEPS -r9600x9600 /var/folders/z_/v0sm2gys3y77640_7m4t99k40000gp/T//psinu3vxOs
The interpreter seems to have failed, cannot proceed !

I suspect this is a bug in the respective Inkscape extensions for LaTeX output.

System information:
macOS 10.13.3
Inkscape 0.91
pdfTeX 3.14159265-2.6-1.40.16 (TeX Live 2015)
dvips(k) 5.995
pstoedit: version 3.70 / DLL interface 108 (built: Sep 16 2017 - release build - g++ 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.37) - 64-bit)


Best regards
Jakob Peder Pettersen

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Inkscape-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/inkscape-devel
Reply | Threaded
Open this post in threaded view
|

Re: LaTeX rendering fail

Maren Hachmann
Hi Jakob,

please wait a couple of days and try this again with Inkscape 0.92.3
which will hopefully be officially released this week. It fixes lots of
issues (just like the versions you missed in between).

If then it still doesn't work, please get back to us or open a bug
report at https://bugs.launchpad.net/inkscape

Note: please read the MacOS installation instructions carefully then, to
get the most out of your Inkscape install (esp. important for keyboard
shortcuts and copy-pasting).

Maren

Am 16.03.2018 um 15:01 schrieb Jakob Peder Pettersen:

> When running the command Extensions->Rendering->LaTeX and typing in any
> LaTeX expression, I get no output and Inkscape returns:
>
>  *** 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 <http://irc.freenode.net>.
>
>
>
> Unrecoverable error: undefined in DELAYBIND
>
> PostScript/PDF Interpreter finished. Return status 65280 executed
> command : /usr/local/opt/ghostscript/bin/gs -q -dDELAYBIND
> -dWRITESYSTEMDICT -dNODISPLAY -dNOEPS
> /var/folders/z_/v0sm2gys3y77640_7m4t99k40000gp/T//psinQuRKci
>
> The interpreter seems to have failed, cannot proceed !
>
> Traceback (most recent call last):
>   File "eqtexsvg.py", line 160, in <module>
>     e.affect()
>   File
> "/Applications/Inkscape.app/Contents/Resources/share/inkscape/extensions/inkex.py",
> line 268, 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 "lxml.etree.pyx", line 3299, in lxml.etree.parse
> (src/lxml/lxml.etree.c:72421)
>   File "parser.pxi", line 1791, in lxml.etree._parseDocument
> (src/lxml/lxml.etree.c:105883)
>   File "parser.pxi", line 1817, in lxml.etree._parseDocumentFromURL
> (src/lxml/lxml.etree.c:106182)
>   File "parser.pxi", line 1721, in lxml.etree._parseDocFromFile
> (src/lxml/lxml.etree.c:105181)
>   File "parser.pxi", line 1122, in
> lxml.etree._BaseParser._parseDocFromFile (src/lxml/lxml.etree.c:100131)
>   File "parser.pxi", line 580, in
> lxml.etree._ParserContext._handleParseResultDoc
> (src/lxml/lxml.etree.c:94254)
>   File "parser.pxi", line 690, in lxml.etree._handleParseResult
> (src/lxml/lxml.etree.c:95690)
>   File "parser.pxi", line 620, in lxml.etree._raiseParseError
> (src/lxml/lxml.etree.c:94757)
> lxml.etree.XMLSyntaxError: Document is empty, line 1, column 1
>
> Using the extension Tex Text yields a similar error:
>
> Traceback (most recent call last):
>   File "textext.py", line 210, in cb_ok
>     self.callback(self.text, self.preamble_file, self.scale_factor)
>   File "textext.py", line 369, in <lambda>
>     converter_cls, old_node))
>   File "textext.py", line 387, in do_convert
>     new_node = converter.convert(text, preamble_file, scale_factor)
>   File "textext.py", line 751, in convert
>     self.pdf_to_svg()
>   File "textext.py", line 849, in pdf_to_svg
>     + pstoeditOpts)
>   File "textext.py", line 596, in exec_command
>     % (' '.join(cmd), p.returncode, out + err))
> RuntimeError: Command pstoedit -f plot-svg
> /var/folders/z_/v0sm2gys3y77640_7m4t99k40000gp/T/tmpAZUsxB/tmp.pdf
> /var/folders/z_/v0sm2gys3y77640_7m4t99k40000gp/T/tmpAZUsxB/tmp.svg -dt
> -ssp -psarg -r9600x9600 failed (code 1): pstoedit: version 3.70 / DLL
> interface 108 (built: Sep 16 2017 - release build - g++ 4.2.1 Compatible
> Apple LLVM 9.0.0 (clang-900.0.37) - 64-bit) : Copyright (C) 1993 - 2014
> Wolfgang Glunz
>
>  *** 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 <http://irc.freenode.net>.
>
> Unrecoverable error: undefined in DELAYBIND
> PostScript/PDF Interpreter finished. Return status 65280 executed
> command : /usr/local/opt/ghostscript/bin/gs -q -dDELAYBIND
> -dWRITESYSTEMDICT -dNODISPLAY -dNOEPS -r9600x9600
> /var/folders/z_/v0sm2gys3y77640_7m4t99k40000gp/T//psinu3vxOs
> The interpreter seems to have failed, cannot proceed !
>
> I suspect this is a bug in the respective Inkscape extensions for LaTeX
> output.
>
> System information:
> macOS 10.13.3
> Inkscape 0.91
> pdfTeX 3.14159265-2.6-1.40.16 (TeX Live 2015)
> dvips(k) 5.995
> pstoedit: version 3.70 / DLL interface 108 (built: Sep 16 2017 - release
> build - g++ 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.37) - 64-bit)
>
>
> Best regards
> Jakob Peder Pettersen
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>
>
>
> _______________________________________________
> Inkscape-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/inkscape-devel
>


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Inkscape-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/inkscape-devel
Reply | Threaded
Open this post in threaded view
|

Re: LaTeX rendering fail

Maren Hachmann
Hi again, Jakob,

sorry, I missed to give you some important info:
the macOS version for Inkscape 0.92.3 will probably either be delayed or
maybe won't be available at all, as the packager can't currently work on it.

Can you try if 0.92.2 already helps? We might be able to help you do the
remaining fixes manually, by exchanging the extension files for the
updated ones (should not be difficult to do, hopefully).

Regards,
 Maren


Am 16.03.2018 um 15:21 schrieb Maren Hachmann:

> Hi Jakob,
>
> please wait a couple of days and try this again with Inkscape 0.92.3
> which will hopefully be officially released this week. It fixes lots of
> issues (just like the versions you missed in between).
>
> If then it still doesn't work, please get back to us or open a bug
> report at https://bugs.launchpad.net/inkscape
>
> Note: please read the MacOS installation instructions carefully then, to
> get the most out of your Inkscape install (esp. important for keyboard
> shortcuts and copy-pasting).
>
> Maren
>
> Am 16.03.2018 um 15:01 schrieb Jakob Peder Pettersen:
>> When running the command Extensions->Rendering->LaTeX and typing in any
>> LaTeX expression, I get no output and Inkscape returns:
>>
>>  *** 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 <http://irc.freenode.net>.
>>
>>
>>
>> Unrecoverable error: undefined in DELAYBIND
>>
>> PostScript/PDF Interpreter finished. Return status 65280 executed
>> command : /usr/local/opt/ghostscript/bin/gs -q -dDELAYBIND
>> -dWRITESYSTEMDICT -dNODISPLAY -dNOEPS
>> /var/folders/z_/v0sm2gys3y77640_7m4t99k40000gp/T//psinQuRKci
>>
>> The interpreter seems to have failed, cannot proceed !
>>
>> Traceback (most recent call last):
>>   File "eqtexsvg.py", line 160, in <module>
>>     e.affect()
>>   File
>> "/Applications/Inkscape.app/Contents/Resources/share/inkscape/extensions/inkex.py",
>> line 268, 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 "lxml.etree.pyx", line 3299, in lxml.etree.parse
>> (src/lxml/lxml.etree.c:72421)
>>   File "parser.pxi", line 1791, in lxml.etree._parseDocument
>> (src/lxml/lxml.etree.c:105883)
>>   File "parser.pxi", line 1817, in lxml.etree._parseDocumentFromURL
>> (src/lxml/lxml.etree.c:106182)
>>   File "parser.pxi", line 1721, in lxml.etree._parseDocFromFile
>> (src/lxml/lxml.etree.c:105181)
>>   File "parser.pxi", line 1122, in
>> lxml.etree._BaseParser._parseDocFromFile (src/lxml/lxml.etree.c:100131)
>>   File "parser.pxi", line 580, in
>> lxml.etree._ParserContext._handleParseResultDoc
>> (src/lxml/lxml.etree.c:94254)
>>   File "parser.pxi", line 690, in lxml.etree._handleParseResult
>> (src/lxml/lxml.etree.c:95690)
>>   File "parser.pxi", line 620, in lxml.etree._raiseParseError
>> (src/lxml/lxml.etree.c:94757)
>> lxml.etree.XMLSyntaxError: Document is empty, line 1, column 1
>>
>> Using the extension Tex Text yields a similar error:
>>
>> Traceback (most recent call last):
>>   File "textext.py", line 210, in cb_ok
>>     self.callback(self.text, self.preamble_file, self.scale_factor)
>>   File "textext.py", line 369, in <lambda>
>>     converter_cls, old_node))
>>   File "textext.py", line 387, in do_convert
>>     new_node = converter.convert(text, preamble_file, scale_factor)
>>   File "textext.py", line 751, in convert
>>     self.pdf_to_svg()
>>   File "textext.py", line 849, in pdf_to_svg
>>     + pstoeditOpts)
>>   File "textext.py", line 596, in exec_command
>>     % (' '.join(cmd), p.returncode, out + err))
>> RuntimeError: Command pstoedit -f plot-svg
>> /var/folders/z_/v0sm2gys3y77640_7m4t99k40000gp/T/tmpAZUsxB/tmp.pdf
>> /var/folders/z_/v0sm2gys3y77640_7m4t99k40000gp/T/tmpAZUsxB/tmp.svg -dt
>> -ssp -psarg -r9600x9600 failed (code 1): pstoedit: version 3.70 / DLL
>> interface 108 (built: Sep 16 2017 - release build - g++ 4.2.1 Compatible
>> Apple LLVM 9.0.0 (clang-900.0.37) - 64-bit) : Copyright (C) 1993 - 2014
>> Wolfgang Glunz
>>
>>  *** 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 <http://irc.freenode.net>.
>>
>> Unrecoverable error: undefined in DELAYBIND
>> PostScript/PDF Interpreter finished. Return status 65280 executed
>> command : /usr/local/opt/ghostscript/bin/gs -q -dDELAYBIND
>> -dWRITESYSTEMDICT -dNODISPLAY -dNOEPS -r9600x9600
>> /var/folders/z_/v0sm2gys3y77640_7m4t99k40000gp/T//psinu3vxOs
>> The interpreter seems to have failed, cannot proceed !
>>
>> I suspect this is a bug in the respective Inkscape extensions for LaTeX
>> output.
>>
>> System information:
>> macOS 10.13.3
>> Inkscape 0.91
>> pdfTeX 3.14159265-2.6-1.40.16 (TeX Live 2015)
>> dvips(k) 5.995
>> pstoedit: version 3.70 / DLL interface 108 (built: Sep 16 2017 - release
>> build - g++ 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.37) - 64-bit)
>>
>>
>> Best regards
>> Jakob Peder Pettersen
>>
>>
>> ------------------------------------------------------------------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>
>>
>>
>> _______________________________________________
>> Inkscape-devel mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/inkscape-devel
>>
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Inkscape-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/inkscape-devel
>


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Inkscape-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/inkscape-devel