Now the latex formatter is as functional as I want it
to be.
Also this patch is clean and tested to work.
(There is a little modification to fileformatterbase
which makes the default formatter with default docset
work, and I guess not the scope of this patch. Check
that part twice, because I did not know what I am
doing. [And even did not care:])
What will follow:
-maybe find a better place for texbase.py?
-detach the latex file header from the source, it
should be a separate file given to the formatter as an
option.
-rework the *X docsets to generate a DOM structure
and decorate that
-tidy up the TexClass to have an uniform interface
(and be able to handle the formatter-specific states)
-rewrite the classic ST code to use DOM (later), and
have a real Classic ST in the Latex formatter.
why should I always separately attach the file?