summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/xkeyval
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-06-17 03:01:24 +0000
committerNorbert Preining <norbert@preining.info>2022-06-17 03:01:24 +0000
commitf9418ac1e9385653cfa09da311bb2d405a936334 (patch)
tree764fc072c0bea51901ba3ef3a6dd915400df47c5 /macros/latex/contrib/xkeyval
parentb83d15e1ff2e551eb7391d45becd87dce59d39b8 (diff)
CTAN sync 202206170301
Diffstat (limited to 'macros/latex/contrib/xkeyval')
-rw-r--r--macros/latex/contrib/xkeyval/README174
-rw-r--r--macros/latex/contrib/xkeyval/xkeyval.dtx10
-rw-r--r--macros/latex/contrib/xkeyval/xkeyval.pdfbin492216 -> 810100 bytes
3 files changed, 93 insertions, 91 deletions
diff --git a/macros/latex/contrib/xkeyval/README b/macros/latex/contrib/xkeyval/README
index bfae33636a..52c508ae06 100644
--- a/macros/latex/contrib/xkeyval/README
+++ b/macros/latex/contrib/xkeyval/README
@@ -1,87 +1,87 @@
-xkeyval v2.8
-------------
-
-This package is an extension of the keyval package by David Carlisle
-and offers additional macros for setting keys and declaring and
-setting class or package options. This distribution also includes
-the following additional packages:
-
-xkvview v1.4a : viewer utility for package programmers
-xkvltxp v1.3 : LaTeX kernel patch to allow expandable macros in
- package options
-pst-xkey v1.6 : specialization of the xkeyval package for PSTricks
- packages
-
-See for more information the pdf documentation of this package.
-
-
-Installation
-------------
-
-First check whether this package can be installed by the
-distribution that you use, since that will simplify installation.
-For manual installations, the structure and supposed location in a
-TDS compliant TeX-tree is shown in the overview below. In words,
-keyval.tex, pst-xkey.tex, xkvutils.tex, xkvtxhdr.tex and xkeyval.tex
-should be available to TeX and LaTeX; pst-xkey.sty, xkeyval.sty,
-xkvview.sty and xkvltxp.sty should be available to LaTeX. The package
-to which a specific run file belongs, is denoted in between square
-brackets. Don't forget to update your filename database after installing
-the files.
-
-CTAN:/macros/latex/contrib/xkeyval: official location
- |
- |- readme : should not be installed
- |- doc
- | `- xkeyval.pdf : /doc/latex/xkeyval
- |- run
- | |- keyval.tex : /tex/generic/xkeyval [xkeyval]
- | |- xkvutils.tex : /tex/generic/xkeyval [xkeyval]
- | |- pst-xkey.sty : /tex/latex/xkeyval [pst-xkey]
- | |- pst-xkey.tex : /tex/generic/xkeyval [pst-xkey]
- | |- xkeyval.sty : /tex/latex/xkeyval [xkeyval]
- | |- xkeyval.tex : /tex/generic/xkeyval [xkeyval]
- | |- xkvview.sty : /tex/latex/xkeyval [xkvview]
- | |- xkvltxp.sty : /tex/latex/xkeyval [xkvltxp]
- | `- xkvtxhdr.tex : /tex/generic/xkeyval [xkeyval]
- `- source
- `- xkeyval.dtx : /source/latex/xkeyval
-
-The package includes pregenerated run and doc files, but you can
-reproduce them from the source if necessary. See the first lines
-of xkeyval.dtx for information how to do this. Example files can
-be produced by running the file xkeyval.dtx with LaTeX once.
-
-See the documentation of your LaTeX distribution or the TeX
-Frequently Asked Questions for more information on installing
-xkeyval into your LaTeX distribution
-(http://www.tex.ac.uk/cgi-bin/texfaq2html?label=instpackages).
-
-
-License
--------
-
-Copyright (C) 2004-2020 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, xkvutils.tex, 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, xkvutils.tex, pst-xkey.dtx and xkeyval.dtx.
+xkeyval v2.9
+------------
+
+This package is an extension of the keyval package by David Carlisle
+and offers additional macros for setting keys and declaring and
+setting class or package options. This distribution also includes
+the following additional packages:
+
+xkvview v1.4a : viewer utility for package programmers
+xkvltxp v1.3 : LaTeX kernel patch to allow expandable macros in
+ package options
+pst-xkey v1.6 : specialization of the xkeyval package for PSTricks
+ packages
+
+See for more information the pdf documentation of this package.
+
+
+Installation
+------------
+
+First check whether this package can be installed by the
+distribution that you use, since that will simplify installation.
+For manual installations, the structure and supposed location in a
+TDS compliant TeX-tree is shown in the overview below. In words,
+keyval.tex, pst-xkey.tex, xkvutils.tex, xkvtxhdr.tex and xkeyval.tex
+should be available to TeX and LaTeX; pst-xkey.sty, xkeyval.sty,
+xkvview.sty and xkvltxp.sty should be available to LaTeX. The package
+to which a specific run file belongs, is denoted in between square
+brackets. Don't forget to update your filename database after installing
+the files.
+
+CTAN:/macros/latex/contrib/xkeyval: official location
+ |
+ |- readme : should not be installed
+ |- doc
+ | `- xkeyval.pdf : /doc/latex/xkeyval
+ |- run
+ | |- keyval.tex : /tex/generic/xkeyval [xkeyval]
+ | |- xkvutils.tex : /tex/generic/xkeyval [xkeyval]
+ | |- pst-xkey.sty : /tex/latex/xkeyval [pst-xkey]
+ | |- pst-xkey.tex : /tex/generic/xkeyval [pst-xkey]
+ | |- xkeyval.sty : /tex/latex/xkeyval [xkeyval]
+ | |- xkeyval.tex : /tex/generic/xkeyval [xkeyval]
+ | |- xkvview.sty : /tex/latex/xkeyval [xkvview]
+ | |- xkvltxp.sty : /tex/latex/xkeyval [xkvltxp]
+ | `- xkvtxhdr.tex : /tex/generic/xkeyval [xkeyval]
+ `- source
+ `- xkeyval.dtx : /source/latex/xkeyval
+
+The package includes pregenerated run and doc files, but you can
+reproduce them from the source if necessary. See the first lines
+of xkeyval.dtx for information how to do this. Example files can
+be produced by running the file xkeyval.dtx with LaTeX once.
+
+See the documentation of your LaTeX distribution or the TeX
+Frequently Asked Questions for more information on installing
+xkeyval into your LaTeX distribution
+(http://www.tex.ac.uk/cgi-bin/texfaq2html?label=instpackages).
+
+
+License
+-------
+
+Copyright (C) 2004-2022 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, xkvutils.tex, 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, xkvutils.tex, pst-xkey.dtx and xkeyval.dtx.
diff --git a/macros/latex/contrib/xkeyval/xkeyval.dtx b/macros/latex/contrib/xkeyval/xkeyval.dtx
index 34a01d898b..6690fbcac6 100644
--- a/macros/latex/contrib/xkeyval/xkeyval.dtx
+++ b/macros/latex/contrib/xkeyval/xkeyval.dtx
@@ -26,7 +26,7 @@
% pst-xkey.sty
%
%% ---------------------------------------
-%% Copyright (C) 2004-2020 Hendri Adriaens
+%% Copyright (C) 2004-2022 Hendri Adriaens
%% ---------------------------------------
%%
%% This work may be distributed and/or modified under the
@@ -188,7 +188,7 @@ macro. \PrintChangesX\PrintIndexX
%
% \GetFileInfo{xkeyval.sty}
%
-% \CheckSum{3040}
+% \CheckSum{3043}
%
%\DoNotIndex{\:,\@,\@@,\@backslashchar,\@ehc,\@empty,\@expandtwoargs,
%\@for,\@forloop,\@fornoop,\@fortmp,\@gobble,\@gobbletwo,\@if,\@ifnch,
@@ -3440,7 +3440,7 @@ macro. \PrintChangesX\PrintIndexX
%<*xkvlatex>
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{xkeyval}
- [2020/11/20 v2.8 package option processing (HA)]
+ [2022/06/16 v2.9 package option processing (HA)]
% \end{macrocode}
% Initializations. Load |xkeyval.tex|, adjust some catcodes to define
% internal macros and initialize the |\DeclareOptionX*| working macro.
@@ -3682,13 +3682,14 @@ macro. \PrintChangesX\PrintIndexX
% \begin{macro}{\XKV@useoption}
% \marg{option}\\
% Removes an option from |\@unusedoptionlist|.
+% \changes{v2.9}{2022/06/16}{Fix for package options with braces}
% \begin{macrocode}
\def\XKV@useoption#1{%
\def\XKV@resa{#1}%
\XKV@ifundefined{ver@xkvltxp.sty}{}{%
\@onelevel@sanitize\XKV@resa
}%
- \@expandtwoargs\@removeelement{\XKV@resa}%
+ \@expandtwoargs\@removeelement{\expandafter\@remove@eq@value\XKV@resa=\@nil}%
{\@unusedoptionlist}\@unusedoptionlist
}
% \end{macrocode}
@@ -5641,6 +5642,7 @@ actually used. They are not expanded during option processing.\\
\EnableCrossrefs
\RecordChanges
\CodelineIndex
+\AtBeginDocument{\hypersetup{linkcolor=black, citecolor=black, urlcolor=black}}
%</preamble>
%
%<*bib>
diff --git a/macros/latex/contrib/xkeyval/xkeyval.pdf b/macros/latex/contrib/xkeyval/xkeyval.pdf
index 4b1f569696..66ebf16812 100644
--- a/macros/latex/contrib/xkeyval/xkeyval.pdf
+++ b/macros/latex/contrib/xkeyval/xkeyval.pdf
Binary files differ