1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-05 11:45:45 +00:00

Support the biblatex journaltitle field

* lisp/textmodes/reftex-cite.el (reftex-format-bib-entry):
Support the biblatex journaltitle field.
This commit is contained in:
Tassilo Horn 2015-05-06 07:49:20 +02:00
parent 276f5d9e10
commit 52d7486d8b

View File

@ -543,7 +543,14 @@ If FORMAT is non-nil `format' entry accordingly."
(extra
(cond
((equal type "article")
(concat (reftex-get-bib-field "journal" entry) " "
(concat (let ((jt (reftex-get-bib-field "journal" entry)))
;; biblatex prefers the alternative journaltitle
;; field, so check if that exists in case journal
;; is empty.
(if (zerop (length jt))
(reftex-get-bib-field "journaltitle" entry)
jt))
" "
(reftex-get-bib-field "volume" entry) ", "
(reftex-get-bib-field "pages" entry)))
((equal type "book")