instanton wrote:

> Yes, I knew that most of the lists were for ConTeXt. But I don't understand 
> the
> use of these lists or what are the gains of using these lists comparing to 
> not using 
> them -- I tested with some ConTeXt sources and it seems that the 
> ColouriseTeXDoc
> works OK without setting %interface=en, nl, de etc. As I mentioned in the 
> original 
> message, users often define their own commands and structures, and these 
> might not 
> be in the lists, so might not get coloured if some of the interfaces is 
> turned on;

i assume that you've read

http://www.pragma-ade.com/general/manuals/mscite-p.pdf

in principle users can add their own keywords as well; catching user
defined macros is not possible because that would involve a complete parser

> OK, I am not proposing that removing the current ColouriseTeXDoc is a 
> necessity.
> I just wondered if using the lists in it is necessary. I wish to know how 
> many users 
> are depending on these interfaces now?

no, you can turn of the lists (see manual)

> BTW, for me the two colourising procedures ColouriseTeXDoc and 
> ColouriseLaTeXDoc 
> work a little differently: the latter allows for asigning different colours to
> inline maths and displayed maths, and also different colours for the tags
> \begin{...} ... \end{...} and the contents therein, this is very convenient 
> but the former
> does not have this effect; on the other hand the former allows for 
> colourising braces
> which is also convenient while the latter doesn't do this.

well, math is a complex story, since math itself can contain commands;
my experience is that coloring math differently does not help much

btw, in a couple of weeks 'luatex' will go beta; this is a version of
tex (the successor of pdftex) has lua scripting built in and opens up
all internals; it was actually lua-in-scite that was the reason for
exploring this route -)

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to