= dot2tex = == Description == dot2tex is a Python module, whose purpose is to give graphs generated by Graphviz a more LaTeX friendly look and feel. This is accomplished by converting xdot output from Graphviz to a series of PSTricks or PGF/TikZ commands. See http://www.fauskes.net/code/dot2tex/ or http://dot2tex.googlecode.com/ == License == * MIT == SPKG Maintainers == * Nicolas M. Thiery == Upstream Contact == * Kjell Magne Fauske, km@fauskes.net == Dependencies == Uses `pyparsing` readily included in matplotlib. To this end, a patch in `patches/` mainly replaces the `import pyparsing` by `import matplotlib.pyparsing` (or `import matplotlib.pyparsing_py2 as pyparsing` for newer versions of matplotlib). graphviz (www.graphviz.org) should be installed and in the path (for example via the graphviz spkg). preview, a LaTeX package for extracting parts of a document. == Special Update/Build Instructions == The files in `src/` are vanilla upstream (released version 2.8.7), and now in `.hgignore`, i.e., no longer tracked by us. (All traces of them in our Mercurial history have been removed.) * Refresh `patches/use-matplotlib-pyparsing.patch` if needed. * Check whether the other patches are still necessary, and if so, make sure they still apply cleanly. * Make sure corresponding optional doctests still pass. (As of Sage 5.9, i.e., with the new doctesting framework at least, you may have to run `sage -t [--long] ...` with `--optional=dot2tex,graphviz,sage`.) == Changelog == === dot2tex-2.8.7.p2 (Leif Leonhardy, May 20th 2013) === * #14594: Make dot2tex work with matplotlib 1.2.x (as well as older versions) Update `patches/use-matplotlib-pyparsing.patch` to either import `matplotlib.pyparsing` or `matplotlib.pyparsing_py2`. * Clean up `spkg-install` and `spkg-check`. Apply patches from within `src/` (still with `-p1`). Let `spkg-check` exit with an error if *any* of the tests failed, not just the last one. * Update / fix `SPKG.txt`, also adding some entries in standard format for previous (now tagged) spkg versions. * Add patch to `tests/test_comparedotparsing.py` skipping comparisons to non-existent (i.e., missing) reference files. * Add patch to `tests/test_buildexamples.py` fixing the build order, since otherwise `graphofgraphs.tex`, which includes the output of other examples, fails to build. === dot2tex-2.8.7.p1 (Nicolas M. Thiery, April 17th 2010) === * aka 2.8.7-2 * patches/fix-dot-warning.patch not needed anymore * Added patches/fix-stdout-redirection.patch until merged upstream * spkg-check works partially === dot2tex-2.8.7.p0 (Nicolas M. Thiery, October 8th 2009) === * aka 2.8.7 * Upgraded to dot2tex 2.8.7 === Previous history === 2.8.6: - Removed pyparsing, replaced by a quick patch to let dot2tex use the one included in matplotlib.pyparsing - Moved the dot2tex sources one level up to src, since there is now a single python package - Include patches/fix-dot-warning.patch until problem is fixed upstream (see discussion on sage-combinat-devel 28/09/2009 0.2: - Experimental release