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
1 changed files with 1 additions and 1 deletions

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.