From 1902dfacbe6d6731c610d6712aba4331b74115a7 Mon Sep 17 00:00:00 2001 From: Carsten Dominik Date: Tue, 9 Mar 2010 17:24:31 +0100 Subject: [PATCH] LaTeX export: Macro processing also in author field --- lisp/ChangeLog | 3 +++ lisp/org-latex.el | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7a6d48c20..0e3a1c8e1 100755 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2010-03-09 Carsten Dominik + * org-latex.el (org-export-latex-make-header): Apply macros in + author field. + * org-clock.el (org-clocking-buffer, org-clocking-p): New function. (org-clock-select-task, org-clock-notify-once-if-expired) (org-clock-in, org-clock-out, org-clock-cancel, org-clock-goto) diff --git a/lisp/org-latex.el b/lisp/org-latex.el index 30f983583..80b69d7a9 100644 --- a/lisp/org-latex.el +++ b/lisp/org-latex.el @@ -1142,7 +1142,8 @@ The function mus take one parameter, the depth of the table of contents.") TITLE is the current title from the buffer or region. OPT-PLIST is the options plist for current buffer." (let ((toc (plist-get opt-plist :table-of-contents)) - (author (plist-get opt-plist :author))) + (author (org-export-apply-macros-in-string + (plist-get opt-plist :author)))) (concat (if (plist-get opt-plist :time-stamp-file) (format-time-string "%% Created %Y-%m-%d %a %H:%M\n"))