From: Michael Bach <phaebz@googlemail.com>
To: phaebz <phaebz@googlemail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: problem with org-export-latex-todo-keyword-markup [7.4]
Date: Wed, 16 Feb 2011 17:22:41 +0200 [thread overview]
Message-ID: <4D5BEBC1.2090402@googlemail.com> (raw)
In-Reply-To: <4D5B9A9A.3040306@googlemail.com>
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
prev parent reply other threads:[~2011-02-16 15:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-16 9:36 problem with org-export-latex-todo-keyword-markup [7.4] phaebz
2011-02-16 11:32 ` Bastien
2011-02-17 7:54 ` Michael Bach
2011-02-17 10:25 ` Bastien
2011-02-16 15:22 ` Michael Bach [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D5BEBC1.2090402@googlemail.com \
--to=phaebz@googlemail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).