Skip to content
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

Install missing packages in compiling documents in TeXLive #11

Open
lvjr opened this issue Nov 25, 2024 · 0 comments
Open

Install missing packages in compiling documents in TeXLive #11

lvjr opened this issue Nov 25, 2024 · 0 comments

Comments

@lvjr
Copy link
Owner

lvjr commented Nov 25, 2024

Maybe I can add a new compile action to texfindpkg, so that with

texfindpkg compile -options somefile.tex

texfindpkg extracts the preamble of somefile.tex, then detects and installs missing packages with it before compiling the whole document. Obviously texfindpkg should remember the preamble, so as to ignore the detection when the preamble is unchanged.

There are two ways to detect missing packages: (1) searching \usepackage and other similar commands; (2) compiling the preamble (with empty document body) first and checking the log file. Not sure which one is better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant