forked from mirrors/org-mode
LaTeX export: Macro processing also in author field
This commit is contained in:
parent
a5ebc8d3ae
commit
1902dfacbe
|
@ -1,5 +1,8 @@
|
|||
2010-03-09 Carsten Dominik <carsten.dominik@gmail.com>
|
||||
|
||||
* 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)
|
||||
|
|
|
@ -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"))
|
||||
|
|
Loading…
Reference in New Issue