Provide more flexibility for definition of BibTeX entries.
* lisp/textmodes/bibtex.el (bibtex-aux-opt-alist): Rename from bibtex-user-optional-fields. (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist): Permit aliases that inherit their definition from another entry. (bibtex-BibTeX-aux-entry-alist, bibtex-biblatex-aux-entry-alist) (bibtex-BibTeX-aux-opt-alist, bibtex-biblatex-aux-opt-alist): New user variables. (bibtex-entry-alist): Honor these new variables. (bibtex-field-alist): New function. (bibtex-include-OPTkey): Default changed to nil, declared obsolete. Use bibtex-aux-opt-alist instead. (bibtex-set-dialect): Use cl-flet and bibtex-field-alist. (bibtex-dialect-select-map): New variable. (bibtex-init-dialect): New function. (bibtex-field-list): Simplify. (bibtex-print-help-message): Bug fix.
This commit is contained in:
parent
fec6078f62
commit
b26418694e
2 changed files with 427 additions and 379 deletions
15
etc/NEWS
15
etc/NEWS
|
@ -770,6 +770,21 @@ toggle.
|
|||
|
||||
** BibTeX mode
|
||||
|
||||
---
|
||||
*** New user variables 'bibtex-BibTeX-aux-entry-alist',
|
||||
'bibtex-biblatex-aux-entry-alist', 'bibtex-BibTeX-aux-opt-alist',
|
||||
and 'bibtex-biblatex-aux-opt-alist' facilitate the customization of
|
||||
BibTeX and biblatex entries. These variables now support the definition
|
||||
of aliases that inherit the definition of another entry.
|
||||
|
||||
---
|
||||
*** The user variable 'bibtex-user-optional-fields' has been renamed
|
||||
to 'bibtex-aux-opt-alist'. The old name is an obsolete alias.
|
||||
|
||||
---
|
||||
*** The user variable 'bibtex-include-OPTkey' is now obsolete and
|
||||
its default is nil. Use 'bibtex-aux-opt-alist' instead.
|
||||
|
||||
---
|
||||
*** New user option 'bibtex-entry-ask-for-key'.
|
||||
When enabled, 'bibtex-entry' asks for a key.
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue