summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/zref-check
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/zref-check')
-rw-r--r--macros/latex/contrib/zref-check/CHANGELOG.md9
-rw-r--r--macros/latex/contrib/zref-check/zref-check-code.pdfbin739711 -> 739886 bytes
-rw-r--r--macros/latex/contrib/zref-check/zref-check.dtx20
-rw-r--r--macros/latex/contrib/zref-check/zref-check.pdfbin456786 -> 456837 bytes
4 files changed, 14 insertions, 15 deletions
diff --git a/macros/latex/contrib/zref-check/CHANGELOG.md b/macros/latex/contrib/zref-check/CHANGELOG.md
index ba18c24d59..2538c91c1d 100644
--- a/macros/latex/contrib/zref-check/CHANGELOG.md
+++ b/macros/latex/contrib/zref-check/CHANGELOG.md
@@ -1,6 +1,13 @@
# Changelog
-## [Unreleased](https://github.com/gusbrs/zref-check/compare/v0.2.2...HEAD)
+## [Unreleased](https://github.com/gusbrs/zref-check/compare/v0.2.3...HEAD)
+
+## [v0.2.3](https://github.com/gusbrs/zref-check/compare/v0.2.2...v0.2.3) (2021-12-20)
+
+### Fixed
+- Use `main` property list for user facing labels in `\zctarget` and
+ `zcregion` environment, so that references made to them with `zref-clever`
+ contain all required properties.
## [v0.2.2](https://github.com/gusbrs/zref-check/compare/v0.2.1...v0.2.2) (2021-12-07)
diff --git a/macros/latex/contrib/zref-check/zref-check-code.pdf b/macros/latex/contrib/zref-check/zref-check-code.pdf
index 684e53eabf..b134184968 100644
--- a/macros/latex/contrib/zref-check/zref-check-code.pdf
+++ b/macros/latex/contrib/zref-check/zref-check-code.pdf
Binary files differ
diff --git a/macros/latex/contrib/zref-check/zref-check.dtx b/macros/latex/contrib/zref-check/zref-check.dtx
index fb4e93c857..57f5e26ca4 100644
--- a/macros/latex/contrib/zref-check/zref-check.dtx
+++ b/macros/latex/contrib/zref-check/zref-check.dtx
@@ -561,7 +561,7 @@
%
% Identify the package.
% \begin{macrocode}
-\ProvidesExplPackage {zref-check} {2021-12-07} {0.2.2}
+\ProvidesExplPackage {zref-check} {2021-12-20} {0.2.3}
{Flexible cross-references with contextual checks based on zref}
% \end{macrocode}
%
@@ -614,6 +614,9 @@
% These are the lists of properties to be used by \pkg{zref-check}, that is,
% the list of properties the references and targets store. This is the
% minimum set required, more properties may be added according to options.
+% For labels set with \cs{@@_target_label:n}, that is, user facing labels, we
+% must use the \texttt{main} property list, so that \pkg{zref-clever} can also
+% retrieve the properties it needs to refer to them.
% \begin{macrocode}
\zref@newlist { zrefcheck-check }
\zref@addprops { zrefcheck-check }
@@ -623,14 +626,6 @@
zc@abschap ,
zc@abssec
}
-\zref@newlist { zrefcheck-target }
-\zref@addprops { zrefcheck-target }
- {
- page , % so that \zpageref can refer to it
- abspage ,
- zc@abschap ,
- zc@abssec
- }
\zref@newlist { zrefcheck-end }
\zref@addprops { zrefcheck-end }
{
@@ -798,10 +793,7 @@
\@ifpackageloaded { hyperref }
{
\bool_if:NT \l_@@_use_hyperref_bool
- {
- \RequirePackage { zref-hyperref }
- \zref@addprop { zrefcheck-target } { anchor }
- }
+ { \RequirePackage { zref-hyperref } }
}
{
\bool_if:NT \l_@@_warn_hyperref_bool
@@ -974,7 +966,7 @@
% according to option \opt{labelcmd}.
% \begin{macrocode}
\cs_new_protected:Npn \@@_target_label:n #1
- { \zref@labelbylist {#1} { zrefcheck-target } }
+ { \zref@label {#1} }
% \end{macrocode}
% \end{macro}
%
diff --git a/macros/latex/contrib/zref-check/zref-check.pdf b/macros/latex/contrib/zref-check/zref-check.pdf
index f475161f4c..18d89eb2d9 100644
--- a/macros/latex/contrib/zref-check/zref-check.pdf
+++ b/macros/latex/contrib/zref-check/zref-check.pdf
Binary files differ