-
Notifications
You must be signed in to change notification settings - Fork 31
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
Reimplement LaTeX setup snippets using lthooks #93
Comments
We should also ensure that |
I am clearing the 2.11.0 milestone, since lthooks are only compatible with TeX Live 2021 and later. In order to support Overleaf, we will need to postpone using lthooks until TeX Live 2022 or 2023. |
After we start using lthooks, it may be benefitial to remove the compatibility code that works around the absence of lthooks. |
??? It was added to LaTeX 2020-10-01 (there are corrections in later release but the functionality should be there since then). Not sure what Overleaf is at at the moment. |
@FrankMittelbach LaTeX hooks were unavailable in TeX Live 2020 on release and they are also unavailable in the TeX Live image that Overleaf is using at the moment (LaTeX 2020-02-02). Looking for a polyfill to |
This is my mistake, really. When I created this issue, I assumed that there existed a package that served as a basis for the hook management system. As it turns out, a lot of the functionality is either a synthesis of several existing packages or brand new, which is exciting, but it also means that writing backwards-compatible code is difficult with the hooks. |
The concepts as such are brand new but when possible we reimplemented existing (more primitive hooks) with the new functionality. So yes, some of it can't be simply retrofitted except by rolling forward. |
I figured. We will probably start adding bits of |
or perhaps even better:
at the top and then use that (as it is the official interface for it). |
@FrankMittelbach Ok, thank you. Added in d3bdffb. |
more readable, less strange |
Since version 2.10.0, the Markdown package has allowed users to define and invoke snippets that have a local effect on the behavior of markdown elements. By reimplementing snippets using @FrankMittelbach's lthooks instead of general TeX commands, it will be easier for different packages to modify one snippet without stepping on each other's toes.
The text was updated successfully, but these errors were encountered: