summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/latex/gmutils/gmutilsDoc.pdfbin751562 -> 752950 bytes
-rw-r--r--Master/texmf-dist/tex/latex/gmutils/gmutils.sty22
2 files changed, 18 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/latex/gmutils/gmutilsDoc.pdf b/Master/texmf-dist/doc/latex/gmutils/gmutilsDoc.pdf
index dc4e8015e3b..7d6a7f3f3a2 100644
--- a/Master/texmf-dist/doc/latex/gmutils/gmutilsDoc.pdf
+++ b/Master/texmf-dist/doc/latex/gmutils/gmutilsDoc.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/gmutils/gmutils.sty b/Master/texmf-dist/tex/latex/gmutils/gmutils.sty
index 2d2c7a78f3f..4732dc42dfe 100644
--- a/Master/texmf-dist/tex/latex/gmutils/gmutils.sty
+++ b/Master/texmf-dist/tex/latex/gmutils/gmutils.sty
@@ -40,12 +40,13 @@
% \chschange{v0.74}{06/12/1}{1185}
% \chschange{v0.76}{07/4/9}{1538}
% \chschange{v0.77}{07/4/14}{1547}
-% \chschange{v0.78}{2007/4/26}{1685}
+% \chschange{v0.78}{07/4/26}{1685}
+% \chschange{v0.80}{2007/4/29}{1689}
%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{gmutils}
- [2007/04/24 v0.78 some rather TeXnical macros, some of them tricky (GM)]
+ [2007/04/28 v0.80 some rather TeXnical macros, some of them tricky (GM)]
%
% \tableofcontents
@@ -892,9 +893,18 @@
% anything. Nowadays, when memory is cheap, the list of only-preamble
% commands should be rethought \IMO.
-\newcommand\not@onlypreamble[1]{%
+
+% \CodeDefine\not@onlypreamble
+% \changes{v0.79}{2007/04/28}{All the actions are done in a~group and
+% therefore \cs{xdef} used instead of \cs{edef} because this command
+% has to use \cs{do} (which is contained in the \cs{@preamblecmds}
+% list) and \cs{not@onlypreamble} itself should be able to be let to
+% \cs{do}}
+\newcommand\not@onlypreamble[1]{{%
\def\do##1{\ifx#1##1\else\@nx\do\@nx##1\fi}%
- \edef\@preamblecmds{\@preamblecmds}}
+ \xdef\@preamblecmds{\@preamblecmds}}}
+
+
\not@onlypreamble\@preamblecmds
\not@onlypreamble\@ifpackageloaded
@@ -1459,6 +1469,10 @@
\def\dekmedskip{\vskip\medskipamount}
\def\dekbigskip{\vskip\bigskipamount}
+% \CodeDefine\hfillneg
+% \changes{v0.80}{2007/04/28}{added}
+\def\hfillneg{\hskip 0pt plus -1fill\relax}
+
% In some |\if(cat?)|\ test I~needed to look only at the first token of
% a~tokens' string (first letter of a~word usually) and to
% drop the rest of it. So I~define a~macro that expands