textext

General discussions about Inkscape.
peter_cz
Posts: 3
Joined: Wed Jun 10, 2015 1:10 am

textext

Postby peter_cz » Wed Jun 10, 2015 1:15 am

Dears,

I am looking for a way to include LaTex formulas. I am trying to use "textext". unfortunately I am getting this message when I start textext:

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!

Is there any fix for this?

I am running Windows 7 x64 Inkscape 0.91 and python 2.7.

Thank you very much.

Best regards,
Peter

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

Re: textext

Postby brynn » Thu Jun 11, 2015 10:30 am

I'm not familiar with LaTex or that particular extension. But I do see that there's another extension for using LaTex with Inkscape. Maybe would work for you?? https://launchpad.net/inkscape

peter_cz
Posts: 3
Joined: Wed Jun 10, 2015 1:10 am

Re: textext

Postby peter_cz » Thu Jun 11, 2015 8:25 pm

Thanks for link. this extension says:

This extension is work on UNIX-based OS (Linux, FreeBSD, etc.) only.

peter_cz
Posts: 3
Joined: Wed Jun 10, 2015 1:10 am

Re: textext

Postby peter_cz » Thu Jun 11, 2015 9:04 pm

I found some fixing "textext" tips and I use it even if I do not have same Inkscape version

https://laconsigna.wordpress.com/2010/1 ... cape-0-48/

After textext.py modification I am still getting

Traceback (most recent call last):
File "textext.py", line 307, in <module>
raise RuntimeError("Neither pygtk nor Tkinter is available!")
RuntimeError: Neither pygtk nor Tkinter is available!


Return to “General Discussions”