doing tex support the right way

Darren Dale <dd55@...143...> writes:

The basic approach is to extract the font layout information from the
dvi files. LaTeX could be the only dependency.

Great! Another possibly useful reference is

http://www.tug.org/tex-archive/dviware/driv-standard/level-0/dvistd0.pdf

and the documents in driv-standard/papers. dvi is apparently pretty
difficult to parse, as you have to implement a bytecode interpreter to
keep track of the state.

···

--
Jouni

Thanks Jouni, I was not aware of this document. There are some other packages
in dviware that could serve as useful examples, like dvitops (there are a lot
of GPL'd packages too, like dvisvgm and dvipdfmx. Too bad.)

···

On Monday 24 April 2006 10:48, Jouni K Seppanen wrote:

Darren Dale <dd55@...143...> writes:
> The basic approach is to extract the font layout information from the
> dvi files. LaTeX could be the only dependency.

Great! Another possibly useful reference is

http://www.tug.org/tex-archive/dviware/driv-standard/level-0/dvistd0.pdf

and the documents in driv-standard/papers. dvi is apparently pretty
difficult to parse, as you have to implement a bytecode interpreter to
keep track of the state.