| matplotlib.dviread | index /astro-wise/AWEHOME/x86_64/AWBASE/common/lib/python2.5/site-packages/matplotlib/dviread.py |
An experimental module for reading single-page dvi files output by
TeX. Several limitations make this not (currently) useful as a
general-purpose dvi preprocessor. The idea is that the file has a
single page with only a single formula or other piece of text.
Interface:
dvi = Dvi(filename)
dvi.read()
text, boxes = dvi.output(72)
for x,y,font,glyph in text:
fontname, pointsize = dvi.fontinfo(font)
...
for x,y,height,width in boxes:
...
| Modules | ||||||
| ||||||
| Classes | ||||||||||||||
|
| ||||||||||||||
| Data | ||
| dvistate = <matplotlib.cbook.Bunch instance at 0xa4c8c0> | ||