summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/oberdiek/zref.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/oberdiek/zref.dtx')
-rw-r--r--Master/texmf-dist/source/latex/oberdiek/zref.dtx93
1 files changed, 50 insertions, 43 deletions
diff --git a/Master/texmf-dist/source/latex/oberdiek/zref.dtx b/Master/texmf-dist/source/latex/oberdiek/zref.dtx
index 38851cf6153..74a43f088b8 100644
--- a/Master/texmf-dist/source/latex/oberdiek/zref.dtx
+++ b/Master/texmf-dist/source/latex/oberdiek/zref.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright (C) 2006, 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de>
+% Copyright (C) 2006-2008 by Heiko Oberdiek <oberdiek@uni-freiburg.de>
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either
@@ -83,7 +83,7 @@
\input docstrip.tex
\Msg{************************************************************************}
\Msg{* Installation}
-\Msg{* Package: zref 2007/05/28 v2.1 New reference scheme for LaTeX2e (HO)}
+\Msg{* Package: zref 2008/09/21 v2.2 New reference scheme for LaTeX2e (HO)}
\Msg{************************************************************************}
\keepsilent
@@ -94,7 +94,7 @@
This is a generated file.
-Copyright (C) 2006, 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de>
+Copyright (C) 2006-2008 by Heiko Oberdiek <oberdiek@uni-freiburg.de>
This work may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either
@@ -170,7 +170,7 @@ and the derived files
%<*driver>
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{zref.drv}%
- [2007/05/28 v2.1 New reference scheme for LaTeX2e (HO)]%
+ [2008/09/21 v2.2 New reference scheme for LaTeX2e (HO)]%
\documentclass{ltxdoc}
\usepackage{holtxdoc}[2008/08/11]
\begin{document}
@@ -179,7 +179,7 @@ and the derived files
%</driver>
% \fi
%
-% \CheckSum{1551}
+% \CheckSum{1555}
%
% \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
@@ -200,7 +200,7 @@ and the derived files
% \GetFileInfo{zref.drv}
%
% \title{The \xpackage{zref} package}
-% \date{2007/05/28 v2.1}
+% \date{2008/09/21 v2.2}
% \author{Heiko Oberdiek\\\xemail{oberdiek@uni-freiburg.de}}
%
% \maketitle
@@ -1161,13 +1161,13 @@ the height difference of the two baselines is
%<*package>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zref}
- [2007/05/28 v2.1 New reference scheme for LaTeX2e (HO)]%
+ [2008/09/21 v2.2 New reference scheme for LaTeX2e (HO)]%
% \end{macrocode}
%
% \subsubsection{Load basic module}
%
% \begin{macrocode}
-\RequirePackage{zref-base}[2007/05/28]
+\RequirePackage{zref-base}[2008/09/21]
% \end{macrocode}
% Abort package loading if \xpackage{zref-base} could not be
% loaded successfully.
@@ -1182,7 +1182,7 @@ the height difference of the two baselines is
\def\ZREF@temp#1{%
\DeclareOption{#1}{%
\AtEndOfPackage{%
- \RequirePackage{zref-#1}[2007/05/28]%
+ \RequirePackage{zref-#1}[2008/09/21]%
}%
}%
}
@@ -1242,7 +1242,7 @@ the height difference of the two baselines is
%<*base>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zref-base}%
- [2007/05/28 v2.1 Module base for zref (HO)]%
+ [2008/09/21 v2.2 Module base for zref (HO)]%
% \end{macrocode}
%
% \subsubsection{Utilities}
@@ -1416,18 +1416,19 @@ the height difference of the two baselines is
% \end{macrocode}
% \end{macro}
%
-% \begin{macro}{\zref@listcontainsprop}
-% \cs{zref@listcontainsprop} checks, whether a property \verb|#2| is
+% \begin{macro}{\zref@iflistcontainsprop}
+% \cs{zref@iflistcontainsprop} checks, whether a property \verb|#2| is
% already present in a property list \verb|#1|.
% \begin{macrocode}
-\def\zref@listcontainsprop#1{%
- \expandafter\ZREF@listcontainsprop\csname Z@L@#1\endcsname
+\def\zref@iflistcontainsprop#1{%
+ \expandafter\ZREF@iflistcontainsprop\csname Z@L@#1\endcsname
}
-\def\ZREF@listcontainsprop#1#2{%
+\def\ZREF@iflistcontainsprop#1#2{%
\begingroup
\ZREF@foundfalse
\edef\y{#2}%
- \@tfor\x:=#1\do{%
+ \expandafter\@tfor\expandafter\x
+ \expandafter:\expandafter=#1\do{%
\edef\x{\x}%
\ifx\x\y
\ZREF@foundtrue
@@ -1451,7 +1452,7 @@ the height difference of the two baselines is
\def\zref@addprop#1#2{%
\zref@listexists{#1}{%
\zref@propexists{#2}{%
- \zref@listcontainsprop{#1}{#2}{%
+ \zref@iflistcontainsprop{#1}{#2}{%
\PackageWarning\ZREF@name{%
Property `#2' is already in list `#1'%
}%
@@ -1950,8 +1951,8 @@ the height difference of the two baselines is
%<*user>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zref-user}%
- [2007/05/28 v2.1 Module user for zref (HO)]%
-\RequirePackage{zref-base}[2007/05/28]
+ [2008/09/21 v2.2 Module user for zref (HO)]%
+\RequirePackage{zref-base}[2008/09/21]
\@ifundefined{ZREF@baseok}{\endinput}{}
% \end{macrocode}
%
@@ -2025,8 +2026,8 @@ the height difference of the two baselines is
%<*abspage>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zref-abspage}%
- [2007/05/28 v2.1 Module abspage for zref (HO)]%
-\RequirePackage{zref-base}[2007/05/28]
+ [2008/09/21 v2.2 Module abspage for zref (HO)]%
+\RequirePackage{zref-base}[2008/09/21]
\@ifundefined{ZREF@baseok}{\endinput}{}
% \end{macrocode}
%
@@ -2070,8 +2071,8 @@ the height difference of the two baselines is
%<*counter>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zref-counter}%
- [2007/05/28 v2.1 Module counter for zref (HO)]%
-\RequirePackage{zref-base}[2007/05/28]
+ [2008/09/21 v2.2 Module counter for zref (HO)]%
+\RequirePackage{zref-base}[2008/09/21]
\@ifundefined{ZREF@baseok}{\endinput}{}
% \end{macrocode}
%
@@ -2107,8 +2108,8 @@ the height difference of the two baselines is
%<*lastpage>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zref-lastpage}%
- [2007/05/28 v2.1 Module lastpage for zref (HO)]%
-\RequirePackage{zref-base}[2007/05/28]
+ [2008/09/21 v2.2 Module lastpage for zref (HO)]%
+\RequirePackage{zref-base}[2008/09/21]
\@ifundefined{ZREF@baseok}{\endinput}{}
% \end{macrocode}
%
@@ -2141,16 +2142,16 @@ the height difference of the two baselines is
%<*totpages>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zref-totpages}%
- [2007/05/28 v2.1 Module totpages for zref (HO)]%
-\RequirePackage{zref-base}[2007/05/28]
+ [2008/09/21 v2.2 Module totpages for zref (HO)]%
+\RequirePackage{zref-base}[2008/09/21]
\@ifundefined{ZREF@baseok}{\endinput}{}
% \end{macrocode}
%
% The absolute page number of the last page is the total
% page number.
% \begin{macrocode}
-\RequirePackage{zref-abspage}[2007/05/28]
-\RequirePackage{zref-lastpage}[2007/05/28]
+\RequirePackage{zref-abspage}[2008/09/21]
+\RequirePackage{zref-lastpage}[2008/09/21]
% \end{macrocode}
%
% \begin{macro}{\ztotpages}
@@ -2180,8 +2181,8 @@ the height difference of the two baselines is
%<*perpage>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zref-perpage}%
- [2007/05/28 v2.1 Module perpage for zref (HO)]%
-\RequirePackage{zref-base}[2007/05/28]
+ [2008/09/21 v2.2 Module perpage for zref (HO)]%
+\RequirePackage{zref-base}[2008/09/21]
\@ifundefined{ZREF@baseok}{\endinput}{}
% \end{macrocode}
%
@@ -2193,7 +2194,7 @@ the height difference of the two baselines is
% For detecting changed pages module \xoption{abspage}
% is loaded.
% \begin{macrocode}
-\RequirePackage{zref-abspage}[2007/05/28]
+\RequirePackage{zref-abspage}[2008/09/21]
% \end{macrocode}
%
% We group the properties for the needed references
@@ -2337,8 +2338,8 @@ the height difference of the two baselines is
%<*titleref>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zref-titleref}%
- [2007/05/28 v2.1 Module titleref for zref (HO)]%
-\RequirePackage{zref-base}[2007/05/28]
+ [2008/09/21 v2.2 Module titleref for zref (HO)]%
+\RequirePackage{zref-base}[2008/09/21]
\@ifundefined{ZREF@baseok}{\endinput}{}
% \end{macrocode}
%
@@ -2664,8 +2665,8 @@ the height difference of the two baselines is
%<*xr>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zref-xr}%
- [2007/05/28 v2.1 Module xr for zref (HO)]%
-\RequirePackage{zref-base}[2007/05/28]
+ [2008/09/21 v2.2 Module xr for zref (HO)]%
+\RequirePackage{zref-base}[2008/09/21]
\@ifundefined{ZREF@baseok}{\endinput}{}
% \end{macrocode}
% \begin{macrocode}
@@ -3008,8 +3009,8 @@ the height difference of the two baselines is
%<*hyperref>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zref-hyperref}%
- [2007/05/28 v2.1 Module hyperref for zref (HO)]%
-\RequirePackage{zref-base}[2007/05/28]
+ [2008/09/21 v2.2 Module hyperref for zref (HO)]%
+\RequirePackage{zref-base}[2008/09/21]
\@ifundefined{ZREF@baseok}{\endinput}{}
% \end{macrocode}
%
@@ -3037,8 +3038,8 @@ the height difference of the two baselines is
%<*savepos>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zref-savepos}%
- [2007/05/28 v2.1 Module savepos for zref (HO)]%
-\RequirePackage{zref-base}[2007/05/28]
+ [2008/09/21 v2.2 Module savepos for zref (HO)]%
+\RequirePackage{zref-base}[2008/09/21]
\@ifundefined{ZREF@baseok}{\endinput}{}
% \end{macrocode}
%
@@ -3143,15 +3144,15 @@ the height difference of the two baselines is
%<*dotfill>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zref-dotfill}%
- [2007/05/28 v2.1 Module dotfill for zref (HO)]%
-\RequirePackage{zref-base}[2007/05/28]
+ [2008/09/21 v2.2 Module dotfill for zref (HO)]%
+\RequirePackage{zref-base}[2008/09/21]
\@ifundefined{ZREF@baseok}{\endinput}{}
% \end{macrocode}
%
% For measuring the width of \cs{zdotfill} we use the features
% provided by module \xoption{savepos}.
% \begin{macrocode}
-\RequirePackage{zref-savepos}[2007/05/28]
+\RequirePackage{zref-savepos}[2008/09/21]
% \end{macrocode}
% For automatically generated label names we use the unique
% counter of module \xoption{base}.
@@ -3518,6 +3519,12 @@ the height difference of the two baselines is
% Fixes in module titleref for support of packages \xpackage{titlesec}
% and \xpackage{longtable}.
% \end{Version}
+% \begin{Version}{2008/09/21 v2.2}
+% \item
+% Module base: \cs{zref@iflistcontainsprop} is documented, but
+% a broken \cs{zref@listcontainsprop} implemented. Name and
+% implementation fixed (thanks Ohad Kammar).
+% \end{Version}
% \end{History}
%
% \PrintIndex