6
submitted 8 months ago by [email protected] to c/[email protected]

I’m just getting into LaTeX and am starting with a project I’ve cloned from GitHub. I immediately ran into problems compiling because of a bunch of missing packages. I was able to get it running by compiling, seeing where it failed, and installing the missing package, but I had to do this one at a time for over a dozen packages. Is there any sort of requirements.txt or package.json file that lists all dependencies so I can pipe them to the package manager to install?

you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 2 points 8 months ago* (last edited 8 months ago)

I haven't heard of any automatic way of doing what you describe. Something could possibly be made, but it would probably be more work than going through the logs to see which packages are needed and installing them. If you have the hard drive space, one solution is to just install all packages and hope that covers it.

Personally I think that it's good practice to list dependencies in a comment in the top of the file, sometimes I even include links where to find specific fonts that are used etc.

this post was submitted on 07 Jan 2024
6 points (100.0% liked)

TeX typesetting

151 readers
1 users here now

A place to share ideas, resources, tips, and hacks for Donald Knuths typesetting software TeX. All variants and formats like OpTeX, LaTeX and ConTeXt are welcome.

founded 1 year ago
MODERATORS