-
-
Notifications
You must be signed in to change notification settings - Fork 277
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
Extensions not appended to graphics when file exists #355
Comments
Commit dba9642 appears to contain some relevant code. Because Possibly related issues / discussions:
|
PhelypeOleinik
added a commit
that referenced
this issue
Aug 30, 2020
This changes the behaviour when searching graphics files and both 'file.exta' and 'file.exta.extb' exist, and 'exta' is not a known graphics extension. In that case, the list of known extensions is searched, and if 'extb' is valid, that file is tried instead.
5 tasks
5 tasks
davidcarlisle
pushed a commit
that referenced
this issue
Aug 31, 2020
* Try known extensions in file with dots in the name (fixes #355) This changes the behaviour when searching graphics files and both 'file.exta' and 'file.exta.extb' exist, and 'exta' is not a known graphics extension. In that case, the list of known extensions is searched, and if 'extb' is valid, that file is tried instead. * Add test for 02ddf2a * Add changes.txt and ltnews32.tex entries for 02ddf2a
joel-coffman
added a commit
to joel-coffman/latex-usafa.edu
that referenced
this issue
Dec 7, 2020
Changes to the LaTeX kernel prevent files with multiple periods from being handled consistently. Rather than use one of the workarounds for consistency across systems (particularly CI infrastructure), this change simply removes the offending file from the template. GitHub issue: latex3/latex2e#355
joel-coffman
added a commit
to joel-coffman/latex-usafa.edu
that referenced
this issue
Dec 7, 2020
Changes to the LaTeX kernel prevent files with multiple periods from being handled consistently. Rather than use one of the workarounds for consistency across systems (particularly CI infrastructure), this change simply removes the offending file from the template. GitHub issue: latex3/latex2e#355
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Brief outline of the bug
Not sure if this issue is a bug or simply inconsistent behavior due to kernel changes related to the handling of file names. When including an image and the file name contains a dot (
.
), known extensions (e.g., .png) are automatically appended unless a file with the "base" name exists when using LaTeX2e <2020-02-02> patch level 2. For example, including the imagelatex-project-logo.svg.png
fails when the filelatex-project-logo.svg
exists. In contrast, prior versions compile successfully when both files exist.Minimal example showing the bug
Compilation fails with the following error message:
To be clear, the directory contains the following files:
Due to kernel changes related to the handling of file names, a slight change is needed to compile this document for older kernels:
With this change, the same document compiles on the following systems (pdfTeX and LaTeX versions copied from output):
Log file (required) and possibly PDF file
mwe.log
latex-project-logo.svg.gz (compressed due to GitHub's restrictions on types of attachments)

The text was updated successfully, but these errors were encountered: