LaTeX rendering in Inkscape and Python 3.4
I need to insert a LaTeX formula into my picture. To achieve this, I do Extensions --> Render --> LaTeX... In the appeared window I type $a + b = c$ and press Apply. A window with message "'LaTeX' working, please wait..." appears. Then, the second window with message about error arises. The message is the following:
Traceback (most recent call last):
File "eqtexsvg.py", line 160, in <module>
e.affect()
File "/usr/local/
self.output()
File "/usr/local/
self.
File "src/lxml/
File "src/lxml/
File "src/lxml/
File "src/lxml/
TypeError: must be str, not bytes
I have changed
self.document.
to
self.document.
in the 272-th line of inkex.py, but after this the following error is obtained,
Traceback (most recent call last):
File "eqtexsvg.py", line 160, in <module>
e.affect()
File "/usr/local/
self.output()
File "/usr/local/
self.
File "src/lxml/
File "src/lxml/
File "src/lxml/
File "src/lxml/
PermissionError: [Errno 13] Permission denied
I don't know what to do with this error, I don't have a lot of experience in Python.
My system information:
# lsb_release -idrc && echo Kernel Release: `uname -r`
Distributor ID: SUSE LINUX
Description: openSUSE Leap 42.1 (x86_64)
Release: 42.1
Codename: n/a
Kernel Release: 4.1.36-44-default
# inkscape --version
Inkscape 0.92.1pre1 r15355
# python --version
Python 3.4.5
Is this something wrong in Inkscape or should I fix something at my system?
Thank you in advance.
Regards, Natalia
Before installation of Inkscape 0.92 I used Inkscape 0.91. It worked perfectly with Python 2.7. Then I needed update Python to version 3.4. After this update LaTeX in Inkscape stopped to work. Error messages told about wrong syntax. I fixed some errors and arrived to the same errors as I have already described for 0.92-th version of Inkscape.
Question information
- Language:
- English Edit question
- Status:
- Invalid
- For:
- Inkscape Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- johnc
- Solved:
- Last query:
- Last reply: