summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/gmeometric
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-11-24 00:44:54 +0000
committerKarl Berry <karl@freefriends.org>2008-11-24 00:44:54 +0000
commitf6476fae9f64a456dfef7c0defb0168eb1f78e21 (patch)
tree9bfcd1e6dcabacb0d4391ff10e49c4e8364f330d /Master/texmf-dist/tex/latex/gmeometric
parent546d5d71b48e2e60b36c9e4538c239a08d4e965a (diff)
gmeometric update (23nov08)
git-svn-id: svn://tug.org/texlive/trunk@11397 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/gmeometric')
-rw-r--r--Master/texmf-dist/tex/latex/gmeometric/gmeometric.sty35
1 files changed, 23 insertions, 12 deletions
diff --git a/Master/texmf-dist/tex/latex/gmeometric/gmeometric.sty b/Master/texmf-dist/tex/latex/gmeometric/gmeometric.sty
index 0821e93eed8..e2b71576076 100644
--- a/Master/texmf-dist/tex/latex/gmeometric/gmeometric.sty
+++ b/Master/texmf-dist/tex/latex/gmeometric/gmeometric.sty
@@ -10,7 +10,7 @@
%% Written by Grzegorz Murzynowski,
%% natror at o2 dot pl
%%
-%% \copyright\,2006, 2007 by Grzegorz Murzynowski.
+%% \copyright\,2006, 2007, 2008 by Grzegorz Murzynowski.
%%
%% This program is subject to the \LaTeX\ Project Public License.
%% See
@@ -26,10 +26,13 @@
% \chschange{v0.70}{2007/4/29}{36}
% \chschange{v0.71}{2007/11/16}{41}
% \chschange{v0.72}{2007/11/17}{239}
+% \chschange{v0.73}{2008/11/22}{237}
+% \toCTAN{v0.73}{2008/11/22}
+%
%
% \skiplines we skip the driver
\ifnum\catcode`\@=12
-\documentclass[codespacesgrey, noindex, pagella]{gmdocc}
+\documentclass[codespacesgrey, noindex, pagella, fontspec=quiet]{gmdocc}
\twocoltoc
\begin{document}
\GetFileInfo{\jobname.sty}
@@ -55,13 +58,13 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{gmeometric}
- [2008/08/06 v0.72 to allow the `geometry' macro in the document (GM)]
+ [2008/11/22 v0.73 to allow the `geometry' macro in the document (GM)]
%
%% \division{Introduction, usage}
%%
%% This package allows you to use the |\geometry| macro, provided by
-%% the \pk{geometry} v3.2 by Hideo Umeki, anywhere in a~document:
+%% the \pk{geometry} v3.2 and v4.1 by Hideo Umeki, anywhere in a~document:
%% originally it's claused |\@onlypreamble| and the main work of
%% \pk{gmeometric} is to change that.
%%
@@ -117,7 +120,7 @@
%
%
% \begin{gmlonely}
-% \subdivision{Compiling of the Documentation}
+% \subdivision{Compiling of the documentation}
%
% The last of the above files (the \pk{.pdf}, i.e., \emph{this
% file}) is a~documentation compiled from the \pk{.sty} file by
@@ -171,18 +174,26 @@
% In some cases it doesn't work perfectly
% anyway. Well, the \acro{(LPPL)} license warns about it.
%
-% \division{The Code}
+% \division{The code}
-\RequirePackage{gmutils}[2007/04/23]% this package defines the storing and
+\RequirePackage{gmutils}[2008/11/21]% this package defines the storing and
% restoring commands.
-% redefine |\@onlypreamble|, add storing to BeginDocument.
-\newcommand*\gme@tobestored{{%
+% Redefine |\@onlypreamble|, add storing to BeginDocument.
+\newcommand*\gme@tobestored{{% this list consists of the \CS'es
+ % relaxed at begin document by \pk{geometry} (the only
+ % \incs{AtBeginDocument} in \pk{geometry} v4.1).
+ % \changes{v0.73}{2008/11/22}{ two \CS'es added to the
+ % list for compatibility with \pk{geometry} v4.1}
\Gm@cnth \Gm@cntv \c@Gm@tempcnt \Gm@bindingoffset \Gm@wd@mp
- \Gm@odd@mp \Gm@even@mp \Gm@orgw \Gm@orgh \Gm@dimlist}}
+ \Gm@odd@mp \Gm@even@mp \Gm@orgpw \Gm@orgph \Gm@orgw \Gm@orgh
+ \Gm@dimlist}}
-\@xa\AtBeginDocument\@xa{\@xa\StoreMacros\gme@tobestored}
+\AtBeginDocument{\@xa\StoreMacros\gme@tobestored}
+% \changes[\AtBeginDocument]{v0.73}{2008/11/22}{removed two
+% \cs{expandafter}s expanding \cs{gme@tobestored}: much less tokens
+% added to the begin-document hook}
\StoreMacro\@onlypreamble
\let\@onlypreamble\@gobble
@@ -394,7 +405,7 @@
% Add restore to BeginDocument:
-\@xa\AtBeginDocument\@xa{\@xa\RestoreMacros\gme@tobestored}
+\AtBeginDocument{\@xa\RestoreMacros\gme@tobestored}
\endinput
% \ChangesGeneral