-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
As Dedicon I want to be able to configure a special entry that should appear in the TOC when a volume break occurs in the middle of a section.
For instance, suppose Dotify decides to apply a volume break in Chapter 1, the TOC of the second volume should contain "Continuation of Chapter 1" and contents of the second chapter should start with "Contination of Chapter 1".
Notes:
- The pipeline has level1 .. level6 and Dotify has only sequences and blocks.
- First the OBFL interface must be changed.
Changes in OBFL:
- New elements
toc-textandtoc-text-resumed - The content model of
toc-entrywill change to:
toc-text[1],toc-text-resumed[0 or 1],toc-entry[0 or more] - The content model of
toc-textandtoc-text-resumedis:
text(),leader,marker,br,evaluate,page-number,span,style[0 or more] toc-sequencewill have a new attributeuse-toc-text-resumed[optional]
One oftrueoffalse. The default isfalse.
This allows, for instance, to have "Continuation of chapter ..." entries in all volume range TOCs, while the document range TOC does not have such entries.
Semantics:
- Every
toc-entryrefers to ablockthrough attributeref-id. If Dotify decides to apply a volume break such that the block is split accross several volumes, thentoc-text-resumedis applied in all those volumes except the first one. - The contents of all split volumes except the first one will start with
toc-text-resumed. This functionality is similar toany-resumedin avolume-transition. - Textual content resides at the
toc-textelement instead of at the thetoc-entryelement.
Remarks on the changes in OBFL:
- The change in content model of
toc-entryis not backward compatible. The idea is to make the current content model deprecated, so thattoc-entrycan still contain these elements for a while:text(),leader,marker,br,evaluate,page-number,span,style. - Structure and content of TOC entries are clearly separated, which is nice.
- It can happen that a volume is split in between two sections. A new section must be started, for instance, when the page-numbering style changes. This approach can not be used in such cases, because the
toc-entryrefers to ablockand there is no volume break within ablock.