summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-geometry.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-geometry.sty')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-geometry.sty14
1 files changed, 13 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-geometry.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-geometry.sty
index 3afb9e6aa60..c5c2ee4c37a 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-geometry.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-geometry.sty
@@ -17,7 +17,19 @@
%% version 2005/12/01 or later.
-\LWR@ProvidesPackageDrop{geometry}[2018/04/16]
+\LWR@ProvidesPackageDropA{geometry}{2018/04/16}
+\ifbool{LWR@allowanothergeometry}{%
+\newcommand*{\LWR@newgeometryoptions}{reset,}
+
+\DeclareOption*{%
+ \edef\LWR@newgeometryoptions{\LWR@newgeometryoptions\CurrentOption,}%
+}
+\ProcessOptions\relax
+\ifdefvoid{\LWR@newgeometryoptions}{}{
+ \expandafter\LWR@origgeometry\expandafter{\LWR@newgeometryoptions}
+}
+
+}{}% LWR@allowanothergeometry
\renewcommand*{\geometry}[1]{}
\renewcommand*{\newgeometry}[1]{}
\renewcommand*{\restoregeometry}{}