Skip to content

Continuation of previous volume in TOC #106

@PaulRambags

Description

@PaulRambags

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:

  1. The pipeline has level1 .. level6 and Dotify has only sequences and blocks.
  2. First the OBFL interface must be changed.

Changes in OBFL:

  • New elements toc-text and toc-text-resumed
  • The content model of toc-entry will change to:
    toc-text [1], toc-text-resumed [0 or 1], toc-entry [0 or more]
  • The content model of toc-text and toc-text-resumed is:
    text(), leader, marker, br, evaluate, page-number, span, style [0 or more]
  • toc-sequence will have a new attribute use-toc-text-resumed [optional]
    One of true of false. The default is false.
    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-entry refers to a block through attribute ref-id. If Dotify decides to apply a volume break such that the block is split accross several volumes, then toc-text-resumed is 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 to any-resumed in a volume-transition.
  • Textual content resides at the toc-text element instead of at the the toc-entry element.

Remarks on the changes in OBFL:

  • The change in content model of toc-entry is not backward compatible. The idea is to make the current content model deprecated, so that toc-entry can 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-entry refers to a block and there is no volume break within a block.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions