From b66858acbbd776b98cba72a7f2a4de53c71f8045 Mon Sep 17 00:00:00 2001 From: Carsten Dominik Date: Mon, 1 Feb 2010 17:15:54 +0100 Subject: [PATCH] LaTeX export: Define the align macro --- lisp/ChangeLog | 3 +++ lisp/org-latex.el | 2 ++ 2 files changed, 5 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a48f49b96..c5621a3e2 100755 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2010-02-01 Carsten Dominik + * 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. diff --git a/lisp/org-latex.el b/lisp/org-latex.el index 4a4947c3c..8866ed760 100644 --- a/lisp/org-latex.el +++ b/lisp/org-latex.el @@ -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"