Git Product home page Git Product logo

dot2tex's Introduction

dot2tex - A Graphviz to LaTeX converter

Copyright (C) 2006-2014 Kjell Magne Fauske

License: MIT (See LICENSE for details.)

Version: 2.9.0

URL: https://github.com/kjellmf/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 has been developed and tested with Python 2.7, but it is also compatible with Python 2.6. 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

dot2tex's People

Contributors

johnyf avatar kjellmf avatar mrprajesh avatar sceptical-coder avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.