FS#53382 - [inkscape] Latex extention ends with error
Attached to Project:
Arch Linux
Opened by Evgenii Frolov (FroL_Onn) - Monday, 20 March 2017, 10:18 GMT
Last edited by Gaetan Bisson (vesath) - Friday, 14 April 2017, 17:42 GMT
Opened by Evgenii Frolov (FroL_Onn) - Monday, 20 March 2017, 10:18 GMT
Last edited by Gaetan Bisson (vesath) - Friday, 14 April 2017, 17:42 GMT
|
Details
Description:
One may render latex a formula in inkscape. For this one needs to have texlive and pstoedit installed. The latex extention does not work. It finishes with an error: 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/lxml.etree.pyx", line 3427, in lxml.etree.parse (src/lxml/lxml.etree.c:81117) File "src/lxml/parser.pxi", line 1811, in lxml.etree._parseDocument (src/lxml/lxml.etree.c:117848) File "src/lxml/parser.pxi", line 1837, in lxml.etree._parseDocumentFromURL (src/lxml/lxml.etree.c:118195) File "src/lxml/parser.pxi", line 1741, in lxml.etree._parseDocFromFile (src/lxml/lxml.etree.c:117107) File "src/lxml/parser.pxi", line 1138, in lxml.etree._BaseParser._parseDocFromFile (src/lxml/lxml.etree.c:111653) File "src/lxml/parser.pxi", line 595, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:105109) File "src/lxml/parser.pxi", line 706, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:106817) File "src/lxml/parser.pxi", line 635, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:105671) File "/tmp/inkscape-HqOPrw/eq.svg", line 1 lxml.etree.XMLSyntaxError: Document is empty, line 1, column 1 Additional info: * inkscape is extra/inkscape 0.92.1-1 * extra/pstoedit 3.70-5 * texlive-most is installed * config and/or log files etc. Steps to reproduce: 1. install inkscape, texlive-most and pstoedit 2. in a new inkscape document go to 'Extensions -> Render -> LaTeX' 3. try to render a latex formula (e.g. $2+2=4$) Expected behaviour: the formula appears in the inkscape document Actual behaviour: An error message (listed above) appears. |
This task depends upon
Comment by Gaetan Bisson (vesath) -
Thursday, 23 March 2017, 08:46 GMT
Could you please report this upstream and ask if it's been tested
to work with texlive-2016?
Comment by Gaetan Bisson (vesath) -
Friday, 14 April 2017, 06:22 GMT
Any news on this? If nobody's interested in looking into this bug,
I'll just close this report.
Comment by AK (Andreaskem) -
Friday, 14 April 2017, 09:42 GMT
I had all this stuff installed anyway, so I just tried to
reproduce the error. For me, there do not seem to be any problems
rendering LaTeX in Inkscape. After clicking "Apply", the formula
appears in the document and looks correct.
Comment by
Evgenii Frolov (FroL_Onn) - Friday,
14 April 2017, 12:24 GMT
If nobody can reproduce it, I am afraid some problem was on my
side (though I've had a fresh install). Should we wait for more
feedback or it is time to close the bug?
Comment by Gaetan Bisson (vesath) -
Friday, 14 April 2017, 17:42 GMT
At any rate you should seek to resolve this upstream but it
definitely does not look like a packaging bug. Cheers.