Dot2tex
Convert graphs generated by Graphviz to LaTeX friendly formats
Install / Use
/learn @xyz2tex/Dot2texREADME
dot2tex - A Graphviz to LaTeX converter
[!WARNING] This project is no longer being maintained. I have tried to find a new maintainer for the project with no luck. If you are interested, feel free to reach out. See https://github.com/xyz2tex/dot2tex/issues/58 for details.
License: MIT (See LICENSE for details.)
Version: 2.12.dev
URL: https://github.com/xyz2tex/dot2tex
Documentation: http://dot2tex.readthedocs.org/
Dot2tex is a tool for converting graphs rendered by Graphviz to formats that can be used with LaTeX.
Installation
Before you install dot2tex you have to have a working Python environment installed on your system. Dot2tex works with Python 2.7 and Python 3. In addition you'll need the following modules:
- pyparsing. A recent version is required. Older version like for instance 1.3.2 does not work with dot2tex.
- preview A stand-alone part of the preview-latex/AUCTeX bundle. Required for preprocessing graphs with LaTeX.
- PGF/TikZ 2.0 or later required.
Note. If you have dot2tex version 2.5.0 or older installed, please remove the old version of the dot2tex.py file in your SCRIPTS directory before you install the latest dot2tex version. Otherwise the new dot2tex wrapper script will try to load the dot2tex.py as a module.
Using pip
The easiest way to install dot2tex is to use pip:
$ pip install dot2tex
The command will locate dot2tex and download it automatically along with dependencies. Note that documentation and examples are not installed by default.
Binary packages
Binary packages are available for Debian and OpenSUSE.
From source
Download a zip or a tarball from the download_ page. Unpack the file to a directory and run python on the setup.py
file:
$ python setup.py install
This will create a dot2tex module in your Python module directory and a wrapper
script in your SCRIPTS directory. Note that a few warnings will be
displayed. You can safely ignore them. The warnings are shown because there is
some extra information in the setup.py file that distutils does not understand.
Development version
The development version of dot2tex is available on GitHub.
Contribute
- Issue tracker: https://github.com/kjellmf/dot2tex/issues
- Source code: https://github.com/kjellmf/dot2tex
Related Skills
node-connect
343.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
92.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
343.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
343.3kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
