-
Notifications
You must be signed in to change notification settings - Fork 101
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
Problem width loading expl3-code.tex #2268
Comments
Hi @charlyms , Yes, we are certainly aware of expl3 being slow. It is currently borderline unusable on texlive 2022 and older (~10 minutes per run) and completely unusable on texlive 2023 (~20 minutes of load time). And that is on linux installations. You pay an additional slowdown penalty on Windows, which has a slower Perl interpreter. There are 2 plans to address this in future latexml milestones:
For now my best advice is to 1) try to avoid expl3 when possible and 2) use texlive 2021 or 2022 for optimal results. |
🥳 |
Can you not just save built artifacts for each package to a local directory? Surely better than a 20 min build time? |
Yes, but not without making the right amount of preparatory work (see #2358 for an example of just one preliminary piece). There is merit to having a The 20 min build time is also a sign that LaTeX 3 support in LaTeXML is not properly tested on newer texlive versions (2023, 2024). There may be other regressions lurking there. So the most sensible short term strategy is to "just" avoid such loads entirely for now. |
new user here (2 days...): just for completeness, this problem is still present with texlive2024 installation on my OSX machine (texlive installed via macports) so this issue could also be tagged texlive2023ff ;). and the run time really is horrendeous ... I am an (probably) ordinary latex user and far from knowing its inner workings, so: how would one "just avoid" expl3? I have no idea what it actually does (not tried, yet, to find out...), and by which package I am using in my documents (e.g. journal article manuscripts with the journals providing prescribed templates) it is requested/included... |
@jghub on your question:
There is no productive way to avoid it entirely, if you want to depend on any actively updated texlive packages. Migrating to LaTeX 3 is very much the plan for the CTAN ecosystem, so the long-term expectation would be that tools like LaTeXML can support that kernel. If you were a proficient user of LaTeXML who wanted to avoid the issue while using a new texlive, your option would be to add local
Should act as a no-op alternative for that load. The tricky part is finding out which other packages now require expl3 support in texlives >2022, and avoiding them entirely (or creating custom bindings for them). I wouldn't recommend this approach for anything but quick testing. And yes, as mentioned in earlier comments, we are painfully aware this is a serious problem going forward, in need of a good solution. |
thanks for these clarifications. re
I tried this (putting such a file in the top-level dir of the latex document from where I execute in any case, thanks again for your response. I understand that it might take time until this issue can be straightened out in a clean way. |
Right, keep adding such |
ah I see, thanks. ok, that then leads to >100 errors (and thus a fatal error...). but I've got the idea. would need to better understand the whole machinery to make sensible use of this approach I guess (as you've already indicated :)). |
I will close here as a duplicate to #2064 which is the first report of this problem. The regression has not yet been solved, the current intention is to use the 0.8.9 release specifically for addressing it. |
Hello, does anyone have an idea why latexml sometimes stucks at the point:
| Digesting > Processing > Loading > Loading > Loading > Processing > Processing definitions C:/Users/.../.../l |ernel.tds/tex/latex/l3kernel/expl3-code.tex
The text was updated successfully, but these errors were encountered: