- From: Liam R. E. Quin <liam@w3.org>
- Date: Wed, 16 Dec 2015 00:51:04 -0500
- To: www-style@w3.org
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. Liam
Received on Wednesday, 16 December 2015 05:51:10 UTC