Improve usetex and pgf troubleshooting docs.#30040
Merged
timhoffm merged 1 commit intomatplotlib:mainfrom May 12, 2025
Merged
Conversation
story645
reviewed
May 11, 2025
Comment on lines
+152
to
+153
| * Some required LaTeX packages, such as type1cm, may be missing from minimalist | ||
| TeXLive installs. Required packages are listed at :ref:`tex-dependencies`. |
Member
There was a problem hiding this comment.
Suggested change
| * Some required LaTeX packages, such as type1cm, may be missing from minimalist | |
| TeXLive installs. Required packages are listed at :ref:`tex-dependencies`. | |
| * Some required LaTeX packages, such as type1cm, may be missing from minimalist installs. Required packages are listed at :ref:`tex-dependencies`. |
I think minimalist any installs? (like the original issue was from someone on a mac)
Comment on lines
+135
to
+136
| * Make sure LaTeX, dvipng, and Ghostscript are each working and on your | ||
| :envvar:`PATH`. The :envvar:`PATH` environment variable may need to |
Member
There was a problem hiding this comment.
can you give an example of what this means, particularly for dvipng?
Contributor
Author
There was a problem hiding this comment.
I'll claim this text is at least not worse than the previous one, and that a more detailed description of $PATH (probably something like "shutil.which("foo") returns something else than None) should go to environment_variables_faq.rst, but this can be done as a separate PR.
(Also, the dependency on dvipng may be removed soon, see #30039.)
- Merge "Troubleshooting" and "Possible hangups". - Don't list $PATH issues twice. - Remove mention of dvipng for pgf (which doesn't use dvipng). - Be more generic re: missing latex packages (this applies to all texlive installs, and the required list is given elsewhere).
timhoffm
approved these changes
May 12, 2025
Member
|
I believe this is good enough. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR summary
PR checklist