From d6e9bde6a8ffa27e45e35126f586e4e5415242b6 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 23 Apr 2022 21:11:14 +0000 Subject: zref-check (23apr22) git-svn-id: svn://tug.org/texlive/trunk@63113 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/zref-check/zref-check.sty | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'Master/texmf-dist/tex') diff --git a/Master/texmf-dist/tex/latex/zref-check/zref-check.sty b/Master/texmf-dist/tex/latex/zref-check/zref-check.sty index 58ae260ae2c..e4e709313f9 100644 --- a/Master/texmf-dist/tex/latex/zref-check/zref-check.sty +++ b/Master/texmf-dist/tex/latex/zref-check/zref-check.sty @@ -28,7 +28,7 @@ %% zref-check.ins, %% zref-check.tex, %% zref-check-code.tex, -%% and the files listed in MANIFEST.md. +%% and the files generated from them. %% %% The released version of this package is available from CTAN. %% @@ -53,7 +53,7 @@ }% \endinput }% -\ProvidesExplPackage {zref-check} {2022-02-11} {0.2.5} +\ProvidesExplPackage {zref-check} {2022-04-22} {0.3.0} {Flexible cross-references with contextual checks based on zref} \RequirePackage { zref-user } \RequirePackage { zref-abspage } @@ -141,6 +141,11 @@ } \msg_new:nnn { zref-check } { option-deprecated } { Option~'#1'~has~been~deprecated~\msg_line_context:. } +\msg_new:nnn { zref-check } { load-time-options } + { + 'zref-check'~does~not~accept~load-time~options.~ + To~configure~package~options,~use~'\iow_char:N\\zrefchecksetup'. + } \cs_new_eq:NN \__zrefcheck_int_to_roman:w \__int_to_roman:w \prg_new_conditional:Npnn \__zrefcheck_is_integer:n #1 { p, T , F , TF } { @@ -307,8 +312,10 @@ { labelcmd } } , } -\RequirePackage { l3keys2e } -\ProcessKeysOptions { zref-check } +\bool_lazy_and:nnT + { \tl_if_exist_p:c { opt@ zref-check.sty } } + { ! \tl_if_empty_p:c { opt@ zref-check.sty } } + { \msg_warning:nn { zref-check } { load-time-options } } \NewDocumentCommand \zrefchecksetup { m } { \keys_set:nn { zref-check } {#1} } \prop_new:N \g__zrefcheck_auxfile_lblseq_prop -- cgit v1.2.3