Closed sati-bodhi closed 3 years ago
Hi, the latest commit introduces a user option orb-bibtex-entry-get-value-function
. The default value is still bibtex-completion-apa-get-value
, but you can change it to bibtex-completion-get-value
or your own custom function:
(setq orb-bibtex-entry-get-value-function #'bibtex-completion-get-value)
(setq orb-bibtex-entry-get-value-function #'my-custom-get-value)
Is your feature request related to a problem? Please describe.
"${author}"
expands to include a trailing comma withbibtex-completion-apa-get-value
, which is undesirable.Resultant File-Header with "${author}" expansion:
Describe the solution you'd like
Defining
orb--pre-expand-template
withbibtex-completion-get-value
would solve the problem:Describe alternatives you've considered
Allow for a custom
bibtex-completion
function so thatbibtex-completion-get-value
can be used in place ofbibtex-completion-apa-get-value
easily.Presently, I have to redefine the entire
orb--pre-expand-template
in my Doomconfig.el
, which is cumbersome.Additional context Add any other context or screenshots about the feature request here.
Sample Bibtex: