Are you saying that a TeX widget could be developed from the current TeX
source code? As I understand it, this would not be too easy, but not _that_
hard either, as long one does not try to implement it as an editable widget.
I assume that a in-memory format a bit more structurized than dvi could be
used, in much the same way as the html widget in the Mosaic distribution does
make use of a formatted element list.
It would be much harder to have an editable TeX source, much harder than a
structured text source such the one I'm working on.
If anyone could forward me to a introduction/reference document available
online I would appreciate it very much.
-- Torgeir @ http://www.ii.uib.no/~torgeir/