auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX] minor issue of fontification if \begin{verbatim}foo


From: jfbu
Subject: Re: [AUCTeX] minor issue of fontification if \begin{verbatim}foo
Date: Sun, 18 Sep 2016 19:02:57 +0200

Le 18 sept. 2016 à 17:07, Tassilo Horn <address@hidden> a écrit :

> jfbu <address@hidden> writes:
> 
> Hi Jean-Francois,
> 
>> A
>> \begin{verbatim}foo
>> bar
>> \end{verbatim}
>> B
>> etc...
>> \end{document}
>> 
>> seems to fontify the whole buffer from that point on as
>> if entirely inside the verbatim.
>> 
>> Surely a minor issue as it is not usual (but not forbidden either) to
>> put something immediately after the \begin{verbatim}
> 
> Good catch.  I've pushed a fix just now.  Let me know if it works (or
> exhibits problems in other situations).
> 
> Bye,
> Tassilo


Hi Tassilo,

Sorry for the delay. I confirm the commit fixes it, but my test file also
had 

\begin{verbatim}XXXXXXXXXXXXXXXXX\end{verbatim}

and this confuses the fontifying.

You said to exhibit problems ! ;-) 

Thanks,

Jean-Francois


reply via email to

[Prev in Thread] Current Thread [Next in Thread]