Skip to content

wanglongqi/WriteTeX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Due to incompatible change of Inkscape extension API, this extension has to split into two versions. For Inkscape version lower than 1.0, users should use the files in 0.9.x folder, the other users should use files in 1.x.x folder.

You may also want to check WriteTeX2.

Logo/

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.

Installation

Just drop writetex.py and writetex.inx to Inkscape extension folder, which is normally at $inkscapeFolder$/share/extensions.

Make sure one LaTeX command and one PDFtoSVG converter are in your path.

Notes on PDFTOSVG

PDFTOSVG must be installed and added to your search path, otherwise you will get error like "IOError: Error reading file somesvg.svg". One supported PDFTOSVG is pdf2svg, which can be downloaded following locations:

  • For Windows user, pdf2svg can be downloaded from here or here.
  • For Mac user, pdf2svg can be installed by homebrew, or download from here.

WriteTeX on Inkscape 1.3 (MacOSX)

WriteTeX is tested on Inkscape 1.3.

WriteTeX on Inkscape v1.3

If you use MacTeX and Homebrew version of pdf2svg, you may need to set the additional search path as in following image:

WriteTeX on Inkscape v1.3

More info

Can be found in the website.