W3C home > Mailing lists > Public > www-style@w3.org > February 2013

Re: [css4-page] Cross-references

From: Simon Sapin <simon.sapin@kozea.fr>
Date: Fri, 08 Feb 2013 07:32:50 -0800
Message-ID: <51151AA2.2000301@kozea.fr>
To: Chris Lilley <chris@w3.org>
CC: Daniel Glazman <daniel.glazman@disruptive-innovations.com>, www-style list <www-style@w3.org>
Le 08/02/2013 01:57, Chris Lilley a crit :
> Hello Simon,
> Friday, February 8, 2013, 9:34:42 AM, you wrote:
>> Context:
>> http://krijnhoetmer.nl/irc-logs/css/20130205#l-670
>> Daniel, in Tucson you talked about more powerful page headers/footers,
>> bookmarks, footnotes, etc. Another feature that has a big demand for
>> printing is cross-references. These allow, among other things, tables of
>> contents with automatic page numbers.
> Yes.
> One  of  the  things  that  often stops me using css-generated list or
> header numbering (and instead to hard-code the numbers in the content)
> is the need to refer to them in prose:
>    as described in section 4.2 
>    item 3 in the list above demonstrates 
> Note that these are all same-document references[1].

I think this is covered by GCPMs target-counter().

> [1] I imagine it will be another 10 years before we can make a robust
> but autonumbered reference from chapter5.html to section 2.7.4 of
> chapter2.html, both using stylesheet-generated numbering.

Actually target-counter()s syntax could also allow this. (The target is 
an URL, presumably one with a #fragment.) Implementing it is of course 
another story. This is one of the points where the feature is yet 

Simon Sapin
Received on Friday, 8 February 2013 15:33:18 UTC

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