summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/xkeyval/xkeyval.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/xkeyval/xkeyval.dtx')
-rw-r--r--macros/latex/contrib/xkeyval/xkeyval.dtx10
1 files changed, 6 insertions, 4 deletions
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>