In an old version of a file from a TexLive 2017 compile the following line compiles correctly.
\node[draw,anchor=north,inner sep=0pt] (quiz) at ($(current page.north)+(0in,-1.25in)$) {\includegraphics[angle=0,width=\dimexpr\aewidth pt- 1cm]{fig/exit_slip/{exit_slip.w01.3.lec.01}.pdf}};
But in TexLive 2021, I get the following error
! Package pdftex.def Error: File `fig/exit_slip/{exit_slip.w01.3.lec.01}.pdf' n
ot found: using draft setting.
See the pdftex.def package documentation for explanation.
Type H <return> for immediate help.
...
l.81 ...ig/exit_slip/{exit_slip.w01.3.lec.01}.pdf}
};
The file exists and is name correctly. If I compile under TexLive 2017, there are no errors raised.
What's changed for 2021 (or something inbetween the years) that this no longer works?
{}
in its filename?{}
because LaTeX kept parsing the extension incorrectly.grffile
at the time instead of using braces.aaa/bbb/{x.y.z}.pdf
no special handling of the brace group is done.