Debian Codegraph @

texmf-dist/doc/latex/xkeyval/xkvesa.sty

raw
1 %%
2 %% This is file `xkvesa.sty',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% xkeyval.dtx (with options: `xkvesa')
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 \ProvidesPackage{xkvesa}
38 \let\keyia\@empty
39 \let\keyii\@empty
40 %% keyi has been used in \documentclass
41 %% this key uses that information to set another macro
42 %% to do this, \ProcessOptionsX* is necessary.
43 %% the value from the \documentclass is copied.
44 \DeclareOptionX{keyi}{\def\keyia{#1}}
45 \DeclareOptionX{keyii}{\def\keyii{#1}}
46 %% pass any unknown keys to xkvesb.sty
47 \DeclareOptionX*{\PassOptionsToPackage{\CurrentOption}{xkvesb}}
48 %% pass a specific key=value to xkvesb.sty
49 \PassOptionsToPackage{keyiii={test 3}}{xkvesb}
50 %% process options. use the * to pick up options from \documentclass
51 \ProcessOptionsX*
52 \RequirePackage{xkvesb}
53 \endinput
54 %%
55 %% End of file `xkvesa.sty'.