1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-12-28 10:56:57 +00:00

LaTeX export: Fix TODO keyword export

This commit is contained in:
Carsten Dominik 2010-05-13 08:47:26 +02:00
parent 83d10a541d
commit be232c4c21
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2010-05-13 Carsten Dominik <carsten.dominik@gmail.com>
* org-latex.el (org-export-latex-keywords-maybe): Protect the
TODO markup.
2010-05-13 Mikael Fornius <mfo@abc.se>
* org-habit.el (org-habit-build-graph): Help-echo date when

View File

@ -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)