Paul Nelson <ultr...@gmail.com> writes: > For whatever it's worth, I updated my package czm-tex-fold to support > the variety of verbatim formats from Arash's earlier email. This is > less flexible than what we would get by extending the display spec > format, but has the advantage that it's been implemented.
> (defvar czm-tex-fold--verb-regex > "\\\\\\(Verb\\|verb\\)\\(?:\\[[^]]*\\]\\)?[|{]\\([^|}]*\\)[|}]") A little simpler: "\\\\\\([Vv]verb\\)\\(?:\\[[^]]*\\]\\)?[|{]\\([^|}]*\\)[|}]" How does your code work on this example: \verb|}| ? I admit, this is a mess, but maybe we can come up with a solution within AUCTeX; I have to think about it, though. Best, Arash _______________________________________________ bug-auctex mailing list bug-auctex@gnu.org https://lists.gnu.org/mailman/listinfo/bug-auctex