Omikhleia / resilient.sile

Advanced book classes and packages for the SILE typesetting system
MIT License
21 stars 4 forks source link

feat: Add resilient master file document basic support (1.0) #51

Closed Omikhleia closed 1 year ago

Omikhleia commented 1 year ago

Closes #18

To do:

Moved out of scope:

Omikhleia commented 1 year ago

Comment on parts: Jupyter has this interesting structure -- https://jupyterbook.org/en/stable/structure/toc.html#use-parts-to-organize-chapters

format: jb-book
root: index
parts:
  - caption: Name of Part 1
    chapters:
    - file: path/to/part1/chapter1
    - file: path/to/part1/chapter2
      sections:
      - file: path/to/part1/chapter2/section1
  - caption: Name of Part 2
    chapters:
    - file: path/to/part2/chapter1
    - file: path/to/part2/chapter2
      sections:
      - file: path/to/part2/chapter2/section1

And automatic header shifting for Markdown -- https://jupyterbook.org/en/stable/structure/sections-headers.html#how-headers-and-sections-map-onto-to-book-structure -- although they use a “next-header-deeper” nesting strategy which I find weird.

There are some good ideas to consider there.