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 | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file dvipy-0.0.3.tar.gz.
File metadata
- Download URL: dvipy-0.0.3.tar.gz
- Upload date:
- Size: 13.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
abeee09048b622685c5365e1a02963cf67a58e82cc11805514383c1f03b47fd8
|
|
| MD5 |
248eeac41b43c7b0d431bbfec10a3936
|
|
| BLAKE2b-256 |
db70090dd9354a8bb2576fdc2449ca076f858ffe58d229fe1d8ef30d481d31bc
|