all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* problem with org-export-latex-todo-keyword-markup [7.4]
@ 2011-02-16  9:36 phaebz
  2011-02-16 11:32 ` Bastien
  2011-02-16 15:22 ` Michael Bach
  0 siblings, 2 replies; 5+ messages in thread
From: phaebz @ 2011-02-16  9:36 UTC (permalink / raw)
  To: emacs-orgmode

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?

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-02-17 10:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.