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

Use latex as the program name for kpsewhich#22349

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
timhoffm merged 1 commit intomatplotlib:mainfromQuLogic:luatex-kpsewhich
Jan 30, 2022

Conversation

QuLogic
Copy link
Member

PR Summary

Iftex is not installed, then setting the program name to it will fail to find the 'program' in the current directory, and then be unable to find any TeX files.

Setting it tolatex should be okay, since that's what we're running to create the.dvi in the first place.

PR Checklist

Tests and Styling

  • [n/a] Has pytest style unit tests (andpytest passes).
  • IsFlake 8 compliant (installflake8-docstrings and runflake8 --docstring-convention=all).

Documentation

  • [n/a] New features are documented, with examples if plot related.
  • [n/a] New features have an entry indoc/users/next_whats_new/ (follow instructions in README.rst there).
  • [n/a] API changes documented indoc/api/next_api_changes/ (follow instructions in README.rst there).
  • [n/a] Documentation is sphinx and numpydoc compliant (the docs shouldbuild without error).

@QuLogicQuLogic added this to thev3.5.2 milestoneJan 29, 2022
@QuLogicQuLogic requested a review fromanntzerJanuary 29, 2022 05:30
If `tex` is not installed, then setting the program name to it will failto find the 'program' in the current directory, and then be unable tofind any TeX files.Setting it to `latex` should be okay, since that's what we're runningto create the `.dvi` in the first place.
@QuLogicQuLogic changed the titleUse luatex as the program name for kpsewhichUse latex as the program name for kpsewhichJan 29, 2022
@QuLogic
Copy link
MemberAuthor

I also just noticed thatcheckdep_usetex checks fortex, but I don't see us runningtex, onlylatex; should that be switched too?

@anntzer
Copy link
Contributor

I don't think I have seen a case where latex is installed and not tex, but sure, this seems reasonable.

Also agreed that checkdep_usetex should probably check latex indeed.

@timhoffmtimhoffm merged commit6eba0af intomatplotlib:mainJan 30, 2022
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull requestJan 30, 2022
timhoffm added a commit that referenced this pull requestJan 30, 2022
…349-on-v3.5.xBackport PR#22349 on branch v3.5.x (Use latex as the program name for kpsewhich)
@QuLogicQuLogic deleted the luatex-kpsewhich branchJanuary 31, 2022 22:54
@QuLogic
Copy link
MemberAuthor

I don't think I have seen a case where latex is installed and not tex, but sure, this seems reasonable.

It is the case on my (new-ish) laptop, as I did not install all of texllive, or even a specific scheme, just the few.sty, etc. files I knew were needed for Matplotlib tests.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@anntzeranntzeranntzer approved these changes

@timhoffmtimhoffmtimhoffm approved these changes

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

Successfully merging this pull request may close these issues.

3 participants
@QuLogic@anntzer@timhoffm

[8]ページ先頭

©2009-2025 Movatter.jp