Added logPrint to error messages when the TeX code cannot be
converted into a .dvi file. This allows useful feedback when
there is a pure tex error -- i.e. the .pg file compiles correctly
but the resulting TeX is not well formed.
Also added some code that adds warning messages after each problem (except
the screen/pageheader file) with some extra formatting so that messages
can be handled by the TeX processor.
If this latter code is adequate it should probably be abstracted and moved
to Global near where the PG warnings handler is defined. Currently the
code modifies the Global::WARNINGS variable VERY far away from the
definition of that variable. It would be better to have a couple of
subroutines in Global that "print" the WARNINGS string, perhaps protecting
the characters that upset TeX, and another subroutine which clears the
Meantime keep testing the error output -- it's looking better.