From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: [Feature request] CSS tag classes for headlines Date: Fri, 1 Jan 2010 11:07:28 +0100 Message-ID: <87BB4B34-8DB2-4D35-84EF-43FB94695A95@gmail.com> References: <1259954201.11776.1348498933@webmail.messagingengine.com> Mime-Version: 1.0 (Apple Message framework v936) 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 1NQePz-00076l-J3 for emacs-orgmode@gnu.org; Fri, 01 Jan 2010 05:07:39 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NQePu-00072t-2t for emacs-orgmode@gnu.org; Fri, 01 Jan 2010 05:07:38 -0500 Received: from [199.232.76.173] (port=39777 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NQePt-00072X-ON for emacs-orgmode@gnu.org; Fri, 01 Jan 2010 05:07:33 -0500 Received: from ey-out-1920.google.com ([74.125.78.150]:61624) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NQePt-0006d3-4o for emacs-orgmode@gnu.org; Fri, 01 Jan 2010 05:07:33 -0500 Received: by ey-out-1920.google.com with SMTP id 4so1456681eyg.34 for ; Fri, 01 Jan 2010 02:07:30 -0800 (PST) In-Reply-To: <1259954201.11776.1348498933@webmail.messagingengine.com> 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: Peter Westlake Cc: "emacs-orgmode@gnu.org" Hi Peter, this is a quite open-ended request, to add classes based on TODO keywords/Tags, maybe timestamps etc. Maybe the best solution would be to do this in postprocessing, for example using a hook like org-export-html-final-hook: http://orgmode.org/worg/org-configs/org-hooks.php#sec-1.76 HTH - Carsten On Dec 4, 2009, at 8:16 PM, Peter Westlake wrote: > Would it be possible to give exported headlines a class based on their > tag or TODO? > > For instance, instead of just labelling the tag, like this: > >

Windows builds fail with "Error 66" class="tag">CLOSED

> > I would like to change the appearance of the whole headline: > >

Windows builds fail with > "Error 66" class="CLOSED">CLOSED

> > The use case is that I need to put a list of bugs up on the wall, > and it > would be nice if closed ones could be greyed out. In fact, the whole > div > containing the headline and text could be given a class, and child > elements could be identified using CSS selecters. > >
> > Peter. > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten