[texworks] syntax pattern for inmath

Alain Delmotte esperanto at swing.be
Wed Feb 3 20:54:55 CET 2010


Good evening,

Stefan Löffler a écrit :
> Hi again,
>
> Am 2010-02-03 16:30, schrieb Alain Delmotte:
>   
>> The expression suggested by Stefan (\$+[^\$]+\$+), for both cases,
>> doesn't work at all; the $ are just blue (other syntax-pattern for
>> special characters).
>>     
>
> Strange, it works for me. You must take care, though, that it is placed
> before any other highlighting spec in syntax-patterns.txt that may
> match. For the purpose of testing, I put it as the first spec in the file.
>   
Hummm! Why does it work now?
I moved it to the first position: OK! Then put it back where it was 
(after \(...\) and \[...\]): OK!
Most probably I did a typing mistake.

Thanks,

--
Alain
> -Stefan
>
>   




More information about the texworks mailing list