aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/textmodes/reftex-cite.el9
1 files changed, 8 insertions, 1 deletions
diff --git a/lisp/textmodes/reftex-cite.el b/lisp/textmodes/reftex-cite.el
index b22e8b1dcc0..17e8cfdc83c 100644
--- a/lisp/textmodes/reftex-cite.el
+++ b/lisp/textmodes/reftex-cite.el
@@ -543,7 +543,14 @@ If FORMAT is non-nil `format' entry accordingly."
543 (extra 543 (extra
544 (cond 544 (cond
545 ((equal type "article") 545 ((equal type "article")
546 (concat (reftex-get-bib-field "journal" entry) " " 546 (concat (let ((jt (reftex-get-bib-field "journal" entry)))
547 ;; biblatex prefers the alternative journaltitle
548 ;; field, so check if that exists in case journal
549 ;; is empty.
550 (if (zerop (length jt))
551 (reftex-get-bib-field "journaltitle" entry)
552 jt))
553 " "
547 (reftex-get-bib-field "volume" entry) ", " 554 (reftex-get-bib-field "volume" entry) ", "
548 (reftex-get-bib-field "pages" entry))) 555 (reftex-get-bib-field "pages" entry)))
549 ((equal type "book") 556 ((equal type "book")