Skip to content
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

Make a distinction between commands that can or cannot accept files with any extension #3599

Merged
merged 5 commits into from
Jul 12, 2024

Conversation

PHPirates
Copy link
Collaborator

@PHPirates PHPirates commented Jul 11, 2024

Fix #3587

Summary of additions and changes

  • In Handle file extensions case sensitive #3542, the behaviour of findFile() was changed to only accept the found file if the extension is in the provided list. However, this is only correct for commands like \includegraphics, for \input any file extension is fine.

How to test this pull request

\documentclass{article}
\usepackage{graphicx}
\begin{document}
    % works
    \input{kameel.*}

    % fails
    \includegraphics{not-an-image3.nopng}

\end{document}
  • Updated the documentation, or no update necessary
  • Added tests, or no tests necessary

@PHPirates PHPirates added this to the Next milestone Jul 11, 2024
@PHPirates PHPirates enabled auto-merge July 12, 2024 08:29
@PHPirates PHPirates merged commit bd11126 into master Jul 12, 2024
9 checks passed
@PHPirates PHPirates deleted the input-resolve branch July 12, 2024 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

\input{file.pgf} results in a "File not found" inspection error
1 participant