From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Latex export colouring and properties Date: Tue, 12 May 2009 13:45:18 +0200 Message-ID: <03B6821B-DA54-4EAE-A20C-30390FD93CF8@gmail.com> References: <1240416286.1441.1@wilbury> <967C235E-F610-4C67-A696-5EE0828691E7@gmail.com> <20090507181704.GC14045@wilbury.neustadt.demon.co.uk> Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M3qQK-0002PT-6g for emacs-orgmode@gnu.org; Tue, 12 May 2009 07:45:28 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M3qQF-0002NU-KT for Emacs-orgmode@gnu.org; Tue, 12 May 2009 07:45:27 -0400 Received: from [199.232.76.173] (port=33039 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M3qQF-0002NP-Dv for Emacs-orgmode@gnu.org; Tue, 12 May 2009 07:45:23 -0400 Received: from mail-ew0-f210.google.com ([209.85.219.210]:64666) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M3qQF-00043k-2I for Emacs-orgmode@gnu.org; Tue, 12 May 2009 07:45:23 -0400 Received: by ewy6 with SMTP id 6so4316518ewy.42 for ; Tue, 12 May 2009 04:45:22 -0700 (PDT) In-Reply-To: <20090507181704.GC14045@wilbury.neustadt.demon.co.uk> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Simon Brown Cc: Org Mode List On May 7, 2009, at 8:17 PM, Simon Brown wrote: > * Carsten Dominik (carsten.dominik@gmail.com) 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