summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/expkv-bundle/expkv-opt.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/expkv-bundle/expkv-opt.sty')
-rw-r--r--Master/texmf-dist/tex/latex/expkv-bundle/expkv-opt.sty36
1 files changed, 17 insertions, 19 deletions
diff --git a/Master/texmf-dist/tex/latex/expkv-bundle/expkv-opt.sty b/Master/texmf-dist/tex/latex/expkv-bundle/expkv-opt.sty
index a3d3dd2a742..8b768949737 100644
--- a/Master/texmf-dist/tex/latex/expkv-bundle/expkv-opt.sty
+++ b/Master/texmf-dist/tex/latex/expkv-bundle/expkv-opt.sty
@@ -13,7 +13,7 @@
%% See http://www.latex-project.org/lppl.txt
%% ----------------------------------------------------------------
%%
-%% Copyright (C) 2020-2023 Jonathan P. Spratte
+%% Copyright (C) 2020-2024 Jonathan P. Spratte
%%
%% This work may be distributed and/or modified under the conditions of the
%% LaTeX Project Public License (LPPL), either version 1.3c of this license or
@@ -58,8 +58,8 @@
}
\DeclareRelease{v0.1}{2020/10/10}{expkv-opt-2020-10-10.sty}
\DeclareCurrentRelease{v0.2}{2021/04/04}
-\newcommand*\ekvoVersion{1.0}
-\newcommand*\ekvoDate{2023-01-23}
+\newcommand*\ekvoVersion{1.1}
+\newcommand*\ekvoDate{2024-12-16}
\ProvidesPackage{expkv-opt}
[%
\ekvoDate\space v\ekvoVersion\space
@@ -146,6 +146,19 @@
{\unexpanded\expandafter{#1}}
\protected\def\ekvo@set@handlers@local
{%
+ \ifx\@currext\@clsextension
+ \unless\ifx\@classoptionslist\relax
+ \expandafter
+ \ifx
+ \csname @raw@opt@\@currname.\@currext\endcsname
+ \@raw@classoptionslist
+ \unless\ifx\@unusedoptionlist\@empty
+ \let\ekvo@handle@defined@k\ekvo@rmfrom@unused@one
+ \let\ekvo@handle@defined@kv\ekvo@rmfrom@unused@two
+ \fi
+ \fi
+ \fi
+ \fi
\ekvo@if@need@handlers
{%
\ifx\@currext\@clsextension
@@ -159,10 +172,6 @@
\@raw@classoptionslist
\let\ekvo@handle@undefined@k\ekvo@addto@unused@one
\let\ekvo@handle@undefined@kv\ekvo@addto@unused@two
- \unless\ifx\@unusedoptionlist\@empty
- \let\ekvo@handle@defined@k\ekvo@rmfrom@unused@one
- \let\ekvo@handle@defined@kv\ekvo@rmfrom@unused@two
- \fi
\else
\let\ekvo@handle@undefined@k\@gobble
\let\ekvo@handle@undefined@kv\@gobbletwo
@@ -401,17 +410,6 @@
\let\ekvo@handle@defined@kv\@gobbletwo
}%
}
-\protected\def\ekvoProcessUnusedGlobalOptions#1%
- {%
- \PackageError{expkv-opt}%
- {%
- \noexpand
- \ekvoProcessUnusedGlobalOptions no longer works because of changes in%
- \MessageBreak
- the LaTeX2e kernel%
- }%
- {}%
- }
\IfFormatAtLeastTF{2022/11/01}
{%
\protected\def\ekvoProcessFutureOptions#1%
@@ -489,7 +487,7 @@
\csname\ekvo@name{}uN\expandafter\endcsname\expandafter
{\detokenize{##1}}{##1}%
}%
- {\@gobble}%
+ {}%
}%
\long\def\ekvo@handle@undefined@kv##1##2%
{%