emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* LaTeX export keyword coloring
@ 2011-11-25 18:52 Michael Bach
  2011-11-27 22:14 ` Michael Bach
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Bach @ 2011-11-25 18:52 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

I am having trouble controlling what org's LaTeX export does with my
keyword markup.  I have set

org-export-latex-todo-keyword-markup (quote (("NEW" . "\\new{%s}") 
                                             ("TODO" . "\\todo{%s}")
                                             ("DONE" . "\\done{%s}")))

In the org file, I got

#+OPTIONS: todo:t
#+LATEX_HEADER: \usepackage[usenames, dvipsnames]{color}
#+LATEX_HEADER: \def\done#1{{\color{ForestGreen}#1}}

I am using the standard latex export class.  When I export to a
temporary buffer via C-c C-e L, I see this below my inserted
#+LATEX_HEADER lines

\usepackage[usenames, dvipsnames]{color}
\def\done#1{{\color{ForestGreen}#1}}
\usepackage{color}
\def\todo#1{{\color{red}#1}}
\def\done#1{{\color{green}#1}}
\providecommand{\alert}[1]{\textbf{#1}}

Now I wonder where the last 4 lines (which overrule the coloring) came
from and am at a loss.  I could not find it in the docs and googled
around to no avail.  Also, I do not think this is caused by my other
org-mode configuration settings.

Can someone give me a hint on where to look for a solution?  Do I miss
something obvious?

Thanks in advance,
Michael Bach

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

* Re: LaTeX export keyword coloring
  2011-11-25 18:52 LaTeX export keyword coloring Michael Bach
@ 2011-11-27 22:14 ` Michael Bach
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Bach @ 2011-11-27 22:14 UTC (permalink / raw)
  To: emacs-orgmode

Michael Bach <phaebz@gmail.com> writes:

> Can someone give me a hint on where to look for a solution?  Do I miss
> something obvious?

Indeed I missed something obvious.  Once again: More thinking, less
typing.

Sorry for the noise

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

end of thread, other threads:[~2011-11-27 22:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-25 18:52 LaTeX export keyword coloring Michael Bach
2011-11-27 22:14 ` Michael Bach

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