Inkscape 0.91 and LaTex

Post questions on how to use or achieve an effect in Inkscape.
Marco
Posts: 4
Joined: Tue May 17, 2016 8:10 pm

Inkscape 0.91 and LaTex

Postby Marco » Tue May 17, 2016 8:24 pm

Hello. There is an extension for Inkscape 0.91, which allows to insert LaTeX formulas? I tried Tex Text, but when I invoke the extension I get this error message:

textext.py:55: DeprecationWarning: the md5 module is deprecated; use hashlib instead

import os, sys, tempfile, traceback, glob, re, md5, copy

Traceback (most recent call last):

File "textext.py", line 306, in <module>

raise RuntimeError("Neither pygtk nor Tkinter is available!")

RuntimeError: Neither pygtk nor Tkinter is available!


I suppose it is a compatible extension with Inkscape versions prior to 0.91. Could you recommend some other solution?

Thanks in advance :)

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Inkscape 0.91 and LaTex

Postby brynn » Wed May 18, 2016 8:22 am

We have been getting this question ever since 0.91 came out. I wish I knew the answer. If anyone knows, I promise to save it and share it :D

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: Inkscape 0.91 and LaTex

Postby Moini » Wed May 18, 2016 8:48 am

Sounds like you should install either pygtk or Tkinter. Both python libraries provide a user interface in python. Not sure if it's possible to use them from inside an extension on Windows, though, as the Inkscape Windows version comes with its own python. The deprecation warning can be ignored, it will not impact the program.
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)


Return to “Help with using Inkscape”