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

Clone the repo and install the package using pip:

git clone https://github.com/gambitproject/draw_tree
cd draw_tree
pip install .

Requirements

Installing LaTeX

To use DrawTree, 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-pictures texlive-latex-extra texlive-games

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

PNG generation

PNG generation will default to using any of ImageMagick or Ghostscript or Poppler that are installed. If none are installed, try one of the following:

SVG generation

SVG generation requires pdf2svg to be installed and available in PATH.