diff options
author | Karl Berry <karl@freefriends.org> | 2024-03-15 21:24:37 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-03-15 21:24:37 +0000 |
commit | b4d3ea9392d1e4a7715f9fb427be31e076d20e32 (patch) | |
tree | de7457cb30c51c813e5744ac5958a3515aa81a43 /Master/texmf-dist/tex | |
parent | 9b538c17bb17945ed3521bdc36baeca6972b0875 (diff) |
zref-clever (15mar24)
git-svn-id: svn://tug.org/texlive/trunk@70654 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
8 files changed, 21 insertions, 36 deletions
diff --git a/Master/texmf-dist/tex/latex/zref-clever/zref-clever-dutch.lang b/Master/texmf-dist/tex/latex/zref-clever/zref-clever-dutch.lang index 3a119ee8bec..0a4f8513ed5 100644 --- a/Master/texmf-dist/tex/latex/zref-clever/zref-clever-dutch.lang +++ b/Master/texmf-dist/tex/latex/zref-clever/zref-clever-dutch.lang @@ -8,7 +8,7 @@ %% %% This file was generated from file(s) of the LaTeX package "zref-clever". %% -%% Copyright (C) 2021-2023 gusbrs +%% Copyright (C) 2021-2024 gusbrs %% %% It may be distributed and/or modified under the conditions of the %% LaTeX Project Public License (LPPL), either version 1.3c of this diff --git a/Master/texmf-dist/tex/latex/zref-clever/zref-clever-english.lang b/Master/texmf-dist/tex/latex/zref-clever/zref-clever-english.lang index f2c27039bb3..ae0c9d156cf 100644 --- a/Master/texmf-dist/tex/latex/zref-clever/zref-clever-english.lang +++ b/Master/texmf-dist/tex/latex/zref-clever/zref-clever-english.lang @@ -8,7 +8,7 @@ %% %% This file was generated from file(s) of the LaTeX package "zref-clever". %% -%% Copyright (C) 2021-2023 gusbrs +%% Copyright (C) 2021-2024 gusbrs %% %% It may be distributed and/or modified under the conditions of the %% LaTeX Project Public License (LPPL), either version 1.3c of this diff --git a/Master/texmf-dist/tex/latex/zref-clever/zref-clever-french.lang b/Master/texmf-dist/tex/latex/zref-clever/zref-clever-french.lang index 5b2bc08099e..4d03978756f 100644 --- a/Master/texmf-dist/tex/latex/zref-clever/zref-clever-french.lang +++ b/Master/texmf-dist/tex/latex/zref-clever/zref-clever-french.lang @@ -8,7 +8,7 @@ %% %% This file was generated from file(s) of the LaTeX package "zref-clever". %% -%% Copyright (C) 2021-2023 gusbrs +%% Copyright (C) 2021-2024 gusbrs %% %% It may be distributed and/or modified under the conditions of the %% LaTeX Project Public License (LPPL), either version 1.3c of this diff --git a/Master/texmf-dist/tex/latex/zref-clever/zref-clever-german.lang b/Master/texmf-dist/tex/latex/zref-clever/zref-clever-german.lang index e4f9581208b..c42c05da3d9 100644 --- a/Master/texmf-dist/tex/latex/zref-clever/zref-clever-german.lang +++ b/Master/texmf-dist/tex/latex/zref-clever/zref-clever-german.lang @@ -8,7 +8,7 @@ %% %% This file was generated from file(s) of the LaTeX package "zref-clever". %% -%% Copyright (C) 2021-2023 gusbrs +%% Copyright (C) 2021-2024 gusbrs %% %% It may be distributed and/or modified under the conditions of the %% LaTeX Project Public License (LPPL), either version 1.3c of this diff --git a/Master/texmf-dist/tex/latex/zref-clever/zref-clever-italian.lang b/Master/texmf-dist/tex/latex/zref-clever/zref-clever-italian.lang index 41bbf07feb3..a47eec0ed27 100644 --- a/Master/texmf-dist/tex/latex/zref-clever/zref-clever-italian.lang +++ b/Master/texmf-dist/tex/latex/zref-clever/zref-clever-italian.lang @@ -8,7 +8,7 @@ %% %% This file was generated from file(s) of the LaTeX package "zref-clever". %% -%% Copyright (C) 2021-2023 gusbrs +%% Copyright (C) 2021-2024 gusbrs %% %% It may be distributed and/or modified under the conditions of the %% LaTeX Project Public License (LPPL), either version 1.3c of this diff --git a/Master/texmf-dist/tex/latex/zref-clever/zref-clever-portuguese.lang b/Master/texmf-dist/tex/latex/zref-clever/zref-clever-portuguese.lang index dcc8724befb..96d5f856353 100644 --- a/Master/texmf-dist/tex/latex/zref-clever/zref-clever-portuguese.lang +++ b/Master/texmf-dist/tex/latex/zref-clever/zref-clever-portuguese.lang @@ -8,7 +8,7 @@ %% %% This file was generated from file(s) of the LaTeX package "zref-clever". %% -%% Copyright (C) 2021-2023 gusbrs +%% Copyright (C) 2021-2024 gusbrs %% %% It may be distributed and/or modified under the conditions of the %% LaTeX Project Public License (LPPL), either version 1.3c of this diff --git a/Master/texmf-dist/tex/latex/zref-clever/zref-clever-spanish.lang b/Master/texmf-dist/tex/latex/zref-clever/zref-clever-spanish.lang index 0c2d6462480..2c4c9304b96 100644 --- a/Master/texmf-dist/tex/latex/zref-clever/zref-clever-spanish.lang +++ b/Master/texmf-dist/tex/latex/zref-clever/zref-clever-spanish.lang @@ -8,7 +8,7 @@ %% %% This file was generated from file(s) of the LaTeX package "zref-clever". %% -%% Copyright (C) 2021-2023 gusbrs +%% Copyright (C) 2021-2024 gusbrs %% %% It may be distributed and/or modified under the conditions of the %% LaTeX Project Public License (LPPL), either version 1.3c of this diff --git a/Master/texmf-dist/tex/latex/zref-clever/zref-clever.sty b/Master/texmf-dist/tex/latex/zref-clever/zref-clever.sty index c0cc00db188..1e2c1619919 100644 --- a/Master/texmf-dist/tex/latex/zref-clever/zref-clever.sty +++ b/Master/texmf-dist/tex/latex/zref-clever/zref-clever.sty @@ -8,7 +8,7 @@ %% %% This file was generated from file(s) of the LaTeX package "zref-clever". %% -%% Copyright (C) 2021-2023 gusbrs +%% Copyright (C) 2021-2024 gusbrs %% %% It may be distributed and/or modified under the conditions of the %% LaTeX Project Public License (LPPL), either version 1.3c of this @@ -52,7 +52,7 @@ 'zref-clever' requires a LaTeX kernel \zrefclever@required@kernel\space or newer.% }% }% -\ProvidesExplPackage {zref-clever} {2023-11-14} {0.4.3} +\ProvidesExplPackage {zref-clever} {2024-03-14} {0.4.4} {Clever LaTeX cross-references based on zref} \RequirePackage { zref-base } \RequirePackage { zref-user } @@ -3506,7 +3506,7 @@ \zrefcheck_zcref_run_checks_on_labels:n { \l__zrefclever_zcref_labels_seq } } - \bool_if:NT \l__zrefclever_mathtools_showonlyrefs_bool + \bool_if:NT \l__zrefclever_mathtools_loaded_bool { \__zrefclever_mathtools_showonlyrefs:n { \l__zrefclever_zcref_labels_seq } @@ -5548,40 +5548,25 @@ \msg_info:nnn { zref-clever } { compat-package } { amsmath } } } -\bool_new:N \l__zrefclever_mathtools_showonlyrefs_bool +\bool_new:N \l__zrefclever_mathtools_loaded_bool \__zrefclever_compat_module:nn { mathtools } { \__zrefclever_if_package_loaded:nT { mathtools } { - \MH_if_boolean:nT { show_only_refs } + \bool_set_true:N \l__zrefclever_mathtools_loaded_bool + \cs_new_protected:Npn \__zrefclever_mathtools_showonlyrefs:n #1 { - \bool_set_true:N \l__zrefclever_mathtools_showonlyrefs_bool - \cs_new_protected:Npn \__zrefclever_mathtools_showonlyrefs:n #1 + \seq_map_inline:Nn #1 { - \@bsphack - \seq_map_inline:Nn #1 - { - \exp_args:Ne \tl_if_eq:nnTF - { \__zrefclever_extract_unexp:nnn {##1} { zc@type } { } } - { equation } - { - \protected@write \@auxout { } - { \string \MT@newlabel {##1} } - } - { - \exp_args:Ne \tl_if_eq:nnT - { \__zrefclever_extract_unexp:nnn {##1} { zc@type } { } } - { parentequation } - { - \protected@write \@auxout { } - { \string \MT@newlabel {##1} } - } - } - } - \@esphack + \tl_set:Ne \l__zrefclever_tmpa_tl + { \__zrefclever_extract_unexp:nnn {##1} { zc@type } { } } + \bool_lazy_or:nnT + { \str_if_eq_p:Vn \l__zrefclever_tmpa_tl { equation } } + { \str_if_eq_p:Vn \l__zrefclever_tmpa_tl { parentequation } } + { \noeqref {##1} } } - \msg_info:nnn { zref-clever } { compat-package } { mathtools } } + \msg_info:nnn { zref-clever } { compat-package } { mathtools } } } \__zrefclever_compat_module:nn { breqn } |