Debian Codegraph @

texmf-dist/tex/generic/xkeyval/pst-xkey.tex

raw
1 %%
2 %% This is file `pst-xkey.tex',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% xkeyval.dtx (with options: `pxktex')
8 %%
9 %% ---------------------------------------
10 %% Copyright (C) 2004-2022 Hendri Adriaens
11 %% 2025 David Carlisle for latex-package-repositories
12 %% ---------------------------------------
13 %%
14 %% This work may be distributed and/or modified under the
15 %% conditions of the LaTeX Project Public License, either version 1.3
16 %% of this license or (at your option) any later version.
17 %% The latest version of this license is in
18 %% http://www.latex-project.org/lppl.txt
19 %% and version 1.3 or later is part of all distributions of LaTeX
20 %% version 2003/12/01 or later.
21 %%
22 %% This work has the LPPL maintenance status "maintained".
23 %%
24 %% This Current Maintainer of this work is Hendri Adriaens.
25 %%
26 %% This work consists of the file xkeyval.dtx and derived files
27 %% keyval.tex, xkvtxhdr.tex, xkeyval.sty, xkeyval.tex, xkvview.sty,
28 %% xkvltxp.sty, xkvutils.tex, pst-xkey.tex, pst-xkey.sty, xkveca.cls,
29 %% xkvecb.cls, xkvesa.sty, xkvesb.sty, xkvesc.sty, xkvex1.tex,
30 %% xkvex2.tex, xkvex3.tex and xkvex4.tex.
31 %%
32 %% The following files constitute the xkeyval bundle and must be
33 %% distributed as a whole: readme, xkeyval.pdf, keyval.tex,
34 %% pst-xkey.sty, pst-xkey.tex, xkeyval.sty, xkeyval.tex, xkvview.sty,
35 %% xkvltxp.sty, xkvtxhdr.tex, xkvutils.tex, pst-xkey.dtx and xkeyval.dtx.
36 %%
37 \csname PSTXKeyLoaded\endcsname
38 \let\PSTXKeyLoaded\endinput
39 \edef\PSTXKeyCatcodes{%
40 \catcode`\noexpand\@\the\catcode`\@\relax
41 \let\noexpand\PSTXKeyCatcodes\relax
42 }
43 \catcode`\@=11\relax
44 \ifx\ProvidesFile\@undefined
45 \message{2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)}
46 \ifx\XKeyValLoaded\endinput\else\input xkeyval \fi
47 \else
48 \ProvidesFile{pst-xkey.tex}
49 [2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)]
50 \@addtofilelist{pst-xkey.tex}
51 \RequirePackage{xkeyval}
52 \fi
53 \def\pst@famlist{}
54 \def\pst@addfams#1{%
55 \XKV@for@n{#1}\XKV@tempa{%
56 \@expandtwoargs\in@{,\XKV@tempa,}{,\pst@famlist,}%
57 \ifin@\else\edef\pst@famlist{\pst@famlist,\XKV@tempa}\fi
58 }%
59 }
60 \def\psset{%
61 \expandafter\@testopt\expandafter\pss@t\expandafter{\pst@famlist}%
62 }
63 \def\pss@t[#1]#2{\setkeys+[psset]{#1}{#2}\ignorespaces}
64 \def\@psset#1,\@nil{%
65 \edef\XKV@tempa{\noexpand\setkeys+[psset]{\pst@famlist}}%
66 \XKV@tempa{#1}%
67 }
68 \PSTXKeyCatcodes
69 \endinput
70 %%
71 %% End of file `pst-xkey.tex'.