summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/geometry
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/geometry')
-rw-r--r--Master/texmf-dist/source/latex/geometry/geometry.dtx22
-rw-r--r--Master/texmf-dist/source/latex/geometry/geometry.ins2
2 files changed, 15 insertions, 9 deletions
diff --git a/Master/texmf-dist/source/latex/geometry/geometry.dtx b/Master/texmf-dist/source/latex/geometry/geometry.dtx
index 448a26a3603..97135e1db6b 100644
--- a/Master/texmf-dist/source/latex/geometry/geometry.dtx
+++ b/Master/texmf-dist/source/latex/geometry/geometry.dtx
@@ -50,12 +50,12 @@
%</ignore>
%<package|driver>\NeedsTeXFormat{LaTeX2e}
%<package>\ProvidesPackage{geometry}
-%<package> [2010/02/12 v5.0 Page Geometry]
+%<package> [2010/02/15 v5.1 Page Geometry]
%<*install>
\input docstrip.tex
\Msg{************************************************************************}
\Msg{* Installation}
-\Msg{* Package: geometry 2010/02/12 v5.0 Page Geometry}
+\Msg{* Package: geometry 2010/02/15 v5.1 Page Geometry}
\Msg{************************************************************************}
\keepsilent
@@ -121,7 +121,7 @@ the derived files: geometry.{sty,ins,drv}, geometry-samples.tex.
%</driver>
% \fi
%
-% \CheckSum{2719}
+% \CheckSum{2722}
%
% \CharacterTable
% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -2899,7 +2899,7 @@ the derived files: geometry.{sty,ins,drv}, geometry-samples.tex.
% The option makes all the options specified ineffective except
% verbose switch.
% \begin{macrocode}
-\define@key{Gm}{pass}[true]{\ifGm@preamble{truedimen}{\Gm@setbool{pass}{#1}}}%
+\define@key{Gm}{pass}[true]{\ifGm@preamble{pass}{\Gm@setbool{pass}{#1}}}%
% \end{macrocode}
% \end{key}
% \begin{key}{Gm}{showframe}
@@ -3263,8 +3263,15 @@ the derived files: geometry.{sty,ins,drv}, geometry-samples.tex.
% \end{macro}
%
% \begin{macro}{\Gm@showparams}
+% Prints the resulted parammeters and dimensions to STDOUT
+% if |verbose| is true.
+% |\Gm@width| and |\Gm@height| are expanded to get the real size.
% \begin{macrocode}
\def\Gm@showparams#1{%
+ \ifGm@pass\else
+ \setlength\@tempdima{\Gm@width}\edef\Gm@width{\the\@tempdima}%
+ \setlength\@tempdima{\Gm@height}\edef\Gm@height{\the\@tempdima}%
+ \fi
\ifGm@verbose\expandafter\typeout\else\expandafter\wlog\fi
{\Gm@logcontent{#1}}}%
\def\Gm@showbool#1{\@nameuse{ifGm@#1}#1\space\fi}%
@@ -3598,11 +3605,10 @@ the derived files: geometry.{sty,ins,drv}, geometry-samples.tex.
% \begin{macrocode}
\ifGm@verbose\ifGm@pass\else\Gm@checkmp\fi\fi
% \end{macrocode}
-% If |verbose=true| the parameter results are displayed on the terminal.
-% |verbose=false| (default) still puts them into the log file.
+% |\Gm@showparams| puts the resulted parameters and dimensions
+% into the log file. If |verbose| is true, they are displayed
+% on the terminal as well.
% \begin{macrocode}
- \setlength\@tempdima{\Gm@width}\edef\Gm@width{\the\@tempdima}%
- \setlength\@tempdima{\Gm@height}\edef\Gm@height{\the\@tempdima}%
\Gm@showparams{in the preamble}%
}% end of \AtBeginDocument
% \end{macrocode}
diff --git a/Master/texmf-dist/source/latex/geometry/geometry.ins b/Master/texmf-dist/source/latex/geometry/geometry.ins
index 708705bb796..4a5da0e4e7e 100644
--- a/Master/texmf-dist/source/latex/geometry/geometry.ins
+++ b/Master/texmf-dist/source/latex/geometry/geometry.ins
@@ -26,7 +26,7 @@
\input docstrip.tex
\Msg{************************************************************************}
\Msg{* Installation}
-\Msg{* Package: geometry 2010/02/12 v5.0 Page Geometry}
+\Msg{* Package: geometry 2010/02/15 v5.1 Page Geometry}
\Msg{************************************************************************}
\keepsilent