org-latex.el (org-export-latex-make-header): latexify \thanks string.

This commit is contained in:
Bastien Guerry 2011-02-26 17:31:07 +01:00
parent be7490ae9e
commit 0c7d8e615a
1 changed files with 5 additions and 4 deletions

View File

@ -1361,10 +1361,11 @@ OPT-PLIST is the options plist for current buffer."
(if (plist-get opt-plist :author-info)
(format "\\author{%s%s}\n"
(org-export-latex-fontify-headline (or author user-full-name))
(if (and (plist-get opt-plist :email-info) email
(string-match "\\S-" email))
(format "\\thanks{%s}" email)
""))
(org-export-latex-fontify-headline
(if (and (plist-get opt-plist :email-info) email
(string-match "\\S-" email))
(format "\\thanks{%s}" email)
"")))
(format "%%\\author{%s}\n"
(org-export-latex-fontify-headline (or author user-full-name))))
;; insert the date