sile-typesetter / sile

The SILE Typesetter — Simon’s Improved Layout Engine
https://sile-typesetter.org
MIT License
1.61k stars 97 forks source link

Display math numbering #2020

Closed Omikhleia closed 1 month ago

Omikhleia commented 2 months ago

Something is better than nothing -- This is a curated re-implementation of @leorosa 's #1821 taking into account all comments there.

Two test files are also included. (While the package code does not depend on it, tests uses the blockquote environment for checking margin stkips are honored, hence the 0.15 milestone label).

STILL TO DO: Generate the text expectations (my fresh install of SILE using the nix flake for the "develop" branch doesn't have the appropriate font versions, and I don't want to alter the host's fonts)

Omikhleia commented 1 month ago

@leorosa Of course you are credited viaCo-authored-by in the main commit.

leorosa commented 1 month ago

@leorosa Of course you are credited viaCo-authored-by in the main commit.

Don't worry about that. I'm really happy to see this (needed) feature in sile! And sorry for not being able to progress with my PR: more than the 'credit', it would be useful to me, to learn more about git and tests. Maybe next time :)

alerque commented 1 month ago

I just pushed test expectations.