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

Re: [css-gcpm] String-set issues

From: Håkon Wium Lie <howcome@opera.com>
Date: Tue, 25 Nov 2014 03:19:54 +0100
Message-ID: <21619.59210.300154.440170@opera.com>
To: Liam R E Quin <liam@w3.org>
Cc: Håkon Wium Lie <howcome@opera.com>, Brad Kemper <brad.kemper@gmail.com>, www-style list <www-style@w3.org>, Dave Cramer <Dave.Cramer@hbgusa.com>
Liam R E Quin wrote:

 > >  >   003-14 14.2.1 The Section Title Here            [ short form of current lemma title ]
 > >  >
 > >  > where the chapter number is 2 digits, there's a fixed hyphen before
 > >  > the page number, and the running header contains MathML (or
 > >  > Japanese Ruby)...
 > > 
 > > I'm not sure I understand what you mean with "two digits" above,

 > The leading zero.

So, are you asking for a string of two zeros before each chapter number? Like:
   
   content: "00" counter(chapter) "-" ...

Or, are you demanding something like:

   content: sprintf("%03d", counter(chapter)) "-" ...

be be added to CSS?

-h&kon
              Håkon Wium Lie                          CTO °þe®ª
howcome@opera.com                  http://people.opera.com/howcome
Received on Tuesday, 25 November 2014 02:20:22 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:26 UTC