Description / Summary
Load part content from a file via the following ToC syntax
format: jb-book
root: index
parts:
- file: part_1/index
chapters:
- file: part_1/chapter_1
- file: part_1/chapter_2/index
sections:
- file: part_1/chapter_2/section_1
- file: part_1/chapter_2/section_2
Value / benefit
- Allows to write individual preface for each part -- this page won't be numbered as opposed to individual chapters
- Makes the parts--chapters ToC syntax consistent with chapters--sections syntax
Implementation details
- The
file key seems to be accepted for parts entries, but it has no effect on the ToC
Tasks to complete
No response