Re: Floats, books and regions

On 27/01/14 03:49, L. David Baron wrote:

> Using CSS to create a table of contents seems to me to be using CSS
> on the wrong side of the barrier between content and presentation; a
> table of contents is a part of the content presented to the user and
> should be in the content in the markup, not merely something brought
> into existence by the presentation.

No. I have numerous examples dating to P language and DSSSL at the
beginning of the '90s where a table of contents is just another
stylesheet applied to the document. That's why we originally wanted
multiple views per document. To generate a table of contents, you
basically have to apply |display:none| to elements not h1...h6 nor
descendants of such header elements.

A table of contents is not necessarily clickable and made of hyperlinks.
I agree that auto-generating a clickable ToC is another story and a
different beast, but a simple ToC is a different view of the same
document and has always been considered by the TechDoc industry as
purely stylistic.

</Daniel>

Received on Monday, 27 January 2014 06:26:35 UTC