[rfc-i] Pagination requirements

Julian Reschke julian.reschke at gmx.de
Fri May 25 09:27:55 PDT 2012


On 2012-05-25 17:51, Joe Touch wrote:
>
> On May 25, 2012, at 8:45 AM, Iljitsch van Beijnum wrote:
>
>> On 25 mei 2012, at 17:11, Julian Reschke<julian.reschke at gmx.de>  wrote:
>>
>>> Containment is not only simpler to process, it also ensures on the source level that the document structure makes sense.
>>
>>> I recommend you google for "HTML outline algorithm" for attempts to extract a usable section tree from an HTML document.
>>
>> Not sure what "containment" means.
>
> It's the difference between:
>
> <h2>Heading 2</H2>
> <p>This is one paragraph</p>
> <p>This is another</p>
>
> and
>
> <section>
> <h2>Heading 2</H2>
> <p>This is one paragraph</p>
> <p>This is another</p>
> </section>
>
>> I don't see how making the format harder to generate for humans just so tools have it easier makes sense.
>
> +1
>
> But I think this isn't easier for tools - I think it's 'nicer' for some academic definition of nice, but not for practical use.

Well, not having containment will make it much much harder to extract 
meaningful information, such as a page range for an index entry.

I still don't understand what problems is solved by flattening the 
structure.

Best regards, Julian


More information about the rfc-interest mailing list