emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] export TODO keyword


From: Nick Dokos
Subject: Re: [Orgmode] export TODO keyword
Date: Mon, 16 Aug 2010 11:37:28 -0400

Rares Pop <address@hidden> 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 <address@hidden>
| 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  <address@hidden>
| +
| +     * org-latex.el (org-export-latex-keywords-maybe): Protect the
| +     TODO markup.
| +
|  2010-05-13  Mikael Fornius  <address@hidden>
|  
|       * 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]