Re: [docbook] section element

From
Mats Broberg <>
Date
2014-11-18T17:57:13+00:00
ID
Thread
Re: [docbook] section element
Hello,

Yes, an allowed section element directly under book or part would be great. OTOH, I don't want to modify, so perhaps I'll resort to article then. Any disadvantages using article for lengthy publications of this type?

Mats

2014-11-18 15:38 GMT+01:00 Aaron DaMommio <>:

Mats,
This is something I've been thinking about. I've considered modifying our schema to allow section to appear at the root of books....and then kludging that to work downstream  by simply converting, in a preprocessing step, the first level of sections to chapters. 

One could use DocBook 5.1 assemblies to get around the limitations of sections, by transforming them as needed into other elements. But I keep thinking that our system would be simpler if we routinely used sections everywhere.  

I guess it's obvious that it would be simpler. But I think the simplification would be worth it.

We typically author books which are consumed as pdfs and as chunked html; the chunked html is used more; and the chunked html makes book-oriented elements like prefaces and appendices less prominent and less important. So I think the tradeoff of not having other elements at the root of the book would be worthwhile. 

--Aaron DaMommio