Re: [gcpm] coalescing sequences of numbers for cross-references, back-of-the-book index etc

> On Dec 16, 2015, at 14:51, Liam R. E. Quin <liam@w3.org> wrote:
> 
> This proposal is to fill in a missing piece in making
> pagimaged/foliated media (i.e. with page numbers) using CSS.
> 
> Right now you can't really generate a back-of-the-book index properly
> in an interoperable way. So we need to fix it. This is a declarative
> approach, identifying to the formatter/browser/user agent which items
> in a list are to be collapsed if they are the same number or
> consecutive numbers, so that
>    index items: 3, 15, 16, 17, 17, 17, 26
> is rendered instead as
>    index items: 3, 15-17, 26
> 
> You can't do this today in pure CSS because you don't know the page
> numbers in advance. 
> 
> See http://barefootliam.blogspot.ca/2015/12/declarative-index-proposal-
> for-printing.html for the actual proposal.
> 
> I'm sure the details aren't all right, but I have some confidence in
> the approach - or at any rate it worked for XSL-FO and is in use.


Hi,

Thanks for getting this discussion (re)started. I haven't yet had time to
really dive into your proposal and evaluate it, but I completely agree that
this is something that CSS ought to be able to address,
and Vivliostyle is interested implementing this type of feature.

Just a quick question though, you use one property that you're not
defining: index-entry. Where's that from?

 - Florian

Received on Wednesday, 16 December 2015 07:39:20 UTC