diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/skeyval/skeyval-pstkey.tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/skeyval/skeyval-pstkey.tex | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/skeyval/skeyval-pstkey.tex b/Master/texmf-dist/tex/latex/skeyval/skeyval-pstkey.tex new file mode 100644 index 00000000000..83fd3dfff44 --- /dev/null +++ b/Master/texmf-dist/tex/latex/skeyval/skeyval-pstkey.tex @@ -0,0 +1,70 @@ +%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++% +% This is file 'skeyval-pstkey.tex', version 1.0, 2012/10/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, % +% and skeyval-testpkg.sty. % +% % +% Copyright (c) 2010-2012 Ahmed Musa (amusa22@gmail.com). % +%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++% + +\csname skeyval-pstkey-loaded\endcsname +\expandafter\let\csname skeyval-pstkey-loaded\endcsname\endinput + +\edef\skv@pst@restorecatcodes{% + \catcode`\noexpand\@\the\catcode`\@\relax + \let\noexpand\skv@pst@restorecatcodes\relax +} +\catcode`\@=11\relax + +\def\skv@@afterfi#1\fi{\fi#1} +\def\skv@@afterelse#1\else#2\fi{\fi#1} + +\ifx\ProvidesFile\@undefined\skv@@afterelse + \message{File 'skeyval-pstkey.tex' 2012/10/15 v1.1 + PSTricks specialization of skeyval package (AM)} + \input skeyval-core +\else\skv@@afterfi + \ProvidesFile{skeyval-pstkey.tex} + [2012/10/15 v1.1 PSTricks specialization of skeyval (AM)] + \@addtofilelist{skeyval-pstkey.tex} + \@ifpackageloaded{skeyval}{}{\RequirePackage{skeyval}} +\fi + +\def\pst@famlist{} +\def\pst@addfams#1{% + \skvcommaloop{#1}\skvtempa{% + \skvxifin{,\skvtempa,}{,\pst@famlist,}{}{% + \edef\pst@famlist{\pst@famlist,\skvtempa}% + }% + }% +} +\def\psset{\skvexpandbracenext{\skv@testopt\pss@t}\pst@famlist} +\def\pss@t[#1]#2{\skvsetkeys+[psset]{#1}{#2}\ignorespaces} +\def\@psset#1,\@nil{% + \edef\skvtempa{\skvsetkeys+[psset]{\pst@famlist}}% + \skvtempa{#1}% +} + +\skv@pst@restorecatcodes +\endinput + +%% End of file 'skeyval-pstkey.tex'. |