diff options
author | Karl Berry <karl@freefriends.org> | 2009-09-05 22:54:26 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-09-05 22:54:26 +0000 |
commit | 874ece84a0d160db419570dff359a6e4c3c44063 (patch) | |
tree | 4ee6c8290f49de79ad922ba8f839da431c78aaad /Master/texmf-dist/source/latex/oberdiek/kvsetkeys.dtx | |
parent | 427bf11201b13e9a0778a390b930f70f8b697b8e (diff) |
oberdiek update (5sep09)
git-svn-id: svn://tug.org/texlive/trunk@15145 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/oberdiek/kvsetkeys.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/oberdiek/kvsetkeys.dtx | 60 |
1 files changed, 36 insertions, 24 deletions
diff --git a/Master/texmf-dist/source/latex/oberdiek/kvsetkeys.dtx b/Master/texmf-dist/source/latex/oberdiek/kvsetkeys.dtx index edd2c1bdbb8..10c6e5b6b61 100644 --- a/Master/texmf-dist/source/latex/oberdiek/kvsetkeys.dtx +++ b/Master/texmf-dist/source/latex/oberdiek/kvsetkeys.dtx @@ -73,7 +73,7 @@ \input docstrip.tex \Msg{************************************************************************} \Msg{* Installation} -\Msg{* Package: kvsetkeys 2009/07/19 v1.4 Key value parser with default handler support (HO)} +\Msg{* Package: kvsetkeys 2009/07/30 v1.5 Key value parser with default handler support (HO)} \Msg{************************************************************************} \keepsilent @@ -148,7 +148,7 @@ and the derived files %<*driver> \NeedsTeXFormat{LaTeX2e} \ProvidesFile{kvsetkeys.drv}% - [2009/07/19 v1.4 Key value parser with default handler support (HO)]% + [2009/07/30 v1.5 Key value parser with default handler support (HO)]% \documentclass{ltxdoc} \usepackage{holtxdoc}[2008/08/11] \begin{document} @@ -157,7 +157,7 @@ and the derived files %</driver> % \fi % -% \CheckSum{1120} +% \CheckSum{1121} % % \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 @@ -178,7 +178,7 @@ and the derived files % \GetFileInfo{kvsetkeys.drv} % % \title{The \xpackage{kvsetkeys} package} -% \date{2009/07/19 v1.4} +% \date{2009/07/30 v1.5} % \author{Heiko Oberdiek\\\xemail{oberdiek@uni-freiburg.de}} % % \maketitle @@ -197,6 +197,10 @@ and the derived files % % \section{Documentation} % +% First I want to recommend the very good review article +% ``A guide to key-value methods'' by Joseph Wright \cite{tb94wright}. +% It introduces the different key-value packages and compares them. +% % \subsection{Motivation} % % \cs{kvsetkeys} serves as replacement for \xpackage{keyval}'s @@ -475,29 +479,26 @@ and the derived files \catcode46 12 % . \catcode58 12 % : \catcode64 11 % @ + \catcode123 1 % { + \catcode125 2 % } \expandafter\let\expandafter\x\csname ver@kvsetkeys.sty\endcsname - \ifcase 0% - \ifx\x\relax % plain + \ifx\x\relax % plain-TeX, first loading + \else + \def\empty{}% + \ifx\x\empty % LaTeX, first loading, + % variable is initialized, but \ProvidesPackage not yet seen \else - \ifx\x\empty % LaTeX + \catcode35 6 % # + \expandafter\ifx\csname PackageInfo\endcsname\relax + \def\x#1#2{% + \immediate\write-1{Package #1 Info: #2.}% + }% \else - 1% + \def\x#1#2{\PackageInfo{#1}{#2, stopped}}% \fi + \x{kvsetkeys}{The package is already loaded}% + \aftergroup\endinput \fi - \else - \catcode35 6 % # - \catcode123 1 % { - \catcode125 2 % } - \expandafter\ifx\csname PackageInfo\endcsname\relax - \def\x#1#2{% - \immediate\write-1{Package #1 Info: #2.}% - }% - \else - \def\x#1#2{\PackageInfo{#1}{#2, stopped}}% - \fi - \x{kvsetkeys}{The package is already loaded}% - \endgroup - \expandafter\endinput \fi \endgroup % \end{macrocode} @@ -513,6 +514,8 @@ and the derived files \catcode47 12 % / \catcode58 12 % : \catcode64 11 % @ + \catcode91 12 % [ + \catcode93 12 % ] \catcode123 1 % { \catcode125 2 % } \expandafter\ifx\csname ProvidesPackage\endcsname\relax @@ -533,7 +536,7 @@ and the derived files \fi \expandafter\x\csname ver@kvsetkeys.sty\endcsname \ProvidesPackage{kvsetkeys}% - [2009/07/19 v1.4 Key value parser with default handler support (HO)] + [2009/07/30 v1.5 Key value parser with default handler support (HO)] % \end{macrocode} % % \begin{macrocode} @@ -1142,7 +1145,7 @@ $ \expandafter\ifx\csname KV@#1@#2@default\endcsname\relax \makeatletter \chardef\KVS@TestMode=1 % \makeatother -\usepackage{kvsetkeys}[2009/07/19] +\usepackage{kvsetkeys}[2009/07/30] %<noetex>\let\unexpanded\SavedUnexpanded \usepackage{qstest} \IncludeTests{*} @@ -1572,6 +1575,10 @@ $ \expandafter\ifx\csname KV@#1@#2@default\endcsname\relax % \end{quote} % % \begin{thebibliography}{9} +% \bibitem{tb94wright} +% A guide to key-value methods, Joseph Wright, second draft for +% \href{http://www.tug.org/tugboat}{TUGBoat}, 2009-03-17. +% \url{http://www.texdev.net/wp-content/uploads/2009/03/keyval.pdf} % % \bibitem{keyval} % David Carlisle: @@ -1615,6 +1622,11 @@ $ \expandafter\ifx\csname KV@#1@#2@default\endcsname\relax % \item % Bug fix for \cs{kv@normalize}: unwanted space removed (Florent Chervet). % \end{Version} +% \begin{Version}{2009/07/30 v1.5} +% \item +% Documentation addition: recommendation for Joseph Wright's +% review article. +% \end{Version} % \end{History} % % \PrintIndex |