TexText on MacOS

Caution

These installation instrcuctions are not fully tested. Please report any issues, comments or hints to https://github.com/textext/textext/issues/new

To install TexText on MacOS do the following steps:

  1. Install dependencies of TexText

  2. Install TexText

Install dependencies

Install inkscape

To install using homebrew:

brew cask install inkscape

Install python2.7

Make sure that a Python 2.7 distribution is installed and found by your system. Make sure it contains the Tkinter package so TexText will run at least with a basic interface.

To install using homebrew and forcing the Tkinter package to be installed:

brew cask install python@2 --with-tcl-tk

Install a pdf->svg converter

You have two options: pdf2svg (recommended) or pstoedit + ghostscript:

Install pdflatex/lualatex/xelatex

pdflatex, lualatex and xelatex are part of mactex package.

To install using homebrew:

brew install mactex

Install TexText

Install TexText

  1. Download the most recent package from GitHub release page (direct links: .zip, .tar.gz)

  2. Extract the package and change to created directory.

  3. Run setup.py from your terminal:

    python setup.py --inkscape-executable=/usr/local/bin/inkscape
    

    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.

    Note

    If you would like to skip the requirement checks during installation call the script from the command line as follows:

    python setup.py --inkscape-executable=/usr/local/bin/inkscape --skip-requirements-check