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

Can we have an option to disable utils.fix_filename? #351

Open
herter4171 opened this issue Apr 12, 2022 · 1 comment
Open

Can we have an option to disable utils.fix_filename? #351

herter4171 opened this issue Apr 12, 2022 · 1 comment

Comments

@herter4171
Copy link

I'm on Amazon Linux 2 using TeX Live 2022, and it doesn't complain about multiple dots in an \includegraphics path. Conversely, it will not compile when those extra curly brackets are there, so for now I have to do cheesy work-around like cleaning up the TeX and invoking pdflatex directly.

Just to be clear, this works for me.

\includegraphics[width=0.35\textwidth]{Figures/power_dens_2D_ENDFB8.0_kp_endfb71_mcnp.pdf}%

This does not work.

\includegraphics[width=0.35\textwidth]{Figures/{power_dens_2D_ENDFB8.0_kp_endfb71_mcnp}.pdf}%

What the system tells me when the extra curly brackets are there is as follows.

LaTeX Warning: File `Figures/{power_dens_2D_ENDFB8.0_kp_endfb71_mcnp}.pdf' not 
found on input line 27.

If there was a way for me to toggle having utils.fix_filename enabled, that would help me out a lot.

@JelteF
Copy link
Owner

JelteF commented Apr 13, 2022

There's no way currently, but feel free to make a PR.

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

No branches or pull requests

2 participants