-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
added latex requirements from fedora spec #29764
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
Conversation
bd182db
to
1ab1a65
Compare
Are any of these transitive dependencies? If so it would be good to get this down to the minimal set that the user has to ask to be installed (vs the set that a package manager will decide it has to install). |
Can't find an easy way to check transitive dependencies - I used tlmgr show to condense the original fedora list to a few packages (most of the fonts are in psnfss, most of the utilities are in lwarp, etc) , but can't figure out how to see dependencies for packages. Most of the packages are included in the collections, which are installed if you're not using the most minimal installs. I don't know how many of these are installed if you're using a different distro (such as miktex) * `cm <https://ctan.org/pkg/cm>`_ (collection-basic)
* luahbtex (collection-basic)
* `cm-super <https://ctan.org/pkg/cm-super>`_ (collection-fontsrecommended)
* `lm <https://ctan.org/pkg/lm>`_ (collection-fontsrecommended)
* `txfonts <https://ctan.org/pkg/txfonts>`_ (collection-fontsrecommended)
* `latex <https://ctan.org/pkg/latex>`_ and latex-bin (collection-latex)
* `psnfss <https://ctan.org/pkg/psnfss>`_ (collection-latex)
* `import <https://ctan.org/pkg/import>`_ (collection-latexextra)
* `sfmath <https://ctan.org/pkg/sfmath>`_ (collection-latexextra)
* `type1cm <https://ctan.org/pkg/type1cm>`_ (collection-latexextra)
* `fontspec <https://ctan.org/pkg/fontspec>`_ (collection-latexrecommended)
* `lwarp <https://ctan.org/pkg/lwarp>`_ (collection-latexrecommended)
* `xetex <https://ctan.org/pkg/xetex>` and xetex-bin (collection-xetex) The only package that's not in a required collection is dvipng. |
6b498e8
to
5e14fb8
Compare
According to ChatGPT
So whether a minimal set is sufficient or whether the user has to install all transitive dependencies depends on whether you use tlmgr or your package manager. 😞 If one wanted to be precise you'd need the distinction. But maybe we don't have to care too much? Installing the given dependencies gives you a working system, which is what counts most. |
It's more complex than that b/c if you use the tlmgr gui, you get the option to also install dependencies.
My motivation here was installing cm-super and collections-fontrecommend and googling all the errors and I couldn't get things working until I went line by line on the fedora list. Which I kinda wrote this more for an audience that's troubleshooting their install than someone setting it up.
There might be some packages in collection-basic that I haven't listed, have no idea how to track them down. |
d147e66
to
9c8dc60
Compare
Why does this new commit remove |
0e2927f
to
36db4b3
Compare
b/c my git repo somehow got messy :/ |
LGTM |
doc/install/dependencies.rst
Outdated
`MikTeX <https://miktex.org/>`_ | ||
|
||
The following LaTeX packages: | ||
|
||
When using tex-live, the following collections must be installed. If you cannot install |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When using tex-live, the following collections must be installed. If you cannot install | |
When using TeX Live, the following collections must be installed. If you cannot install |
But does this not really also apply to MikTeX?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think miktex has collections but I can make clearer that these packages need to be installed regardless of distro
PR summary
Wrote out the list of latex dependencies from #27282 (comment) b/c I had to update to texlive 2025 and got errors until I installed the whole list.
I think this also closes #24646 b/c 'minimal' is probably encapsulated in the collections.
PR checklist