1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2025-01-05 11:45:52 +00:00
* ox-latex.el (org-latex-template): Empty string for subtitle
  when it is not set.
This commit is contained in:
Rasmus 2015-04-09 18:39:35 +02:00
parent 105ec604c2
commit a12d98e93e

View File

@ -1318,7 +1318,7 @@ holding export options."
(separate (plist-get info :latex-subtitle-separate)))
(concat
(format "\\title{%s%s}\n" title
(if separate "" formatted-subtitle))
(if separate "" (or formatted-subtitle "")))
(when (and separate subtitle)
(concat formatted-subtitle "\n"))))
;; Hyperref options.