Support the biblatex journaltitle field
* lisp/textmodes/reftex-cite.el (reftex-format-bib-entry): Support the biblatex journaltitle field.
This commit is contained in:
parent
276f5d9e10
commit
52d7486d8b
1 changed files with 8 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Reference in a new issue