mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-11-23 07:18:53 +00:00
org-e-latex: No \author{} command with author:nil option
* contrib/lisp/org-e-latex.el (org-e-latex-template): No \author{} command with author:nil option.
This commit is contained in:
parent
32c3456020
commit
869e0fa73d
@ -1024,8 +1024,7 @@ holding export options."
|
||||
(org-export-data (plist-get info :email) info))))
|
||||
(cond ((and author email (not (string= "" email)))
|
||||
(format "\\author{%s\\thanks{%s}}\n" author email))
|
||||
(author (format "\\author{%s}\n" author))
|
||||
(t "\\author{}\n")))
|
||||
((or author email) (format "\\author{%s}\n" (or author email)))))
|
||||
;; Date.
|
||||
(let ((date (org-export-data (plist-get info :date) info)))
|
||||
(and date (format "\\date{%s}\n" date)))
|
||||
|
Loading…
Reference in New Issue
Block a user