GNU bug report logs -
#57516
Fontification of single brace in an optional argument
Previous Next
To reply to this bug, email your comments to 57516 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-auctex <at> gnu.org
:
bug#57516
; Package
auctex
.
(Thu, 01 Sep 2022 09:33:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Arash Esbati <arash <at> gnu.org>
:
New bug report received and forwarded. Copy sent to
bug-auctex <at> gnu.org
.
(Thu, 01 Sep 2022 09:33:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi all,
please consider this artificial but valid LaTeX code:
--8<---------------cut here---------------start------------->8---
\documentclass{article}
\usepackage{siunitx}
\begin{document}
\numlist[list-separator={[ }]{0.1;0.2;0.3}
Some text here
\numlist[list-separator={] }]{0.1;0.2;0.3}
\numlist[list-separator={; }]{0.1;0.2;0.3}
\end{document}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End:
--8<---------------cut here---------------end--------------->8---
which looks like this with emacs -Q and vanilla AUCTeX:
[font-latex.png (image/png, inline)]
[Message part 3 (text/plain, inline)]
Note how the first {[ } extends the fontification until the next {] }.
I think the issue is in the function `font-latex-find-matching-close',
but I don't have an idea how to fix this. Any takers?
Best, Arash
This bug report was last modified 1 year and 245 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.