defaults bugs n fixes

Tony Balinski ajbj at free.fr
Mon Jul 3 11:04:35 CEST 2006


Quoting Volker Kuhlmann <list0570 at paradise.net.nz>:

> One could extend the LaTeX patterns to cover .dtx as well (is this
> possible?), or one could try a different pattern set and switch between
> the LaTeX and .dtx pattern sets depending on which part one is working
> on. Not terribly convenient, but better than nothing.

I actually think this is a very good idea. Didn't somebody do  this for
HTML, so that with one SH you could see the markup more clearly and with
the other you would see the text? My own Doxygen markup is supposed to
work this way with C/C++. Indeed, using TK's clone window patch (based
on the legendary MV version) you can highlight the same file in two
different ways (or more) at the same time: C/C++ and Doxygen, HTML and
JavaScript or PHP, C and embedded SQL...

Back to .dtx, though, it doesn't sound as if calling it a LaTeX file is
much of an issue really, since the choice is between unuseful highlighting
(but which gives access to LaTeX macros) or no highlighting at all. I still
think the latter is better since it shows the user that .dtx hasn't been
dealt with yet, so s/he can add it it LaTeX or create a new language (or
look for one on the web).

Tony


More information about the Discuss mailing list