emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] Re: problem with org-export-latex-todo-keyword-markup [7.4]


From: Michael Bach
Subject: [Orgmode] Re: problem with org-export-latex-todo-keyword-markup [7.4]
Date: Wed, 16 Feb 2011 17:22:41 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7

On 02/16/2011 11:36 AM, phaebz wrote:
> I defined it as an associative list, as described in the manual:
> org-export-latex-todo-keyword-markup evaluates to (("new" . "\\new{%s}") 
> ("done" . "\\done{%s}") ("todo" . "\\todo{%s}"))
>
> In my LaTeX header are the options:
> #+LATEX_HEADER: \def\todo#1{{\color{red}#1}}
> #+LATEX_HEADER: \def\done#1{{\color{green}#1}}
> #+LATEX_HEADER: \def\new#1{{\color{blue}#1}}
>
> Now I noticed that, in the exported pdf, all todo keywords are typeset in the 
> same color, which is always the value of the first element in the a-list. In 
> the above example, all keywords get set to blue, i.e. the LaTeX file contains 
> odd things like \new{TODO}.
>
> According to the manual, I expect this behaviour - using the value of the 
> first element - only for todo keywords for which there is no key in the 
> a-list defined.
>
> Am I doing something wrong?

Actually, I am thinking of setting up a virtual mailing-list just for me, so 
that I can send my email there, since there seems to be a correlation between 
me sending my problems to this list and finding the solution on my own.

For completeness, obviously the keys have all to be upper case, i.e. (("NEW" . 
"\\new{%s}") ("DONE" . "\\done{%s}") ("TODO" . "\\todo{%s}")).

I will try to avoid these mails in the future.

Michael Bach



reply via email to

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