Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Installation

Install GTDraw from PyPI:

pip install gtdraw

To use the interactive GUI, install the optional gui extra (pip install "gtdraw[gui]"); see Interactive GUI.

See the developer guide for developer installation.

Requirements

Installing LaTeX

To use GTDraw, a working LaTeX installation is required. The below offers the minimal installation that has been tested to work on Ubuntu. Other Linux distributions have not been tested and the Mac/Windows options have only been tested with larger full LaTeX installations:

sudo apt-get install texlive-latex-base texlive-latex-extra texlive-pictures texlive-games

For a full distribution on any OS try one of the below:

PNG and SVG generation

PNG and SVG generation convert the compiled PDF with pdftocairo, which is part of Poppler. It must be installed and available in PATH: