summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/skeyval/skeyval-pokayoke1.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-05-16 22:30:01 +0000
committerKarl Berry <karl@freefriends.org>2013-05-16 22:30:01 +0000
commit318d628c7989d4f9ede20b1ee66471bedf447437 (patch)
treee552e9f9b6195d98f3d579088419fdce722df49c /Master/texmf-dist/doc/latex/skeyval/skeyval-pokayoke1.tex
parentf297f05f92068bd7f54e8ee25ce7b8b8a83c2353 (diff)
skeyval (16may13)
git-svn-id: svn://tug.org/texlive/trunk@30509 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/skeyval/skeyval-pokayoke1.tex')
-rw-r--r--Master/texmf-dist/doc/latex/skeyval/skeyval-pokayoke1.tex49
1 files changed, 40 insertions, 9 deletions
diff --git a/Master/texmf-dist/doc/latex/skeyval/skeyval-pokayoke1.tex b/Master/texmf-dist/doc/latex/skeyval/skeyval-pokayoke1.tex
index ed79d37585d..6205121ae9f 100644
--- a/Master/texmf-dist/doc/latex/skeyval/skeyval-pokayoke1.tex
+++ b/Master/texmf-dist/doc/latex/skeyval/skeyval-pokayoke1.tex
@@ -1,3 +1,32 @@
+%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++%
+% This is file 'skeyval-pokayoke1.tex', version 1.3, 2013/05/15. %
+% %
+% This package and accompanying files may be distributed and/or %
+% modified under the conditions of the LaTeX Project Public License, %
+% either version 1.3 of this license or any later version. The latest %
+% version of this license is in http://www.latex-project.org/lppl.txt %
+% and version 1.3 or later is part of all distributions of LaTeX %
+% version 2005/12/01 or later. %
+% %
+% The LPPL maintenance status of this software is 'author-maintained'. %
+% %
+% This software is provided 'as it is', without warranty of any kind, %
+% either expressed or implied, including, but not limited to, the %
+% implied warranties of merchantability and fitness for a particular %
+% purpose. %
+% %
+% The following files constitute the skeyval bundle and must be %
+% distributed as a whole: %
+% %
+% README, skeyval.sty, skeyval-core.tex, skeyval-for.tex, %
+% skeyval-view.sty, skeyval-ltxpatch.sty, skeyval-ltxcmds.tex, %
+% skeyval-pstkey.sty, skeyval-pstkey.tex, skeyval-testclass.cls, %
+% skeyval-testpkg.sty, skeyval-pokayoke1, skeyval-pokayoke2, %
+% skeyval-view-pokayoke1. %
+% %
+% Copyright (c) 2010-2013 Ahmed Musa (amusa22@gmail.com). %
+%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++%
+
\makeatletter
\RequirePackage{skeyval-ltxpatch}
@@ -63,15 +92,6 @@
% Note: When the value of a handler contains equality sign (=) or
% comma (,), it should be enclosed in braces.
-\directkeys*{%
- % Defining new handlers that can't be overloaded:
- .new reserved handlers={
- {.x handler,.x handlers}={
- \dirkeys@defhandlers{00}{#1}
- },
- }
-}
-
\directkeys*{
.exec=\skvtestcnt\z@,
.prefix = KV1,
@@ -246,11 +266,22 @@
.kv={keya=vala,keyc=valc,keyd=vald}
},
% .exec code={\show\mysuccesslist},
+ % Defining new handlers that can't be overloaded.
+ % '.resd handler' and '.resd handlers' are reserved handlers.
+ % They can be used to define new handlers (see below).
+ .new reserved handlers={
+ {.resd handler,.resd handlers}=\dirkeysdefhandlers{00}{#1},
+ },
+ .resd handlers={
+ .example handler1=\def\val{#1}, .example handler2=\edef\val{#1}
+ },
+% .exec=\skvshowcs{dirkeys@handler@.example handler1},
}
\makeatother
\begin{document}
+
\title{The \texttt{\textcolor{blue}{skeyval}} Package\\[1ex]
Version 1.1a\\[1ex]
\textsf{Test document 1}}