From fdad88bff6e5435dfd6d45c8a33532fe9b5e628d Mon Sep 17 00:00:00 2001 From: SurJector Date: Sun, 26 Dec 2021 17:53:15 +0100 Subject: [PATCH] Fix Issue "Over-specification in `h'-direction" \ifGm@hbody is true if either width, textwidth or hscale is set. In \Gm@clean, those three are cleared, so \ifGm@hbody should be set to false. Same happens for the 'v' direction. --- geometry.dtx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/geometry.dtx b/geometry.dtx index 3750935..40a2731 100644 --- a/geometry.dtx +++ b/geometry.dtx @@ -2321,11 +2321,13 @@ the derived files: geometry.{sty,ins,drv}, geometry-samples.tex. \let\Gm@hscale\@undefined \let\Gm@width\@undefined \let\Gm@textwidth\@undefined + \Gm@hbodyfalse \fi \ifGm@vbody\else \let\Gm@vscale\@undefined \let\Gm@height\@undefined \let\Gm@textheight\@undefined + \Gm@vbodyfalse \fi }% % \end{macrocode}