Rares Pop <rares....@gmail.com> wrote: > From what I found so far there are no macros involved here. > > I'll perform the upgrade to the latest version and see how if it's fixed. >
It *was* a bug: it was fixed by this commit: ,---- | | commit be232c4c212283ca6311cfe35c0bae7719146e55 | Author: Carsten Dominik <carsten.domi...@gmail.com> | Date: Thu May 13 08:47:26 2010 +0200 | | LaTeX export: Fix TODO keyword export | | diff --git a/lisp/ChangeLog b/lisp/ChangeLog | index 45c9ec7..04c9ecb 100644 | --- a/lisp/ChangeLog | +++ b/lisp/ChangeLog | @@ -1,3 +1,8 @@ | +2010-05-13 Carsten Dominik <carsten.domi...@gmail.com> | + | + * org-latex.el (org-export-latex-keywords-maybe): Protect the | + TODO markup. | + | 2010-05-13 Mikael Fornius <m...@abc.se> | | * org-habit.el (org-habit-build-graph): Help-echo date when | diff --git a/lisp/org-latex.el b/lisp/org-latex.el | index e3544bf..afa0be2 100644 | --- a/lisp/org-latex.el | +++ b/lisp/org-latex.el | @@ -1289,7 +1289,8 @@ links, keywords, lists, tables, fixed-width" | (cdr todo-markup) (car todo-markup))) | (t (cdr (or (assoc (match-string 1) todo-markup) | (car todo-markup)))))) | - (replace-match (format fmt (match-string 1)) t t))) | + (replace-match (org-export-latex-protect-string | + (format fmt (match-string 1))) t t))) | ;; convert priority string | (when (re-search-forward "\\[\\\\#.\\]" nil t) | (if (plist-get remove-list :priority) `---- so an upgrade should fix it. _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode