0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-29 18:36:26 +00:00

ox-latex: Allow markup objects inside %D spec

* lisp/ox-latex.el (org-latex--format-spec): Pass date through
`org-export-data' just as other backends do.

TINYCHANGE
This commit is contained in:
Lucas V. R 2022-02-22 14:46:45 -03:00 committed by Ihor Radchenko
parent 3d1f4e0af0
commit a7a579d06a
No known key found for this signature in database
GPG key ID: 6470762A7DA11D8B

View file

@ -1888,7 +1888,7 @@ INFO is a plist used as a communication channel."
(?c . ,(plist-get info :creator))
(?l . ,language)
(?L . ,(capitalize language))
(?D . ,(org-export-get-date info)))))
(?D . ,(org-export-data (org-export-get-date info) info)))))
(defun org-latex--insert-compiler (info)
"Insert LaTeX_compiler info into the document.