Skip to content

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

@herter4171

Description

@herter4171

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions