TexText 0.11 for Inkscape 0.92 on MacOS
Note
These instrcuctions refer to an installation of Inkscape via Homebrew. Please report any issues, comments or hints to https://github.com/textext/textext/issues/new
To install TexText 0.11 for Inkscape 0.92 on MacOS do the following steps:
Install dependencies of TexText 0.11 for Inkscape 0.92
Install dependencies
Install inkscape
To install using homebrew:
brew cask install inkscape
The Python modules required for the TexText GUI are already included in this Inkscape installation, see Information with respect to Python installation.
Install a pdf->svg converter
You have two options: pdf2svg
(recommended) or pstoedit + ghostscript
:
Install pdf2svg (recommended)
Install the pdf2svg
package
To install using homebrew:
brew install pdf2svg
Install pstoedit (not recommended)
Some versions pstoedit
fails to produce svg so it’s preferable to use pdf2svg
.
To use pstoedit
converter install the pstoedit
package and check versions of
installed versions of pstoedit
and ghostscript
To install using homebrew:
brew install ghostscript
brew install pstoedit
To check versions run:
pstoedit --version
gs --version
Warning
Those combinations of pstoedit
and ghostscript
versions fails to produce svg on
most distributions (see bb issue 48):
|
|
3.70 |
9.22 |
Please report any observations or problems in issue 30.
Install pdflatex/lualatex/xelatex
pdflatex
, lualatex
and xelatex
are part of mactex
package.
To install using homebrew:
brew cask install mactex
Install TexText
Download the most recent package from GitHub release page (direct links: .zip)
Extract the package and change to created directory.
Run
setup.py
from your terminal:python setup.py
The script will check if all requirements described in Install dependencies are met. If so, it will install the extension files into the user’s Inkscape configuration directory (usually this is
~/.config/inkscape/extensions
). If not, instructions are given helping to fix the problem.Important
Ignore any messages about missing PyGTK packages! (Issue 31)
Note
If you would like to skip the requirement checks during installation call the script from the command line as follows:
python setup.py --skip-requirements-check
Information with respect to Python installation
Note
Homebrew’s Inkscape uses MacOS’s system Python interpreter in /usr/bin
independently of any other installed
Python interpreter (e.g. from Homebrew). The packages required for the GUI of TexText are already included in
the Homebrew installation of Inkscape.
If the extension does not work despite this fact or installation fails please report this to https://github.com/textext/textext/issues/new
Thank you!