GNU bug report logs - #69266
30.0.50; bibtex-parse-entry misreads escaped \}

Previous Next

Package: emacs;

Reported by: Ihor Radchenko <yantar92 <at> posteo.net>

Date: Mon, 19 Feb 2024 09:12:02 UTC

Severity: normal

Found in version 30.0.50

Done: Roland Winkler <winkler <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Arash Esbati <arash <at> gnu.org>
To: Roland Winkler <winkler <at> gnu.org>
Cc: Ihor Radchenko <yantar92 <at> posteo.net>, 69266 <at> debbugs.gnu.org
Subject: bug#69266: 30.0.50; bibtex-parse-entry misreads escaped \}
Date: Sun, 25 Feb 2024 18:50:09 +0100
Roland Winkler <winkler <at> gnu.org> writes:

> In standard (La)TeX, "\}" is defined only in math mode, (La)TeX can
> handle "$\}$", but outside math mode, "\}" it throws an error.

The following code doesn't throw an error for me with LaTeX2e
<2023-11-01> patch level 1:

--8<---------------cut here---------------start------------->8---
\documentclass{article}

\begin{document}

\noindent \{x\}\\
\textbraceleft x\textbraceright

\end{document}

%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End:
--8<---------------cut here---------------end--------------->8---

> This gets off-topic.  Emacs bibtex-mode follows the philosophy
> underlying BibTeX itself and (La)TeX.

Would you reconsider this if Biber handles \} correctly?  I didn't test
it, though.

Best, Arash




This bug report was last modified 218 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.