-
Notifications
You must be signed in to change notification settings - Fork 9
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
preloading tikz and listings #91
Comments
You can preload listings with all its dependencies but not tikz. As long as you are using --preload, listings now auto-magically loads all language definition files, so that you never need to load anything during the actual conversion runs. We need something similar for tikz, but preloading all of tikz will be rather slow. There are many libraries and each takes tens of seconds to load with LaTeXML. |
In what way is But if I understand correctly, preloading the core tikz should be possible (i.e. all that is loaded by |
Well, tikz does a lot more than listings, and it is much larger, making it a lot slower to load. Also, the raw TeX loading is a much bigger component for tikz than it is for listings. You can already do |
@kohlhase can this be closed, too? |
yes |
There has been a fix in Bruce's LaTeXML branch which (I hope) allows to preload all of listings.sty.ltxml and tikz.sty.ltxml with all their dependencies. This should speed up conversion by a large factor, so I had hoped that this would find its way into the KWARC branch, but we still seem to be re-loading the dependencies every time.
@dginev could you please clarify?
It seems that
lmh
still uses the genericstex-modules.opt
profile, that should change as well.The text was updated successfully, but these errors were encountered: