Skip to main content

Python library for processing TeX's Device Independent output

Project description

DVIpy is a library for reading TeX’s DeVice Independent (DVI) files. It is also a library for running TeX as a “daemon” process, whereby it is given input and responds with a list of glyphs and their positions. Virtual fonts are treated transparently: that is, DVIpy just responds with the glyphs from the font files.

This module should currently be useful for anyone wishing to do some form of semi-interactive TeX work. It was written as part of a currently unreleased and unnamed graphics package, the backend to a publication-oriented plotting package.

Installation should be as usual:

$ python setup.py install

Python 3 is not currently supported, due to changes in file locking which I have as yet been unable to fix.

TeX ‘styles’ can be placed in ~/.local/share/dvipy/templates/${name}.tex

A style is a tex file – see the example in the src/dvipy/templates directory

See examples/ for the singular example. Due to the ‘backend’ nature of DVIpy, there is quite a lot of wrangling with cairo to actually make it use freetype.

DVIpy is released under the GPLv2, and comes with ABSOLUTELY NO WARRANTY. You should have received a copy of the license (usually in the file LICENSE) with this software.

Project details


Release history Release notifications

This version
History Node

0.0.3

History Node

0.0.2

History Node

0.0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
dvipy-0.0.3.tar.gz (13.6 kB) Copy SHA256 hash SHA256 Source None Nov 16, 2012

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page