diff options
author | Karl Berry <karl@freefriends.org> | 2022-02-13 21:38:16 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-02-13 21:38:16 +0000 |
commit | 74e31d62761dbf304a52bdc62776ec121e104168 (patch) | |
tree | 8dbd82cb75c0671f6a6a7ea1851b5b72f40c2268 /Master/texmf-dist/tex | |
parent | 40f8bd58d891f1fd496d3cd82f24dead381b5cd6 (diff) |
zref-check
git-svn-id: svn://tug.org/texlive/trunk@62011 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/zref-check/zref-check.sty | 12 |
1 files changed, 5 insertions, 7 deletions
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 b510378bd2b..58ae260ae2c 100644 --- a/Master/texmf-dist/tex/latex/zref-check/zref-check.sty +++ b/Master/texmf-dist/tex/latex/zref-check/zref-check.sty @@ -53,7 +53,7 @@ }% \endinput }% -\ProvidesExplPackage {zref-check} {2022-02-08} {0.2.4} +\ProvidesExplPackage {zref-check} {2022-02-11} {0.2.5} {Flexible cross-references with contextual checks based on zref} \RequirePackage { zref-user } \RequirePackage { zref-abspage } @@ -63,7 +63,7 @@ \AddToHook { cmd / chapter / before } { \int_gincr:N \g__zrefcheck_abschap_int - \int_zero:N \g__zrefcheck_abssec_int + \int_gzero:N \g__zrefcheck_abssec_int } \zref@newprop { zc@abschap } [0] { \int_use:N \g__zrefcheck_abschap_int } \zref@addprop \ZREF@mainlist { zc@abschap } @@ -312,7 +312,7 @@ \NewDocumentCommand \zrefchecksetup { m } { \keys_set:nn { zref-check } {#1} } \prop_new:N \g__zrefcheck_auxfile_lblseq_prop -\tl_set:Nn \g_tmpa_tl { \c_sys_jobname_str .aux } +\tl_gset:Nn \g_tmpa_tl { \c_sys_jobname_str .aux } \file_if_exist:nT { \g_tmpa_tl } { \ior_open:Nn \g_tmpa_ior { \g_tmpa_tl } @@ -471,8 +471,7 @@ \zref@wrapper@babel \zref@labelbylist { \__zrefcheck_end_lblfmt:n {#1} } { zrefcheck-end } } -\seq_new:N \c__zrefcheck_single_label_checks_seq -\seq_set_from_clist:Nn \c__zrefcheck_single_label_checks_seq +\seq_const_from_clist:Nn \c__zrefcheck_single_label_checks_seq { thischap , prevchap , @@ -542,8 +541,7 @@ \cs_generate_variant:Nn \__zrefcheck_run_checks:nnn { nnx } \bool_new:N \l__zrefcheck_passedcheck_bool \bool_new:N \l__zrefcheck_onpage_bool -\seq_new:N \c__zrefcheck_onpage_checks_seq -\seq_set_from_clist:Nn \c__zrefcheck_onpage_checks_seq +\seq_const_from_clist:Nn \c__zrefcheck_onpage_checks_seq { above , below , before , after } \cs_generate_variant:Nn \exp_args:Nnno { Nnoo } \cs_new_protected:Npn \__zrefcheck_do_check:nnn #1#2#3 |