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


Message #14 received at 69266 <at> debbugs.gnu.org (full text, mbox):

From: Ihor Radchenko <yantar92 <at> posteo.net>
To: Roland Winkler <winkler <at> gnu.org>
Cc: Arash Esbati <arash <at> gnu.org>, 69266 <at> debbugs.gnu.org
Subject: Re: bug#69266: 30.0.50; bibtex-parse-entry misreads escaped \}
Date: Sat, 24 Feb 2024 12:19:22 +0000
Roland Winkler <winkler <at> gnu.org> writes:

> Ihor Radchenko <yantar92 <at> posteo.net> writes:
>> According to https://www.bibtex.org/SpecialSymbols/, characters that
>> conflict with Bibtex format description can be \-escaped.
>
> I believe the above webpage is incorrect.  If I put something like \}
> into a BibTeX field, BibTeX complains about unbalanced braces.
> This is with BibTeX, Version 0.99d (TeX Live 2022/Debian).
> The parsing algoritm used by BibTeX is very simple.  Generally,
> BibTeX fields should contain valid LaTeX code.  So something
> like
>      title = "$\}$tex",
>
> should work with BibTeX, but it gives the same error message
> "unbalanced braces".

I am wondering if there exists a full Bibtex format description
somewhere. I can see some hints scattered over documentation in
https://ctan.org/pkg/bibtex, but nothing is complete.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>




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.