GNU bug report logs - #56475
28.1.50; bibtex-parse-entry disregards @string substitutions

Previous Next

Package: emacs;

Reported by: Ihor Radchenko <yantar92 <at> gmail.com>

Date: Sun, 10 Jul 2022 07:15:02 UTC

Severity: normal

Found in version 28.1.50

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

Bug is archived. No further changes may be made.

Full log


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

From: Roland Winkler <winkler <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 56475 <at> debbugs.gnu.org, Ihor Radchenko <yantar92 <at> gmail.com>
Subject: Re: bug#56475: 28.1.50; bibtex-parse-entry disregards @string
 substitutions
Date: Mon, 11 Jul 2022 12:12:59 -0500
On Mon, Jul 11 2022, Lars Ingebrigtsen wrote:
> Ihor Radchenko <yantar92 <at> gmail.com> writes:
>
>> Org currently relies on built-in bibtex.el to parse bibliography files.
>> However, the built-in parser does not appear to be complete.
>
> Perhaps Roland has some comments; added to the CCs.

The arg CONTENT of bibtex-parse-entry is passed on to
bibtex-text-in-field-bounds that gives you a more complete description
of what it does.  So I believe binding bibtex-expand-strings to t while
calling bibtex-parse-entry with arg CONTENT non-nil should do the job.

The parser in bibtex.el goes through some effort to deal with BibTeX
constructs such as

    title = "Foo " # BAR # {Baz},

correctly.




This bug report was last modified 2 years and 147 days ago.

Previous Next


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