W3C home > Mailing lists > Public > www-style@w3.org > June 2014

Re: [css-gcpm] Idea for example 18

From: Dave Cramer <dauwhe@gmail.com>
Date: Thu, 12 Jun 2014 16:48:59 -0400
Message-ID: <CADxXqOxp0V9LD6_s3VZ03euaAF6UPGvn_XT9P_Q5uB6YL15cxw@mail.gmail.com>
To: Jirka Kosek <jirka@kosek.cz>
Cc: W3C Style <www-style@w3.org>
On Thu, Jun 12, 2014 at 12:46 PM, Jirka Kosek <jirka@kosek.cz> wrote:

>
> if I understand it correctly target-counters() should be able to
> generate multilevel numbers -- like 4.2.3.5. This numbering is usual in
> technical documentation and some academic papers, so example can show
> several nested <section> elements with headings.
>
>
I haven't seen an example where counters() can be used to do multilevel
section numbering, since the headings themselves aren't nested. This is
usually done with more than one counter().

target-counters() could be used to create a reference to the numbering
inside a multilevel list, which can use counters(). I'll keep trying to
think of a semi-realistic example for that.

Thanks!

Dave
Received on Thursday, 12 June 2014 20:49:26 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:41 UTC