LaTeX export: Define the align macro

This commit is contained in:
Carsten Dominik 2010-02-01 17:15:54 +01:00
parent b8a4d004f2
commit b66858acbb
2 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,8 @@
2010-02-01 Carsten Dominik <carsten.dominik@gmail.com>
* org-latex.el (org-export-latex-make-header): Define the align
macro if it is not yet defined.
* org-agenda.el (org-agenda-insert-diary-make-new-entry): Call
`org-insert-heading' with the INVISIBLE-OK argument.

View File

@ -1146,6 +1146,8 @@ OPT-PLIST is the options plist for current buffer."
(org-export-apply-macros-in-string
(plist-get opt-plist :latex-header-extra))
(org-export-apply-macros-in-string org-export-latex-append-header)
;; define align if not yet defined
"\\ifx\\alert\\undefined\\let\\alert\\textbf\\fi"
;; insert the title
(format
"\n\n\\title{%s}\n"