Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
QuLogic merged 1 commit intomatplotlib:mainfromstory645:latex-dep
May 2, 2025

Conversation

story645
Copy link
Member

@story645story645 commentedMar 17, 2025
edited
Loading

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 alsocloses#24646 b/c 'minimal' is probably encapsulated in the collections.

PR checklist

@story645story645force-pushed thelatex-dep branch 3 times, most recently frombd182db to1ab1a65CompareMarch 17, 2025 22:24
@tacaswell
Copy link
Member

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).

@story645
Copy link
MemberAuthor

story645 commentedMar 18, 2025
edited
Loading

If so it would be good to get this down to the minimal set that the user has to ask to be installed

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.

@story645story645force-pushed thelatex-dep branch 4 times, most recently from6b498e8 to5e14fb8CompareMarch 18, 2025 20:11
@timhoffm
Copy link
Member

According to ChatGPT

Package Manager: tlmgr (TeX Live Manager)
Dependency Handling:

tlmgr does not automatically install dependencies when you install a package manually. You need to ensure you install all required dependencies yourself.
However, if you install TeX Live using a package manager like apt (Ubuntu) or brew (macOS), dependency resolution is handled by those package managers.
The full TeX Live installation (scheme-full) includes all packages, preventing dependency issues.

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.

@story645
Copy link
MemberAuthor

story645 commentedMar 18, 2025
edited
Loading

whether the user has to install all transitive dependencies depends on whether you use tlmgr or your package manager

It's more complex than that b/c if you use the tlmgr gui, you get the option to also install dependencies.

But maybe we don't have to care too much?

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.

Installing the given dependencies gives you a working system

There might be some packages in collection-basic that I haven't listed, have no idea how to track them down.

@story645story645force-pushed thelatex-dep branch 2 times, most recently fromd147e66 to9c8dc60CompareMarch 18, 2025 23:38
@github-actionsgithub-actionsbot added the Documentation: examplesfiles in galleries/examples labelApr 10, 2025
@davidlowryduda
Copy link
Contributor

Why does this new commit removegalleries/examples/text_labels_and_annotations/titles_demo.py?

@story645story645force-pushed thelatex-dep branch 3 times, most recently from0e2927f to36db4b3CompareApril 10, 2025 20:17
@story645
Copy link
MemberAuthor

b/c my git repo somehow got messy :/

davidlowryduda reacted with thumbs up emoji

@davidlowryduda
Copy link
Contributor

LGTM

`MikTeX <https://miktex.org/>`_

The following LaTeX packages:

When using tex-live, the following collections must be installed. If you cannot install
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Suggested change
When usingtex-live, the following collections must be installed. If you cannot install
When usingTeX Live, the following collections must be installed. If you cannot install

But does this not really also apply to MikTeX?

Copy link
MemberAuthor

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

@story645
Copy link
MemberAuthor

Reworked it into a table and I think this is much clearer:
image

@QuLogicQuLogic modified the milestones:v3.10.2,v3.11.0May 2, 2025
@QuLogicQuLogic merged commitd7c4fb0 intomatplotlib:mainMay 2, 2025
22 checks passed
@story645story645 deleted the latex-dep branchMay 2, 2025 12:00
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@QuLogicQuLogicQuLogic approved these changes

@davidlowrydudadavidlowrydudadavidlowryduda approved these changes

Assignees
No one assigned
Projects
None yet
Milestone
v3.11.0
Development

Successfully merging this pull request may close these issues.

[Doc]: minimal working LaTeX
5 participants
@story645@tacaswell@timhoffm@davidlowryduda@QuLogic

[8]ページ先頭

©2009-2025 Movatter.jp