emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] Latex export colouring and properties


From: Carsten Dominik
Subject: Re: [Orgmode] Latex export colouring and properties
Date: Tue, 12 May 2009 13:45:18 +0200


On May 7, 2009, at 8:17 PM, Simon Brown wrote:

* Carsten Dominik (address@hidden) wrote:
I guess this could be implemented, but for me, LaTeX is still mainly
used for B&W text, so it never occurred to me.  I guess we could wrap
some
kind of macro around it, and you would be responsible to define that
macro....
I've thought about this some more and although I love colour
everywhere what I'm after is actually quite simple. Firstly on
reflection I agree exporting draws would be bad.
           Where I work there are a lot of network restrictions which
means many documents are exchanged in printed form. Highlighting the
todo state red or green as it is within org-mode, makes important
points obvious. Some sort of colouring for the date stamps for scheduled,
deadline and closed would be nice as well

Hi,

I am not going to make this happen by default, but you can now configure things (with the latest git version:

In the Org file:

#+LATEX_HEADER: \usepackage{color}
#+LATEX_HEADER: \def\todo#1{{\color{red}#1}}
#+LATEX_HEADER: \def\done#1{{\color{green}#1}}



In .emacs

(setq org-export-latex-todo-keyword-markup '("\\todo{%s}" . "\ \done{%s}"))


It is also possible to use different colors for each keyword.

See also the variables

 org-export-latex-timestamp-keyword-markup
 org-export-latex-timestamp-markup


HTH

- Carsten




reply via email to

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