[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#56475: 28.1.50; bibtex-parse-entry disregards @string substitutions
From: |
Ihor Radchenko |
Subject: |
bug#56475: 28.1.50; bibtex-parse-entry disregards @string substitutions |
Date: |
Tue, 12 Jul 2022 14:04:55 +0800 |
Roland Winkler <winkler@gnu.org> writes:
>> 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.
I am wondering why bibtex-string-files is not documented inside the
docstring of bibtex-expand-strings. Same for bibtex-expand-strings not
being documented in bibtex-parse-entry.
As for using bibtex-string-files in my specific scenario, I cannot make
it work as well.
I tried the following simple test:
M-: (let ((bibtex-string-files `(,(buffer-file-name))) (bibtex-expand-strings
t)) (bibtex-parse-entry))
The journal field is still not handled: ("journal" . "jgr")
Also, note that bibtex-string-files cannot help with situations when the
BibTeX buffer does not have an associated file.
Best,
Ihor
- bug#56475: 28.1.50; bibtex-parse-entry disregards @string substitutions, Ihor Radchenko, 2022/07/10
- bug#56475: 28.1.50; bibtex-parse-entry disregards @string substitutions, Lars Ingebrigtsen, 2022/07/11
- bug#56475: 28.1.50; bibtex-parse-entry disregards @string substitutions, Roland Winkler, 2022/07/11
- bug#56475: 28.1.50; bibtex-parse-entry disregards @string substitutions, Roland Winkler, 2022/07/11
- bug#56475: 28.1.50; bibtex-parse-entry disregards @string substitutions, Ihor Radchenko, 2022/07/11
- bug#56475: 28.1.50; bibtex-parse-entry disregards @string substitutions, Roland Winkler, 2022/07/12
- bug#56475: 28.1.50; bibtex-parse-entry disregards @string substitutions,
Ihor Radchenko <=
- bug#56475: 28.1.50; bibtex-parse-entry disregards @string substitutions, Roland Winkler, 2022/07/12
- bug#56475: 28.1.50; bibtex-parse-entry disregards @string substitutions, Ihor Radchenko, 2022/07/17
- bug#56475: 28.1.50; bibtex-parse-entry disregards @string substitutions, Roland Winkler, 2022/07/17
- bug#56475: 28.1.50; bibtex-parse-entry disregards @string substitutions, Ihor Radchenko, 2022/07/18