at \begin{document}, because the ifvtex package defines \IFTEX@let{vtexdvi}{false} while the iftex package does not do so. Either the iftex package needs to incorporate the code form the ifvtext package, or geometry needs to change its code accordingly, so that the ifvtext package-code is no longer needed and iftex can be loaded directly.
geometry
still uses theifvtex
package, which just calls theiftex
package anyway, thusgeometry
should loadiftex
instead.Already done was:
[Release 5.9] Do not load ifxetex and ifpdf packages (use combined iftex package) Include German translation of the documentation.
BUT
changing
\RequirePackage{ifvtex}
to\RequirePackage{iftex}
givesat
\begin{document}
, because the ifvtex package defines\IFTEX@let{vtexdvi}{false}
while the iftex package does not do so. Either the iftex package needs to incorporate the code form theifvtext
package, orgeometry
needs to change its code accordingly, so that theifvtext
package-code is no longer needed andiftex
can be loaded directly.