From: Michael Bach <phaebz@gmail.com>
To: emacs-orgmode@gnu.org
Subject: LaTeX export keyword coloring
Date: Fri, 25 Nov 2011 19:52:48 +0100 [thread overview]
Message-ID: <4ecfe337.193cdf0a.1de7.ffff8715@mx.google.com> (raw)
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
next reply other threads:[~2011-11-25 18:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-25 18:52 Michael Bach [this message]
2011-11-27 22:14 ` LaTeX export keyword coloring Michael Bach
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=4ecfe337.193cdf0a.1de7.ffff8715@mx.google.com \
--to=phaebz@gmail.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).