I also discovered that xdvi is OSS compliant, and have
> started studying that source code as well. I only started
> writing code to read the dvi information, but I post here
> to allow people to comment if they are so inclined, and to
> share the dvitype example with anyone who is interested. I
> have compiled the tex file, converted it to pdf, and
> posted the result at
> http://staff.chess.cornell.edu/~dale/matplotlib/dvitype.pdf.
This is very good stuff Darren -- it would be really nice to have a
python interface to dvi files under a BSD compatible license.
matplotlib sitting on top of my two favorite runtimes: python and TeX.
I think it is a shame that a lot tools built on top of TeX (web2c,
pyx, ...) have a more restrictive license than TeX itself, so this
would be a very useful piece of code.
JDH