summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/skeyval/skeyval-pokayoke1.tex
diff options
context:
space:
mode:
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}}