I just installed texlive on my windows 10 machine using chocolatey as follows:
choco install texlive --params="'/collections:latexrecommended'" --execution-timeout=14400
I deliberately picked the latexrecommended collection because I would like to check whether this will result in better compile times than the full scheme as outlined by my previous question.
After completing the installation, I tried to compile a tex file which makes use of the glossaries package, but the compilation failed because glossaries apparently is not part of the latexrecommended collection.
I then ran the following command:
tlmgr install glossaries
Which seemed to go find, then I tried to recompile as follows:
latexmk -pdf template.tex
Now I am getting a new error:
! LaTeX Error: File `mfirstuc.sty' not found.
I was under the impression that tlmgr would handle all the dependencies for me when I did something like tlmgr install <package_name> I see now that this is perhaps not the case?
How do I install glossaries such that no .sty dependencies are required during compile time?
tlmgrhas support for package dependencies, but those have to be specified manually, which is not done for that many packages. You will have to install the missing packages one by one. Many people install the recommended full TeX live, which includes all packages, so don't have to worry about missing packages. – moewe Sep 25 '21 at 08:32pdflatex --kpathsea-debug=2 x.texshould show (amongst other things)kdebug:hash_lookup(x.tex) => /usr/local/texlive/2021/texmf-dist/tex/latex/tools/ /usr/local/texlive/2021/texmf-dist/tex/latex-dev/tools/– David Carlisle Sep 25 '21 at 10:23/local/texlive/2021/texmf-dist/tex/latex/tools/but not the/local/texlive/2021/texmf-dist/tex/latex-dev/tools– user32882 Sep 25 '21 at 10:32hash_lookupdebug line then that would have indicated that tex had searched the whole of texmf-dist/tex with time more or less proportional to the number of files in that tree – David Carlisle Sep 25 '21 at 11:04