[texworks] Highlighting for .dtx file?

Stefan Löffler st.loeffler at gmail.com
Thu Sep 5 13:17:11 CEST 2013


On 2013-08-26 19:40, Joseph Wright wrote:
> TeXworks' syntax highlighting comes set up for LaTeX and ConTeXt 'user
> documents', as well as the 'no highlighting' option. One thing that I've
> been asked a few times is for some settings for editing LaTeX Documented
> Source (.dtx) files. Would it be of any broader interest to add this to
> the standard set?

I'm a bit reluctant to add this by default, as it is a rather advanced
feature only useful for experts. The "average user" might be confused
whether this is for LaTeX "sources", or something else. So, in the
interest of "lowering the entry barrier to the TeX world", I'd rather
not add it to the user interface by default.

> Alternatively, if this seems rather too specialised
> for the TeXworks core, is there any interest in trying to sort out a
> single place to collect up useful add-ons to TeXworks, akin to WinEdt's
> community site (http://www.winedt.org)? (Or of course is there one already?)

There is Paul Norman's resource for scripting:
And there's the project wiki, of course, where things like advanced
typesetting tool configurations are collected:

Of course, a central resource would be nice, but the problem is that it
would have to be actively maintained, needs a web space, etc. Until such
a thing exists, we could add a wiki page for syntax highlighting...?


PS: I'd also like to enhance the syntax highlighting from simple RegExps
to some kind of state machine (that allow, e.g., parenthesis matching).
But the problem is that there are so many ideas and so little coding
time... ;)

More information about the texworks mailing list