Omikhleia / resilient.sile

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

Switching to the new style paradigm API (breaking) #12

Closed Omikhleia closed 1 year ago

Omikhleia commented 1 year ago

This got mentioned in #11 and https://github.com/Omikhleia/markdown.sile/discussions/34#discussioncomment-4246305, and it is one of the major uncompleted task from the old repository https://github.com/Omikhleia/omikhleia-sile-packages/issues/13 (first bullet), it might be the good time for moving on, regarding the "version 2" Style Paradigm topic.

To summarize the things at stakes

So big breaking changes were considered, and some work even started privately in that direction. Without committing on a deadline, I'll open a PR referring to this issue, and push there the design documents, (part of) the current code changes (some were made in a private repository for my next book -- I'll check how to cherry-pick them, or just copy the relevant code if it's too entangled).

These changes encompass a lot of breaking changes regarding the styling API inherited from the old Omikhleia classes. (Die, \style:define and SIL-like friends, die!). When it's there, follow the PR and don't hesitate commenting it ;-)

[^1]: For the mere record, it's that book. [^2]: With all the ongoing development of the support packages at the same time (tables, cross-refs, captioned figures, poetry...), it left little time to make sound decisions regarding the internals of the styling stuff. Then came some major work on the Markdown package collection, the switch to SILE 0.14... And a new book project....