This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Chunk wish
Norman Walsh a écrit :
> / ben <nicolas.marsgui@libertysurf.fr> was heard to say:
> | I think it could be interesting to specify at which level you want the
> | document splitted. In the current implementation it splits for each
> | section, and I would like to have some new variable (such as
> | chunk.level) through wich you could say to split for each chapter, each
> | part, etc.
>
> Chunking is not a simple task. The stylesheet has to calculate all
> sorts of navigation information (previous, next, up, and home links),
> and calculate the right filename for every cross-reference target.
> And as of a few minutes ago, correctly handle footnote processing :-)
Yes, I've seen it :-)
> I'd love to allow more easily customized chunking, but I haven't
> figured out how just yet. In order to change it, you have to override
> a small number of templates. Look in chunk-common for an example.
Yes, I've overriden two templates to chunk by chapters. In fact, something
interesting could be to put the splitting choice in a single template (such
as "chunk") and make the chunking template engine ("process-chunk-element")
use the chunk template result. But I'm sure it is not easy to do!
> Perhaps it would make sense to provide several "chunking" variants.
> In addition to what is supported now, what other variations would
> people like to see?
Mine is: chapter chunking.
BG
------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org