Download and install dot2tex
Dot2tex is available for download under the MIT license. You can download the source code directly from a subversion repository, or choose among one of the prebuilt packages.
Read the changelog.
Older releases can be found on the Google code downloads page.
Before you install dot2tex you have to have a working Python environment installed on your system. In addition you'll need the following software modules:
- pyparsing. Version 1.4.8 or later is recommended.
- Graphviz. A recent version is required.
- preview. A LaTeX package for extracting parts of a document.
Dot2tex is just a single Python script. Put the dot2tex.py script somewhere on your PATH. Alternatively you can use the distutils setup script:
$ python setup.py install
This will install the script to the SCRIPTS directory in your Python distribution.
The easiest way to install dot2tex is to use easy_install:
$ easy_install dot2tex
The command will locate dot2tex and download it automatically. Note that documentation and examples are not installed by default. Easy_install will also create a wrapper script or EXE file for you and install dependencies if necessary.
Download the development version
The current development version of dot2tex is available from a Subversion repository hosted at Google code. To get the code you can use the following command:
svn checkout http://dot2tex.googlecode.com/svn/trunk/ dot2tex
Documentation for the development version is available (not always up to date).
Warning: The development version is not always stable.