From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vladimir Lomov Subject: Re: Nested ordered lists? Date: Wed, 22 Jan 2014 09:07:55 +0900 Message-ID: <20140122000755.GA913@smoon> References: <20140121185955.GA22768@pdavismbp15.iscinternal.com> <8738kh6t20.fsf@bzg.ath.cx> <20140121194010.GB22768@pdavismbp15.iscinternal.com> <20140121195632.GC22768@pdavismbp15.iscinternal.com> <87txcxgjfi.fsf@gmail.com> <20140121204505.GD22768@pdavismbp15.iscinternal.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44978) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W5lMU-0005CP-Tm for emacs-orgmode@gnu.org; Tue, 21 Jan 2014 19:08:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W5lMP-0003G1-8j for emacs-orgmode@gnu.org; Tue, 21 Jan 2014 19:08:06 -0500 Received: from mail-lb0-x235.google.com ([2a00:1450:4010:c04::235]:38793) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W5lMO-0003D5-OW for emacs-orgmode@gnu.org; Tue, 21 Jan 2014 19:08:00 -0500 Received: by mail-lb0-f181.google.com with SMTP id z5so6602918lbh.12 for ; Tue, 21 Jan 2014 16:07:58 -0800 (PST) Received: from smoon ([5.254.229.143]) by mx.google.com with ESMTPSA id m3sm5633951lbp.13.2014.01.21.16.07.57 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Jan 2014 16:07:57 -0800 (PST) Content-Disposition: inline In-Reply-To: <20140121204505.GD22768@pdavismbp15.iscinternal.com> 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: emacs-orgmode@gnu.org Hello, ** Peter Davis [2014-01-21 15:45:05 -0500]: > On Tue, Jan 21, 2014 at 12:37:53PM -0800, Josiah Schwab wrote: >>> but my html output had all list items numbered. >> Please read >> http://orgmode.org/worg/org-faq.html#sec-11-5 > Thank you, Josiah. > That does explain it. > It would be nice if there were CSS classes for various numbering > schemes: > org-ol-1 > org-ol-A > org-ol-a > org-ol-i > etc. Meanwhile, I'll make do. You may use CSS when exporting to HTML. Let's take this small example: #+BEGIN_EXAMPLE 1) First item of high level 1. First item of sublevel; 2. second item of sublevel. 2) Second item of high level 1. First item of sublevel, following next high level item; 2. second item of sublevel. Best regards. #+END_EXAMPLE With the following CSS high level items are numbered with digits but items of sublevel are numbered with letters #+BEGIN_EXAMPLE ol[class="org-ol"] { list-style-type: decimal; } ol[class="org-ol"] * ol[class="org-ol"] { list-style-type: lower-alpha; } #+END_EXAMPLE Of course, it would be much easier if "items" of different levels have different classes. > Thanks! > -pd --- WBR, Vladimir Lomov -- Hokey religions and ancient weapons are no substitute for a good blaster at your side. - Han Solo