summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/oberdiek/kvoptions.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/oberdiek/kvoptions.dtx')
-rw-r--r--Master/texmf-dist/source/latex/oberdiek/kvoptions.dtx63
1 files changed, 33 insertions, 30 deletions
diff --git a/Master/texmf-dist/source/latex/oberdiek/kvoptions.dtx b/Master/texmf-dist/source/latex/oberdiek/kvoptions.dtx
index 24c8eba0097..dec589957e7 100644
--- a/Master/texmf-dist/source/latex/oberdiek/kvoptions.dtx
+++ b/Master/texmf-dist/source/latex/oberdiek/kvoptions.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright (C) 2004, 2006, 2007, 2009 by
+% Copyright (C) 2004, 2006, 2007, 2009, 2010 by
% Heiko Oberdiek <oberdiek@uni-freiburg.de>
%
% This work may be distributed and/or modified under the
@@ -77,7 +77,7 @@
\input docstrip.tex
\Msg{************************************************************************}
\Msg{* Installation}
-\Msg{* Package: kvoptions 2009/12/08 v3.6 Keyval support for LaTeX options (HO)}
+\Msg{* Package: kvoptions 2010/02/22 v3.7 Keyval support for LaTeX options (HO)}
\Msg{************************************************************************}
\keepsilent
@@ -88,7 +88,7 @@
This is a generated file.
-Copyright (C) 2004, 2006, 2007, 2009 by
+Copyright (C) 2004, 2006, 2007, 2009, 2010 by
Heiko Oberdiek <oberdiek@uni-freiburg.de>
This work may be distributed and/or modified under the
@@ -156,7 +156,7 @@ and the derived files
%<*driver>
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{kvoptions.drv}%
- [2009/12/08 v3.6 Keyval support for LaTeX options (HO)]%
+ [2010/02/22 v3.7 Keyval support for LaTeX options (HO)]%
\documentclass{ltxdoc}
\usepackage{holtxdoc}[2008/08/11]
\begin{document}
@@ -186,7 +186,7 @@ and the derived files
% \GetFileInfo{kvoptions.drv}
%
% \title{The \xpackage{kvoptions} package}
-% \date{2009/12/08 v3.6}
+% \date{2010/02/22 v3.7}
% \author{Heiko Oberdiek\\\xemail{oberdiek@uni-freiburg.de}}
%
% \maketitle
@@ -732,7 +732,7 @@ and the derived files
% Package identification
% -----------------------
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{example-mycolorsetup}[2009/12/08 Managing my colors]
+\ProvidesPackage{example-mycolorsetup}[2010/02/22 Managing my colors]
\RequirePackage{ifpdf}
\RequirePackage{kvoptions}
@@ -1105,7 +1105,7 @@ and the derived files
\fi
\expandafter\x\csname ver@kvoptions.sty\endcsname
\ProvidesPackage{kvoptions}%
- [2009/12/08 v3.6 Keyval support for LaTeX options (HO)]
+ [2010/02/22 v3.7 Keyval support for LaTeX options (HO)]
% \end{macrocode}
%
% \paragraph{Catcodes}
@@ -1206,7 +1206,7 @@ and the derived files
% \begin{macrocode}
\DeclareOption{patch}{%
\AtEndOfPackage{%
- \RequirePackage{kvoptions-patch}[2009/12/08]%
+ \RequirePackage{kvoptions-patch}[2010/02/22]%
}%
}
% \end{macrocode}
@@ -1978,7 +1978,7 @@ and the derived files
\ifx\@currext\@pkgextension
\else
\PackageError{kvoptions}{%
- \string\ProcessLocalKeyvalOptions is intended for packages only%
+ \string\ProcessLocalKeyvalOptions\space is intended for packages only%
}\@ehc
\fi
% \end{macrocode}
@@ -1998,28 +1998,27 @@ and the derived files
% These are passed to \cs{setkeys}. For the others the default
% action is performed.
% \begin{macrocode}
- \@ifundefined{KVO@default@\@currname.\@currext}{%
- \toks@\expandafter\expandafter\expandafter{%
- \expandafter\KVO@temp\the\toks@
- }%
- }{%
- \edef\CurrentOption{\the\toks@}%
- \toks@\expandafter{\KVO@temp}%
- \@for\CurrentOption:=\CurrentOption\do{%
- \@ifundefined{%
- KV@#1@\expandafter\KVO@getkey\CurrentOption=\@nil
- }{%
- \toks\tw@\expandafter{%
- \the\toks\expandafter\tw@\expandafter,\CurrentOption
- }%
- }{%
- \toks@\expandafter{%
- \the\expandafter\toks@\expandafter,\CurrentOption
- }%
+ \@ifundefined{KVO@default@\@currname.\@currext}{%
+ \toks@\expandafter\expandafter\expandafter{%
+ \expandafter\KVO@temp\the\toks@
+ }%
+ }{%
+ \edef\CurrentOption{\the\toks@}%
+ \toks@\expandafter{\KVO@temp}%
+ \@for\CurrentOption:=\CurrentOption\do{%
+ \@ifundefined{%
+ KV@#1@\expandafter\KVO@getkey\CurrentOption=\@nil
+ }{%
+ \toks\tw@\expandafter{%
+ \the\toks\expandafter\tw@\expandafter,\CurrentOption
+ }%
+ }{%
+ \toks@\expandafter{%
+ \the\expandafter\toks@\expandafter,\CurrentOption
}%
}%
}%
- \fi
+ }%
}%
\edef\KVO@temp{\endgroup
\noexpand\KVO@calldefault{\the\toks\tw@}%
@@ -2154,7 +2153,7 @@ and the derived files
\noexpand\endinput
}
\ProvidesPackage{kvoptions-patch}%
- [2009/12/08 v3.6 LaTeX patch for keyval options (HO)]%
+ [2010/02/22 v3.7 LaTeX patch for keyval options (HO)]%
% \end{macrocode}
%
% Check for \eTeX.
@@ -2803,7 +2802,7 @@ and the derived files
%<*test3>
\NeedsTeXFormat{LaTeX2e}
\makeatletter
-\RequirePackage{kvoptions}[2009/12/08]
+\RequirePackage{kvoptions}[2010/02/22]
\def\msg#{\immediate\write16}
\define@key{testfamily}{testkey}{%
\msg{[testfamily/testkey/#1]}%
@@ -3171,6 +3170,10 @@ and the derived files
% Fix: If a default handler is configured, it is now also
% called for classes.
% \end{Version}
+% \begin{Version}{2010/02/22 v3.7}
+% \item
+% Missing space in error message added.
+% \end{Version}
% \end{History}
%
% \PrintIndex