diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/amscls')
-rw-r--r-- | Master/texmf-dist/tex/latex/amscls/amsldoc.cls | 451 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/amscls/amsmidx.sty | 10 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/amscls/rkvbeta.sty | 189 |
3 files changed, 456 insertions, 194 deletions
diff --git a/Master/texmf-dist/tex/latex/amscls/amsldoc.cls b/Master/texmf-dist/tex/latex/amscls/amsldoc.cls new file mode 100644 index 00000000000..0e8d142cbf9 --- /dev/null +++ b/Master/texmf-dist/tex/latex/amscls/amsldoc.cls @@ -0,0 +1,451 @@ +%% +%% This is file `amsldoc.cls', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% amsdtx.dtx (with options: `amsldoc') +%% +%%% ==================================================================== +%%% @LaTeX-file{ +%%% filename = "amsdtx.dtx", +%%% version = "2.06", +%%% date = "2004/08/06", +%%% time = "12:18:49 EDT", +%%% checksum = "19929 1192 3506 39423", +%%% author = "Michael J. Downes, updated by David M. Jones", +%%% copyright = "Copyright 1996, 1999, 2004 +%%% American Mathematical Society, +%%% all rights reserved. Copying of this file is +%%% authorized only if either: +%%% (1) you make absolutely no changes to your copy, +%%% including name; OR +%%% (2) if you do make changes, you first rename it +%%% to some other name.", +%%% address = "American Mathematical Society, +%%% Technical Support, +%%% Publications Technical Group, +%%% 201 Charles Street, +%%% Providence, RI 02904, +%%% USA", +%%% telephone = "401-455-4080 or (in the USA and Canada) +%%% 800-321-4AMS (321-4267)", +%%% FAX = "401-331-3842", +%%% email = "tech-support@ams.org (Internet)", +%%% codetable = "ISO/ASCII", +%%% keywords = "latex, amslatex, ams-latex, user documentation", +%%% supported = "yes", +%%% abstract = "This is the source for two document classes, amsdtx +%%% and amsldoc, used to produce AMS user documentation +%%% or technical documentation.", +%%% docstring = "The checksum field above contains a CRC-16 +%%% checksum as the first value, followed by the +%%% equivalent of the standard UNIX wc (word +%%% count) utility output of lines, words, and +%%% characters. This is produced by Robert +%%% Solovay's checksum utility.", +%%% } +%%% ==================================================================== +\NeedsTeXFormat{LaTeX2e}% LaTeX 2.09 can't be used (nor non-LaTeX) +[1995/06/01]% LaTeX date must be June 1995 or later +\ProvidesClass{amsldoc}[2004/08/06 v2.06] +\DeclareOption*{\PassOptionsToClass{\CurrentOption}{book}} +\ProcessOptions +\LoadClass{book} +\IfFileExists{url.sty}{% + \RequirePackage{url}\relax + \@gobble +}{% + \@firstofone +} +{ + \DeclareRobustCommand{\url}[1]{% + \def\@tempa{#1}% + \texttt{\urlsetup $\expandafter\strip@prefix\meaning\@tempa$}% + }% + \def\urlsetup{% + \check@mathfonts \textfont\@ne\the\font \textfont\z@\the\font + \urlfix +\urlfix\=\urlfix\:\urlfix\-\urlfix\.\urlfix\,\urlfix\;% + \urlbreak\&\urlbreak\/\urlbreak\?% + }% + \def\urlbreak#1{% + \mathcode`#1="8000 + \begingroup \lccode`\~=`#1 \lowercase{\endgroup \edef~}% + {\mathchar\number`#1\penalty\hyphenpenalty}% + }% + \def\urlfix#1{% + \mathcode`#1=`#1\relax + }% +} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\providecommand{\qq}[1]{\textquotedblleft#1\/\textquotedblright} +\providecommand{\mdash}{\textemdash\penalty\exhyphenpenalty} +\providecommand{\ndash}{\textendash\penalty\exhyphenpenalty} +\let\@xp\expandafter +\def\actualchar{@} +\def\quotechar{"} +\def\levelchar{!} +\def\encapchar{|} +\def\verbatimchar{+} +\newif\ifcodeline@index +\newcommand*{\autoindex}[1]{% + \index{#1\ifcodeline@index\encapchar usage\fi}% +} +\newcommand{\ntt}{\normalfont\ttfamily} +\newcommand*{\indexcs}[1]{% + \@xp\@xp\@xp\@indexcs\@xp\@nobslash\string#1\@nil +} +\def\@indexcs#1\@nil{% + \autoindex{#1\actualchar + \string\verb\quotechar*\verbatimchar + \@xp\@bothoftwo\string\ #1\@empty + \verbatimchar + }% +} +\def\@bothoftwo#1#2{#1#2} +\def\category@index#1#2{% + {\ntt#2}% + \@category@index{#1}{#2}% +} +\def\@category@index#1#2{% + \autoindex{% + #2\actualchar\string\texttt{#2}% + \ifx\@nil#1\@nil\else\space#1\fi + }% +} +\chardef\bslchar=`\\ % p. 424, TeXbook +\newcommand{\addbslash}{\expandafter\@addbslash\string} +\def\@addbslash#1{\bslchar\@nobslash#1} +\newcommand{\nobslash}{\expandafter\@nobslash\string} +\def\@nobslash#1{\ifnum`#1=\bslchar\else#1\fi} +\def\@boxorbreak{% + \leavevmode + \ifmmode\hbox\else\ifdim\lastskip=\z@\penalty9999 \fi\fi +} +\DeclareRobustCommand{\cs}[1]{% + \@boxorbreak{% + \ntt + \addbslash#1\@empty + \@xp\@xp\@xp\@indexcs\@xp\@nobslash\string#1\@nil + }% +} +\let\cn\cs +\DeclareRobustCommand{\cls}{\category@index{class}} +\DeclareRobustCommand{\pkg}{\category@index{package}} +\DeclareRobustCommand{\opt}{\category@index{option}} +\DeclareRobustCommand{\env}{\category@index{environment}} +\DeclareRobustCommand{\fn}{\category@index{}} +\DeclareRobustCommand{\bst}{\category@index{\string\BibTeX{} style}} +\DeclareRobustCommand{\cnt}{\category@index{counter}} +\DeclareRobustCommand{\fnt}{\category@index{font}} +\def\allowtthyphens{\begingroup + \fontencoding{OT1}\fontfamily{cmtt}% + \expandafter\let\csname OT1+cmtt\endcsname\relax + \try@load@fontshape + \endgroup + \expandafter\let\csname OT1+cmtt\endcsname\@empty +} +\hfuzz2pc +\vbadness9999 \hbadness5000 +\def\AmS{{\protect\usefont{OMS}{cmsy}{m}{n}% + A\kern-.1667em\lower.5ex\hbox{M}\kern-.125emS}} +\def\latex/{{\protect\LaTeX}} +\def\amslatex/{{\protect\AmS-\protect\LaTeX}} +\def\tex/{{\protect\TeX}} +\def\amstex/{{\protect\AmS-\protect\TeX}} +\def\bibtex/{{Bib\protect\TeX}} +\def\makeindx/{MakeIndex} +\def\xypic/{XY\mbox{-}pic} +\newcommand{\Textures}{\textit{Textures}} +\def\<#1>{\textit{$\langle$#1\/$\rangle$}} +\def\@listi{% + \leftmargin\leftmargini + \topsep 3\p@ \@plus2\p@ \@minus\p@ + \parsep \p@ \@plus\p@ \itemsep\parsep +} +\let\@listI\@listi +\@listi +\def\@listii{% + \leftmargin\leftmarginii + \labelwidth\leftmarginii \advance\labelwidth-\labelsep + \topsep\p@\@plus\p@ \@minus\p@ + \parsep\z@skip \itemsep\z@skip +} +\def\@listiii{% + \leftmargin\leftmarginiii + \labelwidth\leftmarginiii \advance\labelwidth-\labelsep + \topsep\z@skip \parsep\z@skip \itemsep\z@skip +} +\newenvironment{histnote}{% + \trivlist\item[\hspace{\labelsep}\bfseries Historical Note:]% +}{% + \endtrivlist +} +\def\@starttoc#1{\begingroup + \let\autoindex\@gobble + \makeatletter + \@input{\jobname.#1}\if@filesw + \expandafter\newwrite\csname tf@#1\endcsname + \immediate\openout + \csname tf@#1\endcsname \jobname.#1\relax + \fi \global\@nobreakfalse \endgroup} +\newcommand{\gloss}[1]{} +\newcommand*{\secref}[1]{\S\ref{#1}} +\newcommand{\qc}[1]{}% check for prior definition +\edef\qc#1{\noexpand\protect\expandafter\noexpand\csname qc \endcsname + \noexpand\protect#1} +\@namedef{qc }#1#2{\begingroup\ntt + \ifx\ #2\char`\ \else\escapechar\m@ne\string#2\fi\endgroup} +\DeclareRobustCommand{\qcat}{\qc\@}% +\DeclareRobustCommand{\qcamp}{\qc\&}% +\DeclareRobustCommand{\qcbang}{\qc\!}% +\DeclareRobustCommand{\arg}[1]{{\ntt\##1}} +\newcommand{\openbox}{\leavevmode + \hbox to.77778em{% + \hfil\vrule + \vbox to.675em{\hrule width.6em\vfil\hrule}% + \vrule\hfil}} +\newcommand{\qedsymbol}{\openbox} +\def\mail{\texttt} +\def\*#1{\def\@tempa{#1}\def\@tempb{*}% + \ifx\@tempa\@tempb \expandafter\index + \else #1\index{#1}\fi} +\def\ncn#1{{\let\index\@gobble\cn{#1}}} + +\DeclareRobustCommand{\cnbang}{% + \ncn{\!}\index{"!@{\ntt\bslchar\qcbang}}} +\DeclareRobustCommand{\cnat}{% + \ncn{\!}\index{"@@{\ntt\bslchar\qcat}}} +\def\5{\penalty500 } +\newenvironment{error}{% + \begingroup\catcode`\\=12 \expandafter\endgroup\errora +}{% + \endtrivlist +} +\newcommand{\errora}[1]{% + \trivlist + \item[\hskip\labelsep\errorbullet\enspace + \ntt\frenchspacing\def\@tempa{#1}% + \expandafter\strip@prefix\meaning\@tempa]\leavevmode\par +} +\newcommand{\errorbullet}{\rule[-.5pt]{2.5pt}{7.5pt}% + \rule[-.5pt]{5pt}{2.5pt}\kern-2.5pt% + \rule[4.5pt]{2.5pt}{2.5pt}} +\newcommand{\errexa}{\par\noindent\textit{Example}:\ } +\newcommand{\errexpl}{\par\noindent\textit{Explanation}:\ } +\renewcommand\frontmatter{\clearpage + \@mainmatterfalse\pagenumbering{roman}} +\renewcommand\mainmatter{\clearpage + \@mainmattertrue\pagenumbering{arabic}} +\renewcommand\backmatter{\clearpage \@mainmatterfalse} +\renewcommand\part{\clearpage + \thispagestyle{plain}% + \if@twocolumn + \onecolumn + \@tempswatrue + \else + \@tempswafalse + \fi + \hbox{}\vfil + \secdef\@part\@spart} +\def\@part[#1]#2{% + \ifnum \c@secnumdepth >-2\relax + \refstepcounter{part}% + \addcontentsline{toc}{part}{\thepart\hspace{1em}#1}% + \else + \addcontentsline{toc}{part}{#1}% + \fi + \markboth{}{}% + {\centering + \interlinepenalty \@M + \reset@font + \ifnum \c@secnumdepth >-2\relax + \Large\bfseries \partname~\thepart + \par + \vskip 20\p@ + \fi + \Large \bfseries #2\par}% + \@endpart} +\def\@spart#1{% + {\centering + \interlinepenalty \@M + \reset@font + \Large \bfseries #1\par}% + \@endpart} +\def\@endpart{\vfil\newpage + \if@twoside + \hbox{}% + \thispagestyle{empty}% + \newpage + \fi + \if@tempswa + \twocolumn + \fi} +\renewcommand\chapter{\par \@afterindentfalse + \secdef\@chapter\@schapter} +\def\@chapter[#1]#2{\ifnum \c@secnumdepth >\m@ne + \if@mainmatter + \refstepcounter{chapter}% + \typeout{\@chapapp\space\thechapter.}% + \addcontentsline{toc}{chapter}% + {\protect\numberline{\thechapter}#1}% + \else + \addcontentsline{toc}{chapter}{#1}\fi + \else + \addcontentsline{toc}{chapter}{#1} + \fi + \chaptermark{#1}% + \addtocontents{lof}{\protect\addvspace{10\p@}}% + \addtocontents{lot}{\protect\addvspace{10\p@}}% + \if@twocolumn + \@topnewpage[\@makechapterhead{#2}]% + \else + \@makechapterhead{#2}% + \@afterheading + \fi} +\def\@makechapterhead#1{% + \vspace{1.5\baselineskip}% + {\parindent \z@ \raggedright \reset@font + \ifnum \c@secnumdepth >\m@ne + \large\bfseries \@chapapp\space\thechapter + \par\nobreak + \vskip.5\baselineskip\relax + \fi + #1\par\nobreak + \vskip\baselineskip + }} +\def\@schapter#1{\if@twocolumn + \@topnewpage[\@makeschapterhead{#1}]% + \else + \@makeschapterhead{#1}% + \@afterheading + \fi} +\def\@makeschapterhead#1{% + \vspace*{1.5\baselineskip}% + {\parindent \z@ \raggedright + \reset@font + \large \bfseries #1\par\nobreak + \vskip\baselineskip + }} +\def\@removefromreset#1#2{\let\@tempb\@elt + \expandafter\let\expandafter\@tempa\csname c@#1\endcsname + \def\@elt##1{\expandafter\ifx\csname c@##1\endcsname\@tempa\else + \noexpand\@elt{##1}\fi}% + \expandafter\edef\csname cl@#2\endcsname{\csname cl@#2\endcsname}% + \let\@elt\@tempb} +\@removefromreset{footnote}{chapter} +\def\ps@headings{% + \let\@oddfoot\@empty\let\@evenfoot\@empty + \def\@evenhead{\thepage\hfil{\footnotesize\leftmark{}{}}}% + \def\@oddhead{{\footnotesize\rightmark{}{}}\hfil\thepage}% + \let\@mkboth\markboth + \def\chaptermark##1{% + \markboth {\uppercase{\ifnum \c@secnumdepth >\m@ne + \if@mainmatter + \@chapapp\ \thechapter. \ \fi + \fi + ##1}}{}}% + \def\sectionmark##1{% + \markright {\uppercase{\ifnum \c@secnumdepth >\z@ + \thesection. \ \fi + ##1}}}} +\renewcommand\section{\@startsection {section}{1}{\z@}% + {-.6\baselineskip \@plus -3\p@}% + {.4\baselineskip} + {\reset@font\normalsize\bfseries}} +\renewcommand\subsection{\@startsection{subsection}{2}{\z@}% + {-.3\baselineskip\@plus -2\p@}% + {.2\baselineskip}% + {\reset@font\normalsize\bfseries}} +\renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}% + {-.2\baselineskip\@plus -2\p@}% + {.2\baselineskip}% + {\reset@font\normalsize\bfseries}} +\renewenvironment{theindex}{% + \if@twocolumn \@restonecolfalse \else \@restonecoltrue \fi + \columnseprule \z@ \columnsep 35\p@ + \let\autoindex\@gobble + \twocolumn[\@makeschapterhead{\indexname}]% + \addcontentsline{toc}{chapter}{\indexname}% + \@mkboth{\uppercase{\indexname}}{\uppercase{\indexname}}% + \thispagestyle{plain}\parindent\z@ + \parskip\z@ \@plus .3\p@\relax + \let\item\@idxitem +}{% + \if@restonecol\onecolumn\else\clearpage\fi +} +\long\def\@makecaption#1#2{% + \addvspace\abovecaptionskip + \begingroup + \countdef\@parcycles=8 % local count register + \@parcycles\z@ + \@setpar{\advance\@parcycles\@ne \ifnum\@parcycles>999 + \@@par\@parcycles\z@\fi + \ifhmode \unskip\hskip\parfillskip\penalty-\@M\fi}% + \@hangfrom{\textbf{#1.} }\vadjust{\penalty\m@ne}#2% + \endgroup + \ifhmode\unpenalty\fi\par + \ifnum\lastpenalty=\m@ne % only one line in the caption + \unpenalty \setbox\@tempboxa\lastbox + \nointerlineskip + \hbox to\hsize{\hfill\unhbox\@tempboxa\unskip\hfill}% + \fi + \nobreak\vskip\belowcaptionskip +} +\renewenvironment{table}{% + \belowcaptionskip\abovecaptionskip \abovecaptionskip\z@skip + \@float{table}% +}{% + \end@float +} +\renewenvironment{table*}{% + \belowcaptionskip\abovecaptionskip \abovecaptionskip\z@skip + \@dblfloat{table}% +}{% + \end@dblfloat +} +\setcounter{topnumber}{4}\setcounter{bottomnumber}{4} +\setcounter{totalnumber}{4}\setcounter{dbltopnumber}{4} +\renewcommand{\topfraction}{.97}\renewcommand{\bottomfraction}{.97} +\renewcommand{\textfraction}{.03}\renewcommand{\floatpagefraction}{.9} +\renewcommand{\dbltopfraction}{.97} +\renewcommand{\dblfloatpagefraction}{.9} +\setlength{\floatsep}{8pt plus6pt} +\setlength{\textfloatsep}{10pt plus8pt} +\setlength{\intextsep}{8pt plus6pt} +\setlength{\dblfloatsep}{8pt plus6pt} +\setlength{\dbltextfloatsep}{10pt plus8pt} +\setlength{\@fptop}{0pt}\setlength{\@fpsep}{8pt}% +\setlength{\@fpbot}{0pt plus 1fil} +\setlength{\@dblfptop}{0pt}\setlength{\@dblfpsep}{8pt}% +\setlength{\@dblfpbot}{0pt plus 1fil} + +\pagestyle{headings} +\AtBeginDocument{\catcode`\|=\active } +\def\activevert{\verb|} +\expandafter\gdef\expandafter\dospecials\expandafter + {\dospecials \do\|}% +\expandafter\gdef\expandafter\@sanitize\expandafter + {\@sanitize \@makeother\|} +\begingroup\catcode`\|=\active \gdef|{\protect\activevert{}}\endgroup +\newcommand{\arrayargpatch}{% + \let\@oldarray\@array + \edef\@array[##1]##2{\catcode\number`\|=\number\catcode`\| + \catcode\number`\@=\number\catcode`\@ \relax + \let\noexpand\@array\noexpand\@oldarray + \noexpand\@array[##1]{##2}}% + \catcode`\|=12 \catcode`\@=12 \relax +} +\newenvironment{ctab}{% + \par\topsep\medskipamount + \trivlist\centering + \item[]% + \arrayargpatch + \begin{tabular}% +}{% + \end{tabular}% + \endtrivlist +} +\endinput +%% +%% End of file `amsldoc.cls'. diff --git a/Master/texmf-dist/tex/latex/amscls/amsmidx.sty b/Master/texmf-dist/tex/latex/amscls/amsmidx.sty index 37752d64d9d..f8bae104430 100644 --- a/Master/texmf-dist/tex/latex/amscls/amsmidx.sty +++ b/Master/texmf-dist/tex/latex/amscls/amsmidx.sty @@ -9,10 +9,10 @@ %%% ==================================================================== %%% @LaTeX-file{ %%% filename = "amsmidx.dtx", -%%% version = "2.02", -%%% date = "2007/09/25", -%%% time = "10:22:40 EDT", -%%% checksum = "48989 241 948 8314", +%%% version = "2.01", +%%% date = "2004/08/03", +%%% time = "14:45:42 EDT", +%%% checksum = "63234 241 948 8307", %%% author = "American Mathematical Society", %%% copyright = "Copyright 1995, 2004 American Mathematical Society, %%% all rights reserved. Copying of this file is @@ -50,7 +50,7 @@ %%% } %%% ==================================================================== \NeedsTeXFormat{LaTeX2e}[1995/06/01] -\ProvidesPackage{amsmidx}[2007/09/25 v2.02 multiple indexes for AMS classes] +\ProvidesPackage{amsmidx}[2004/08/03 v2.01 multiple indexes for AMS classes] \renewcommand{\makeindex}[1]{% \begingroup \makeatletter diff --git a/Master/texmf-dist/tex/latex/amscls/rkvbeta.sty b/Master/texmf-dist/tex/latex/amscls/rkvbeta.sty deleted file mode 100644 index 693ad698a91..00000000000 --- a/Master/texmf-dist/tex/latex/amscls/rkvbeta.sty +++ /dev/null @@ -1,189 +0,0 @@ -%% -%% This is file `rkeyval.sty', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% rkeyval.dtx -%% -%%% ==================================================================== -%%% @LaTeX-doc-source-file{ -%%% filename = "rkeyval.dtx", -%%% version = "1.02", -%%% date = "2000/04/07", -%%% time = "12:01:25 EDT", -%%% author = "Michael J Downes", -%%% address = "American Mathematical Society, -%%% Publications Technical Group, -%%% PO Box 6248, -%%% Providence, RI 02940, -%%% USA", -%%% email = "tech-support@ams.org", -%%% URL = "http://www.ams.org/", -%%% abstract = "Key-value scanning functions with more restrictive -%%% syntax than the standard keyval package. This permits -%%% some improvements in the error-checking.", -%%% checksum = "41751 427 1502 13407", -%%% docstring = "The checksum field, produced by Robert Solovay's -%%% checksum utility, gives CRC-16 checksum, lines, -%%% words, and characters.", -%%% } -%%% ==================================================================== -\NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{rkvbeta}[2000/04/07 v1.02] -\let\@xp\expandafter \let\@nx\noexpand -\def\@append#1#2#3{\@xp\def\@xp#2\@xp{#2#1{#3}}} -\edef\@tempa{% - \@nx\AtEndOfPackage{\catcode\number`\'=\number\catcode`\'\relax}% -} -\@tempa -\catcode`\'=12 -\def\fsa@l{\futurelet\@let@token\fsa@t} -\def\fsa@b{\afterassignment\fsa@l \let\@let@token= } -\def\fsa@c#1{\aftergroup#1\futurelet\@let@token\fsa@t} -\let\fsa@n\@empty -\let\fsa@t\@empty -\def\rkvIfEmpty#1#2{% - \@xp\ifx\csname#1'#2\endcsname\@empty \@xp\@firstoftwo - \else\@xp\@secondoftwo - \fi -} -\def\rkv@DSAK#1#2{% - \ifx\relax#1\global\let#1\@empty\fi - \g@addto@macro#1{\let#2\@empty}% - \def#2% -} -\def\rkv@DDK#1#2{% - \ifx\relax#1\global\let#1\@empty\fi - \g@addto@macro#1{\def#2{\@empty}}% - \def#2% -} -\newcommand{\DefineSimpleKey}[2]{% - \@xp\rkv@DSAK\csname #1@init\@xp\endcsname - \csname #1'#2\endcsname{\DSK@def}% -} -\newcommand{\DefineSupersedingKey}[2]{% - \@xp\rkv@DSAK\csname #1@init\@xp\endcsname - \csname #1'#2\endcsname{\def}% -} -\def\DSK@def#1{% - \ifx#1\@empty\else - \PackageWarningNoLine{rkeyval}% - {Key \string#1 should not be repeated}% - \fi - \def#1% -} -\newcommand{\DefineAdditiveKey}[3]{% - \@xp\rkv@DSAK\csname #1@init\@xp\endcsname \csname #1'#2\endcsname - {\@append#3}% -} -\newcommand{\DefineDummyKey}[2]{% - \@xp\rkv@DDK\csname #1@init\@xp\endcsname \csname #1'#2\endcsname{\def}% -} -\newcommand{\RestrictedSetKeys}[3][\NoCommaWarning]{% - \global\rsk@toks\@xp{\csname #2@init\endcsname}% - \gdef\rsk@set{\@xp\rsk@set@a\csname#2'}% - \def\rsk@finish{#3}% - \def\rsk@nocomma{#1}% - \begingroup \aftergroup\rsk@set - \let\fsa@t\rsk@z \fsa@l -} -\def\rsk@unknown@key#1{% - \PackageWarning{rkeyval}{Unknown key: \string#1}% - \def#1{\def}% -} -\newtoks\rsk@toks -\def\rsk@set@a#1#2{% - \ifx\relax#1\rsk@unknown@key#1\fi - \toks@\@xp{#1#1{#2}}% - \edef\@tempa{% - \global\rsk@toks{\the\rsk@toks \the\toks@}% - }% - \@tempa - \rsk@resume -} -\def\rsk@z{% - \ifx\bgroup\@let@token \let\fsa@t\rsk@b \let\fsa@n\fsa@b - \else\ifx\@sptoken\@let@token \let\fsa@n\fsa@b - \else \rsk@errf - \fi\fi - \fsa@n -} -\def\rsk@a{% - \ifx,\@let@token \endgroup \let\fsa@t\rsk@b \let\fsa@n\fsa@b - \else\rsk@ab\fi - \fsa@n -} -\def\rsk@ab{% - \ifx\@sptoken\@let@token \let\fsa@n\fsa@b - \else\ifx\bgroup\@let@token \endgroup - \let\@let@token\bgroup \let\fsa@n\rsk@erra - \else\ifx\egroup\@let@token \endgroup \let\fsa@n\rsk@end - \else\ifx\par\@let@token \endgroup \let\fsa@n\rsk@erraa - \else \endgroup \let\fsa@n\rsk@erraa - \fi\fi\fi\fi -} -\def\rsk@lc@letter#1{\lowercase{\fsa@c{#1}}} -\def\rsk@b{% - \ifcat\@nx\@let@token A\let\fsa@t\rsk@c \let\fsa@n\rsk@lc@letter - \else\ifx\@sptoken\@let@token \let\fsa@n\fsa@b - \else\rsk@bb\fi\fi - \fsa@n -} -\def\rsk@bb{% - \ifx,\@let@token \let\fsa@n\fsa@b - \else\ifx\bgroup\@let@token \let\fsa@n\rsk@errb - \else\ifx\egroup\@let@token \let\fsa@n\rsk@end - \else \let\fsa@n\rsk@errc - \fi\fi\fi -} -\def\rsk@c{% - \ifcat\@nx\@let@token A\let\fsa@n\rsk@lc@letter - \else\ifx\@sptoken\@let@token \let\fsa@t\rsk@d \let\fsa@n\fsa@b - \else\ifx=\@let@token \let\fsa@t\rsk@d \let\fsa@n\fsa@b - \else\rsk@cb\fi\fi\fi - \fsa@n -} -\def\rsk@cb{% - \ifx,\@let@token \let\fsa@n\rsk@errc - \else\ifcat\@nx\@let@token .\let\fsa@n\fsa@c - \else\ifx\bgroup\@let@token \let\fsa@n\rsk@errd - \else\ifx\egroup\@let@token \let\fsa@n\rsk@errd - \else \let\fsa@n\rsk@errc - \fi\fi\fi\fi -} -\def\rsk@d{% - \ifx\bgroup\@let@token \aftergroup\endcsname \let\fsa@n\endgroup - \else\ifx\@sptoken\@let@token \let\fsa@n\fsa@b - \else\ifx=\@let@token \let\fsa@n\fsa@b - \else\let\fsa@n\rsk@erre\fi\fi\fi - \fsa@n -} -\def\rsk@resume{\begingroup \aftergroup\rsk@set - \let\fsa@t\rsk@a - \begingroup - \catcode\endlinechar=\active \lccode`\~=\endlinechar - \lowercase{\let~\par}% - \fsa@l} -\def\rsk@end{% - \global\let\rsk@set\@gobble - \endgroup \endcsname - \afterassignment\rsk@finish - \toks@\bgroup -} -\def\NoCommaWarning{\PackageWarning{rkeyval}{Missing comma}}% -\def\NoCommaError{\rsk@err{Missing comma}\@ehc} -\def\rsk@nocomma{\NoCommaWarning} -\def\rsk@err{\PackageError{rkeyval}} -\def\rsk@errf{\rsk@err{Missing open brace}\@ehc\rsk@b} -\def\rsk@erra{\rsk@nocomma\rsk@b} -\long\def\rsk@erraa#1{\rsk@nocomma \let\fsa@t\rsk@b \fsa@l} -\def\rsk@errb{\rsk@err{Missing key name}\@ehc\rsk@d} -\def\rsk@errc{\rsk@err{Invalid key name character}\@ehc\fsa@b} -\def\rsk@errd{\rsk@err{Missing equal sign}\@ehc\rsk@d} -\def\rsk@erre#1,{\rsk@err{Missing open brace for key value}\@ehc - \endgroup \endcsname{#1},% -} -\endinput -%% -%% End of file `rkeyval.sty'. |