summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/gmdoc
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-11-24 00:46:00 +0000
committerKarl Berry <karl@freefriends.org>2008-11-24 00:46:00 +0000
commit108f19553521713f0ab4a50e96e4aedfc4954fdb (patch)
treefeb97522b4c0b507a2a6e390d9939c4474b3ab5a /Master/texmf-dist/tex/latex/gmdoc
parent308fdc2ae7818991e83fa1db83cdadf1f0deab39 (diff)
gmdoc update (23nov08)
git-svn-id: svn://tug.org/texlive/trunk@11400 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/gmdoc')
-rw-r--r--Master/texmf-dist/tex/latex/gmdoc/gmdoc.sty58
1 files changed, 29 insertions, 29 deletions
diff --git a/Master/texmf-dist/tex/latex/gmdoc/gmdoc.sty b/Master/texmf-dist/tex/latex/gmdoc/gmdoc.sty
index 10a8e6eaeb3..8cfdcd0628e 100644
--- a/Master/texmf-dist/tex/latex/gmdoc/gmdoc.sty
+++ b/Master/texmf-dist/tex/latex/gmdoc/gmdoc.sty
@@ -63,6 +63,9 @@
% \chschange{v0.99n}{2008/8/22}{5409}
% \chschange{v0.99n}{2008/8/30}{5547}
% \chschange{v0.99p}{2008/10/4}{5607}
+% \chschange{v0.99q}{2008/10/10}{5603}
+% \chschange{v0.99r}{2008/11/22}{5607}
+% \toCTAN{v0.99r}{2008/11/22}
%
%
\ifnum\catcode`\@=11 % Why this test here---will come out in chapter
@@ -70,7 +73,7 @@
% ^^A and about coming out already! ;-)
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{gmdoc}
- [2008/10/04 v0.99p a documenting package (GM)]
+ [2008/11/22 v0.99r a documenting package (GM)]
\fi
%
%
@@ -1272,6 +1275,12 @@
% states the check sum for version \<first brace> dated \<second ^^B
% brace> was \<third brace>.
%
+% \stanza
+% There is also \TextUsage\toCTAN\arg{version}\arg{date}, a~shorthand
+% for
+% \[|\changes|\arg{version}\arg{date}|{put to \acro{CTAN} on |\<date>|}|\]
+%
+%
% \subdivision{The parameters}
%
% The \pk{gmdoc} package provides some parameters specific to
@@ -2303,15 +2312,18 @@ pagella, fontspec=quiet]{gmdocc}
% for a~chunk of documentation, e.g., to mark the beginning of new
% macro's explanation and code.
\newcommand*\chunkskip{%
- \skip0=\MacroTopsep
- \if@codeskipput\advance\skip0 by-\CodeTopsep\fi
- \par\addvspace{\skip0}\@codeskipputgtrue}
+ \par\addvspace{%
+ \glueexpr\MacroTopsep
+ \if@codeskipput-\CodeTopsep\fi
+ \relax
+}\@codeskipputgtrue}
% And, for a~smaller part of text,
-\newcommand*\stanza{%
- \skip0=\stanzaskip
- \if@codeskipput\advance\skip0 by-\CodeTopsep\fi
- \par\addvspace{\skip0}\@codeskipputgtrue}
+\pdef\stanza{%
+ \par\addvspace{%
+ \glueexpr\stanzaskip
+ \if@codeskipput-\CodeTopsep\fi
+ \relax}\@codeskipputgtrue}
% Since the stanza skips are inserted automatically most often (cf.\ lines
% \ref{codeskip}, \ref{codeskip2}, \ref{codeskip3}, \ref{codeskip4},
@@ -6119,27 +6131,15 @@ pagella, fontspec=quiet]{gmdocc}
{\@input@{\jobname.gls}}%
\g@emptify\PrintChanges}
-%^^A% % \iffalse
-%^^A%% % \begin{quotation}
-%^^A%% % The following definitions provide the |\pfill| command; if this is
-%^^A%% % specified in the index style file to MakeIndex as the delimiter to
-%^^A%% % appear after index items, then the intervening space before the
-%^^A%% % referenced page numbers will be filled with dots, with a little
-%^^A%% % white space interpolated at each end of the dots. If the line is
-%^^A%% % broken the dots will show up on both lines.\end{quotation}
-%^^A%% \def\dotfill{\leaders\hbox to.6em{\hss .\hss}\hskip\z@ plus 1fill}%
-%^^A%% \def\dotfil{\leaders\hbox to.6em{\hss .\hss}\hfil}%
-%^^A%% \def\pfill{\unskip~\dotfill\penalty500\strut\nobreak
-%^^A%% \dotfil~\ignorespaces}%
-%^^A%%%
-%^^A%%%\begin{verbatim}
-%^^A%%%</package>
-%^^A%%%<+ist>delim_0 "\\pfill "
-%^^A%%%<+ist>delim_1 "\\pfill "2
-%^^A%%%<+ist>delim_2 "\\pfill "
-%^^A%%%<*package>
-%^^A%%\end{verbatim}
-%^^A%% % skipped definitions of dotted fills\fi
+\pdef\toCTAN#1#2{%\
+ % \begin{enumargs}
+ % \item version number,
+ % \item date \<year/month/day>.
+ % \end{enumargs}
+ % \changes{v0.99r}{2008/11/22}{added}
+ \changes{#1}{#2}{put to \acro{CTAN} on #2}}
+
+
%
% \subdivision{The checksum}
%