| From | Sent On | Attachments |
|---|---|---|
| ben | Apr 9, 2001 1:36 pm | |
| Mark Pilgrim | Apr 11, 2001 2:01 pm | |
| ben | Apr 13, 2001 12:03 pm | |
| Norman Walsh | Apr 15, 2001 4:58 am | |
| ben | Apr 15, 2001 7:42 am | |
| Dave Pawson | Apr 15, 2001 7:49 am | |
| Norman Walsh | Apr 16, 2001 12:56 pm | |
| Dave Pawson | Apr 18, 2001 10:22 pm | |
| Sylvain Amrani | Apr 22, 2001 3:14 pm | |
| Richard Sharpe | Apr 22, 2001 8:51 pm | |
| Norman Walsh | Apr 23, 2001 3:44 am | .dvi |
| Norman Walsh | Apr 24, 2001 5:58 am | |
| ben | Apr 27, 2001 6:48 pm |
| Subject: | Re: DOCBOOK-APPS: Chunk wish | |
|---|---|---|
| From: | ben (nico...@libertysurf.fr) | |
| Date: | Apr 15, 2001 7:42:01 am | |
| List: | org.oasis-open.lists.docbook-apps | |
Norman Walsh a écrit :
/ ben <nico...@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






.dvi