From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: Feature request: HTML export classes for "real" lists Date: Tue, 18 Dec 2012 10:52:28 -0700 Message-ID: <87ip7zcko3.fsf@gmail.com> References: <20604.55544.411223.93377@gargle.gargle.HOWL> <87y5gvcl9x.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:60859) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tl1LN-0000FF-Ua for emacs-orgmode@gnu.org; Tue, 18 Dec 2012 12:52:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tl1LM-0005zZ-LG for emacs-orgmode@gnu.org; Tue, 18 Dec 2012 12:52:41 -0500 Received: from mail-ia0-f181.google.com ([209.85.210.181]:52461) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tl1LM-0005zO-GH for emacs-orgmode@gnu.org; Tue, 18 Dec 2012 12:52:40 -0500 Received: by mail-ia0-f181.google.com with SMTP id s32so791664iak.40 for ; Tue, 18 Dec 2012 09:52:39 -0800 (PST) In-Reply-To: <87y5gvcl9x.fsf@bzg.ath.cx> (Bastien's message of "Tue, 18 Dec 2012 18:39:22 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: emacs-orgmode@gnu.org Bastien writes: > Hi Derek, > > writes: > >> But the exporter also uses HTML list elements in other contexts; the >> tags >> are overloaded. This means you can't set up CSS definitions to tweak >> just "real" lists. Can someone add class attributes to each of the >> "dt", "dd" and "li" items in the above code block? For example >> >>
...
>>
...
>>
  • ...
  • >> >> or something similar. > > I've implemented this in master for both the current exporter > (famously known as the "old" exporter) and the new exporter. I think > we should be extra conservative and take care not to add useless > classes/ids, but I see the point in this case. > Would it perhaps make sense to add classes to the un-normal use of these tags outside of lists, rather than to their usage within lists? I could see such an approach having a larger footprint in the code, but resulting in smaller and arguably more meaningfully classed/tagged HTML files. Just a thought, -- Eric Schulte http://cs.unm.edu/~eschulte