Debian Codegraph @

texmf-dist/tex/generic/xkeyval/xkvtxhdr.tex

raw
1 %%
2 %% This is file `xkvtxhdr.tex',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% xkeyval.dtx (with options: `xkvheader')
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 %%
38 %% Taken from latex.ltx.
39 %%
40 \message{2005/02/22 v1.1 xkeyval TeX header (HA)}
41 \def\@nnil{\@nil}
42 \def\@empty{}
43 \def\newif#1{%
44 \count@\escapechar \escapechar\m@ne
45 \let#1\iffalse
46 \@if#1\iftrue
47 \@if#1\iffalse
48 \escapechar\count@}
49 \def\@if#1#2{%
50 \expandafter\def\csname\expandafter\@gobbletwo\string#1%
51 \expandafter\@gobbletwo\string#2\endcsname
52 {\let#1#2}}
53 \long\def\@ifnextchar#1#2#3{%
54 \let\reserved@d=#1%
55 \def\reserved@a{#2}%
56 \def\reserved@b{#3}%
57 \futurelet\@let@token\@ifnch}
58 \def\@ifnch{%
59 \ifx\@let@token\@sptoken
60 \let\reserved@c\@xifnch
61 \else
62 \ifx\@let@token\reserved@d
63 \let\reserved@c\reserved@a
64 \else
65 \let\reserved@c\reserved@b
66 \fi
67 \fi
68 \reserved@c}
69 \def\:{\let\@sptoken= } \: % this makes \@sptoken a space token
70 \def\:{\@xifnch} \expandafter\def\: {\futurelet\@let@token\@ifnch}
71 \let\kernel@ifnextchar\@ifnextchar
72 \long\def\@testopt#1#2{%
73 \kernel@ifnextchar[{#1}{#1[{#2}]}}
74 \long\def\@firstofone#1{#1}
75 \long\def \@gobble #1{}
76 \long\def \@gobbletwo #1#2{}
77 \def\@expandtwoargs#1#2#3{%
78 \edef\reserved@a{\noexpand#1{#2}{#3}}\reserved@a}
79 \edef\@backslashchar{\expandafter\@gobble\string\\}
80 \newif\ifin@
81 \def\in@#1#2{%
82 \def\in@@##1#1##2##3\in@@{%
83 \ifx\in@##2\in@false\else\in@true\fi}%
84 \in@@#2#1\in@\in@@}
85 \def\strip@prefix#1>{}
86 \def \@onelevel@sanitize #1{%
87 \edef #1{\expandafter\strip@prefix
88 \meaning #1}%
89 }
90 \endinput
91 %%
92 %% End of file `xkvtxhdr.tex'.