W3C home > Mailing lists > Public > www-amaya@w3.org > July to September 2000

Re: Lacking support for automatic counters and numbering

From: Irene VATTON <Irene.Vatton@inrialpes.fr>
Date: Mon, 14 Aug 2000 12:04:44 +0200
Message-Id: <200008141004.MAA06069@tahiti.inrialpes.fr>
To: Lars Fastrup <list@fastrup.net>
cc: www-amaya@w3.org

Hi,

We plan to make progress in the CSS support for the next release but we're
not sure yet we can include this feature.

> 
> --------------7810DD144DE9EB672B0E91A5
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit
> 
> Hi,
> 
> Do anyone know when Amaya will include some more CSS2 functionality? I
> especially miss the part automatic counters and numbering (section 12.5
> in the CSS2 spec.)
> 
> Instead of using this silly "section numbering" feature inside Amaya, I
> think that a much cleaner solution would be to simply using CSS2
> instead. Here is an exceprt from the spec. that inserts a section number
> before h1 and h2 titles, just to illustrate what I mean
> 
> H1:before {
>   content: "Chapter " counter(chapter) ". ";
>   counter-increment: chapter;  /* Add 1 to chapter */
>   counter-reset: section;      /* Set section to 0 */
> }
> 
> H2:before {
>   content: counter(chapter) "." counter(section) " ";
>   counter-increment: section;
> }
> 
> 
> Cheers
> Lars Fastrup
> 
> 
> --------------7810DD144DE9EB672B0E91A5
> Content-Type: text/html; charset=us-ascii
> Content-Transfer-Encoding: 7bit
> 
> <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
> <html>
> Hi,
> <p>Do anyone know when Amaya will include some more CSS2 functionality?
> I especially miss the part <i>automatic counters and numbering</i> (section
> 12.5 in the CSS2 spec.)
> <p>Instead of using this silly "section numbering" feature inside Amaya,
> I think that a much cleaner solution would be to simply using CSS2 instead.
> Here is an exceprt from the spec. that inserts a section number before
> h1 and h2 titles, just to illustrate what I mean
> <p><tt>H1:before {</tt>
> <br><tt>&nbsp; content: "Chapter " counter(chapter) ". ";</tt>
> <br><tt>&nbsp; counter-increment: chapter;&nbsp; /* Add 1 to chapter */</tt>
> <br><tt>&nbsp; counter-reset: section;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /*
> Set section to 0 */</tt>
> <br><tt>}</tt><tt></tt>
> <p><tt>H2:before {</tt>
> <br><tt>&nbsp; content: counter(chapter) "." counter(section) " ";</tt>
> <br><tt>&nbsp; counter-increment: section;</tt>
> <br><tt>}</tt>
> <br><tt></tt>&nbsp;<tt></tt>
> <p><tt>Cheers</tt>
> <br><tt>Lars Fastrup</tt>
> <br><tt></tt>&nbsp;</html>
> 
> --------------7810DD144DE9EB672B0E91A5--
> 

-- 
     Irene.
Received on Monday, 14 August 2000 06:04:47 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:30:32 UTC