From 9e03dd49eee57e61c49878d62fcc67a57a652a8d Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Fri, 13 Jan 2006 00:11:40 +0000
Subject: xkeyval

git-svn-id: svn://tug.org/texlive/trunk@1459 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/xkeyval/xkvltxp.sty | 105 ++++++++++++++++++++++++
 1 file changed, 105 insertions(+)
 create mode 100644 Master/texmf-dist/tex/latex/xkeyval/xkvltxp.sty

(limited to 'Master/texmf-dist/tex/latex/xkeyval/xkvltxp.sty')

diff --git a/Master/texmf-dist/tex/latex/xkeyval/xkvltxp.sty b/Master/texmf-dist/tex/latex/xkeyval/xkvltxp.sty
new file mode 100644
index 00000000000..9f66ecccc60
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/xkeyval/xkvltxp.sty
@@ -0,0 +1,105 @@
+%%
+%% This is file `xkvltxp.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xkeyval.dtx  (with options: `xkvltxpatch')
+%% 
+%% ---------------------------------------
+%% Copyright (C) 2004-2005 Hendri Adriaens
+%% ---------------------------------------
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) 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 2003/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "maintained".
+%%
+%% This Current Maintainer of this work is Hendri Adriaens.
+%%
+%% This work consists of the file xkeyval.dtx and derived files
+%% keyval.tex, xkvtxhdr.tex, xkeyval.sty, xkeyval.tex, xkvview.sty,
+%% xkvltxp.sty, pst-xkey.tex, pst-xkey.sty, xkveca.cls, xkvecb.cls,
+%% xkvesa.sty, xkvesb.sty, xkvesc.sty, xkvex1.tex, xkvex2.tex,
+%% xkvex3.tex and xkvex4.tex.
+%%
+%% The following files constitute the xkeyval bundle and must be
+%% distributed as a whole: readme, xkeyval.pdf, keyval.tex,
+%% pst-xkey.sty, pst-xkey.tex, xkeyval.sty, xkeyval.tex, xkvview.sty,
+%% xkvltxp.sty, xkvtxhdr.tex, pst-xkey.dtx and xkeyval.dtx.
+%%
+%%
+%% Based on latex.ltx.
+%%
+\NeedsTeXFormat{LaTeX2e}[1995/12/01]
+\ProvidesPackage{xkvltxp}[2004/12/13 v1.2 LaTeX2e kernel patch (HA)]
+\def\@pass@ptions#1#2#3{%
+  \def\reserved@a{#2}%
+  \def\reserved@b{\CurrentOption}%
+  \ifx\reserved@a\reserved@b
+    \@ifundefined{opt@#3.#1}{\@temptokena\expandafter{#2}}{%
+      \@temptokena\expandafter\expandafter\expandafter
+        {\csname opt@#3.#1\endcsname}%
+      \@temptokena\expandafter\expandafter\expandafter{%
+        \expandafter\the\expandafter\@temptokena\expandafter,#2}%
+    }%
+  \else
+    \@ifundefined{opt@#3.#1}{\@temptokena{#2}}{%
+      \@temptokena\expandafter\expandafter\expandafter
+        {\csname opt@#3.#1\endcsname}%
+      \@temptokena\expandafter{\the\@temptokena,#2}%
+    }%
+  \fi
+  \expandafter\xdef\csname opt@#3.#1\endcsname{\the\@temptokena}%
+}
+\def\OptionNotUsed{%
+  \ifx\@currext\@clsextension
+    \let\reserved@a\CurrentOption
+    \@onelevel@sanitize\reserved@a
+    \xdef\@unusedoptionlist{%
+      \ifx\@unusedoptionlist\@empty\else\@unusedoptionlist,\fi
+      \reserved@a}%
+  \fi
+}
+\def\@use@ption{%
+  \let\reserved@a\CurrentOption
+  \@onelevel@sanitize\reserved@a
+  \@expandtwoargs\@removeelement\reserved@a
+  \@unusedoptionlist\@unusedoptionlist
+  \csname ds@\CurrentOption\endcsname
+}
+\def\@fileswith@pti@ns#1[#2]#3[#4]{%
+  \ifx#1\@clsextension
+    \ifx\@classoptionslist\relax
+      \@temptokena{#2}%
+      \xdef\@classoptionslist{\the\@temptokena}%
+      \def\reserved@a{%
+        \@onefilewithoptions#3[#2][#4]#1%
+        \@documentclasshook}%
+    \else
+      \def\reserved@a{%
+        \@onefilewithoptions#3[#2][#4]#1}%
+    \fi
+  \else
+    \@temptokena{#2}%
+    \def\reserved@b##1,{%
+      \ifx\@nil##1\relax\else
+        \ifx\relax##1\relax\else
+         \noexpand\@onefilewithoptions##1%
+           [\the\@temptokena][#4]\noexpand\@pkgextension
+        \fi
+        \expandafter\reserved@b
+      \fi}%
+      \edef\reserved@a{\zap@space#3 \@empty}%
+      \edef\reserved@a{\expandafter\reserved@b\reserved@a,\@nil,}%
+  \fi
+  \reserved@a}
+\let\@@fileswith@pti@ns\@fileswith@pti@ns
+\endinput
+%%
+%% End of file `xkvltxp.sty'.
-- 
cgit v1.2.3

