[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] docTeX: font-locking of |\foobar|
From: |
Tassilo Horn |
Subject: |
Re: [AUCTeX] docTeX: font-locking of |\foobar| |
Date: |
Fri, 08 May 2015 11:24:36 +0200 |
User-agent: |
Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux) |
jfbu <address@hidden> writes:
>> I now changed the | syntax to "paired delimiter". Now the old
>> fontification is back, and as a cool side-effect when you type |
>> actually || with point in between is inserted (with recent GNU emacsen
>> that have electric pair enabled by default).
>
> will this be off inside tabular like environment templates ?
No.
> There does still exist a few backward people like myself who enjoy
> tables with vertical rules (despite the definitive opinions as
> expressed in booktabs LaTeX package), thus entering (single) | in the
> table template may happen from time to time
Hm, I hadn't thought about that. But when you insert a tabular with C-c
RET, then the format is read from the minibuffer anyway and there the
syntax of | in tex/latex mode doesn't matter.
And even in the latex buffer you can still enter single | either with
C-q or just | and deleting the second.
But I wouldn't mind changing the syntax from paired delimiter to
punctuation if that's considered better. It just has to be different
from word or symbol syntax.
Bye,
Tassilo