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


View this message in rfc822 format

From: Roland Winkler <winkler <at> gnu.org>
To: Ihor Radchenko <yantar92 <at> gmail.com>
Cc: Lars Ingebrigtsen <larsi <at> gnus.org>, 56475 <at> debbugs.gnu.org
Subject: bug#56475: 28.1.50; bibtex-parse-entry disregards @string substitutions
Date: Mon, 11 Jul 2022 23:14:58 -0500
On Tue, Jul 12 2022, Ihor Radchenko wrote:
> Roland Winkler <winkler <at> gnu.org> writes:
>
>> If I understand your issue correctly you probably want to let-bind the
>> user variable bibtex-expand-strings while calling bibtex-parse-entry so
>> that your code works irrespective of what users have chosen for
>> bibtex-expand-strings.
>
> Thanks for the pointer!
> I tried my reproducer by running
> M-: (let ((bibtex-expand-strings t)) (bibtex-parse-entry))
> instead of
> M-: (bibtex-parse-entry)
>
> Unfortunately, the journal field is still not substituted.

The variable bibtex-string-files tells bibtex.el where it can find the
string definitions (which are then stored in the variable
bibtex-strings).  This complements bibtex-files that tells bibtex.el
where it can find the BibTeX entries.  A command like
bibtex-search-entry searches the entries in the files in bibtex-files.




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.