Dateiicon
 
 

3251

WriteTeX

von longqi

An Inkscape extension: Latex/Tex editor for Inkscape, inspired by textext.

This extension uses Inkscape build-in extension system, does not require TK or PyGtk as textext. Live preview feature is supported. You can obtain original TeX source from View Original TeX tab.

Check http://writetex.tk for more detail.

Latest version is in https://github.com/wanglongqi/WriteTeX

Inkscape Extensions

Größe
222,3 KB
Erstellt
Unterversionen
3
Typ
application/zip
General Public License v3 (GPLv3)

Link

Maren Hachmann schrieb :

Cool - I bet there will be many people who can use this! Thanks for sharing!

longqi schrieb :

@Maren Hachmann: Thanks, I hope so!

brynn schrieb :

Yes, and we've been needing a new one, since the old ones stopped working!

I wish I could test, but don't have need for it. But I'll be sure to link users when they ask for it :-)

fsmMLK schrieb :

Very Nice!

I did not realize that people would have issues with TK or PyGtk (specially Windows users) with textext by Pauli Virtanen. I will implement these changes in my inkscapeMadeEasy and related projects.

(I indeed implemented a simplified version of textex that does not requires TK and PyGTK but I didn't have time to upload it yet. It seems I don't have to do anymore =) )

manoloula2 schrieb :

Buena tarde tengo windows, estoy interesado en instalar una version de Inkscape, no se cual para instalar(1.0, o 0,9) después latex tex o Write tex, pero lo hice y me da error al compilar latex.
Les agradeceria si me pudiesen colaborar.

EdithCortez schrieb :

Ya instale Inskape, y después el Write Tex pero al compilar me marca error:

¿qué hago?

writetex.py:33: DeprecationWarning: Effect.OptionParser or `optparse` has been deprecated and replaced with `argparser`.You must change `self.OptionParser.add_option` to `self.arg_parser.add_argument`; the arguments are similar.
self.OptionParser.add_option("-f", "--formula",
writetex.py:37: DeprecationWarning: Effect.OptionParser or `optparse` has been deprecated and replaced with `argparser`.You must change `self.OptionParser.add_option` to `self.arg_parser.add_argument`; the arguments are similar.
self.OptionParser.add_option("-p", "--preamble",
writetex.py:41: DeprecationWarning: Effect.OptionParser or `optparse` has been deprecated and replaced with `argparser`.You must change `self.OptionParser.add_option` to `self.arg_parser.add_argument`; the arguments are similar.
self.OptionParser.add_option("--read-as-line",
writetex.py:45: DeprecationWarning: Effect.OptionParser or `optparse` has been deprecated and replaced with `argparser`.You must change `self.OptionParser.add_option` to `self.arg_parser.add_argument`; the arguments are similar.
self.OptionParser.add_option("-s", "--scale",
writetex.py:49: DeprecationWarning: Effect.OptionParser or `optparse` has been deprecated and replaced with `argparser`.You must change `self.OptionParser.add_option` to `self.arg_parser.add_argument`; the arguments are similar.
self.OptionParser.add_option("-i", "--inputfile",
writetex.py:53: DeprecationWarning: Effect.OptionParser or `optparse` has been deprecated and replaced with `argparser`.You must change `self.OptionParser.add_option` to `self.arg_parser.add_argument`; the arguments are similar.
self.OptionParser.add_option("-c", "--pdftosvg",
writetex.py:57: DeprecationWarning: Effect.OptionParser or `optparse` has been deprecated and replaced with `argparser`.You must change `self.OptionParser.add_option` to `self.arg_parser.add_argument`; the arguments are similar.
self.OptionParser.add_option("--action", action="store",
writetex.py:60: DeprecationWarning: Effect.OptionParser or `optparse` has been deprecated and replaced with `argparser`.You must change `self.OptionParser.add_option` to `self.arg_parser.add_argument`; the arguments are similar.
self.OptionParser.add_option("-r", "--rescale",
writetex.py:64: DeprecationWarning: Effect.OptionParser or `optparse` has been deprecated and replaced with `argparser`.You must change `self.OptionParser.add_option` to `self.arg_parser.add_argument`; the arguments are similar.
self.OptionParser.add_option("-l", "--latexcmd",
writetex.py:68: DeprecationWarning: Effect.OptionParser or `optparse` has been deprecated and replaced with `argparser`.You must change `self.OptionParser.add_option` to `self.arg_parser.add_argument`; the arguments are similar.
self.OptionParser.add_option("-t", "--tosvg",
writetex.py:356: DeprecationWarning: Effect.affect is now `Effect.run()`. The `output` argument has changed.
e.affect()
Latex error: check your latex file and preamble.
CMD executed: pdflatex "-output-directory=C:\Users\ADMINI~1\AppData\Local\Temp\writetex-jmmabtwn" -interaction=nonstopmode -halt-on-error "C:\Users\ADMINI~1\AppData\Local\Temp\writetex-jmmabtwn\writetex.tex" > "C:\Users\ADMINI~1\AppData\Local\Temp\writetex-jmmabtwn\writetex.out"
Traceback (most recent call last):
File "writetex.py", line 356, in <module>
e.affect()
File "C:\Program Files\Inkscape\share\inkscape\extensions\inkex\deprecated.py", line 180, in affect
return self.run(args=args)
File "C:\Program Files\Inkscape\share\inkscape\extensions\inkex\base.py", line 123, in run
self.save_raw(self.effect())
File "writetex.py", line 166, in effect
print(open(log_file).read(), file=sys.stderr)
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\writetex-jmmabtwn\\writetex.log'

longqi schrieb :

Please try to use the version in the git repo https://github.com/wanglongqi/WriteTeX. The API changes between version 1.0 and 0.9 are quite huge, the repo has to split into two. Please use the corresponding version along with your Inkscape version.

FGhio schrieb :

How do I solve this? Sorry new to Latex in inkscape

/bin/sh: 1: xelatex: not found
Latex error: check your latex file and preamble.
CMD executed: xelatex "-output-directory=/tmp/writetex-34LU2Z" -interaction=nonstopmode -halt-on-error "/tmp/writetex-34LU2Z/writetex.tex" > "/tmp/writetex-34LU2Z/writetex.out"
Traceback (most recent call last):
File "writetex.py", line 376, in <module>
e.affect()
File "/usr/share/inkscape/extensions/inkex.py", line 289, in affect
self.effect()
File "writetex.py", line 174, in effect
print(open(log_file).read(), file=sys.stderr)
IOError: [Errno 2] No such file or directory: '/tmp/writetex-34LU2Z/writetex.log'

Bitte melde Dich an, um einen Kommentar zu verfassen!