-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shim SILE.types #11
Comments
It's a lot of work for something that does not bring better typography, and is not even perfect. I could simplify my workflow a lot by removing all my .sile modules from the SILE ecosystem, and bring them all back under the umbrella of the resilient collection. |
Stuck at markdown.sile and resilient.sile: |
Yes, you won't be able to use classes that are not based on SILE's base class and don't do the same things it does. You'll have to add the line I added to SILE's base class to the forked one and set |
I really don't understand why you're using a full fork of the base class instead of creating a new base class and just replacing the functions you want to change. You have exactly the same If deriving a new class from base isn't viable I'd like to understand why ... but even in that case you could still set individual functions from it like |
@alerque Yep, I'm on the issue (though this won't be tonight, it's getting late :) I was just linking the change above so I could investigate the impacts here. Confirming it works if I revert inputters/base.lua to 0.15.4, but the best "quick" solution would of course rather be to update my silex/classes/base.lua correctly. |
"Dev" versions of affected modules all merged and updated if need be on luarocks.
Regarding pagination differences:
This is not unacceptable, and thus next step will be to check my 0.14 workflow still works identically. |
Special SILE 0.14.11 (modified, with C code changes for SILE PR 1792 etc. = preceding production workflow), with all my modules on latest dev:
Note on pagination discrepancies: on the Resilient manual at least some are the same as observed in Omikhleia/resilient.sile#70 (comment) (= when checking output from Lua 5.4 vs. LuaJIT + possibly having some fonts in different versions due to when the docker base image was built) |
All tasks done, all modules tagged and uploaded to luarocks, Yay! |
Doh, forgot one thing... :( |
See sile-typesetter/sile#2053 (comment)
silex.types
compatibility layer (see belowSILE.types
scoped objects in SILE), as we had done in advance forSU.ast
- List here below each module as analyzed, fixed and released
- Non-affected modules: couyards.sile, labelrefs.sile, smartquotes.sile, spreadsheet.sile
So the 0.14-based workflow of my current book projects still works but all modules are prepared for 0.15 (and we'll need testing them with 0.15 but the code should already have been updated -- and we'll have that part behind us if any problem occurs).
Food for though (from @alerque 's script):
I don't think my code base uses those below (as far as I remember), but also to check:
The text was updated successfully, but these errors were encountered: