Re: TeX lexers

From: anton <averbit....at.yandex.ru>
Date: Fri, 24 Jun 2011 09:29:27 -0700 (PDT)

Well, it works exactly as you described.

anton

On 24 Jun., 12:35, Robert <ro....at.web.de> wrote:
> On Wed, Jun 22, 2011 at 5:03 PM, anton <averbit....at.yandex.ru> wrote:
>
> >> and I find it harder to read because commands aren't highlighted
> >> anymore.
>
> > That's a good point.
>
> >> What would you think about styling just the starting/ending blocks differently?
>
> > The right solution in my opinion is to create a lexer that highlights
> > command also in math mode.
> > This should presumably be very nontrivial but possible. I'll also give
> > it some though.
>
> >> There would be equation, math, displaymath. Anything else?
>
> > Well, $a$,$$a$$, \(a\), \[a\], multline, align, gather, eqnarray (and
> > with *)
> > hopefully all.
>
> > anton
>
> I pushed an updated version, could you check if it works for you?
> Regular begin/end environments should also be highlighted more visibly.
>
Received on Fri 24 Jun 2011 - 12:29:27 EDT

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 12:11:55 EST