v0.5.1 (2024-11-28)
- Use
\protected@edef
to expand references' content atendrange
processing functions.
v0.5.0 (2024-11-25)
- Swedish localization (see issue #35).
- The
declension
option from\zcDeclareLanguage
, thecase
option from\zcLanguageSetup
, and thed
general option (from\zcref
) have been renamed tovariants
,variant
, andv
, respectively. This is a "semantic generalization" of the existing infrastructure. In other words, the package now interprets more broadly type name variants, which can be used for any language-specific needs and not just declension cases. See discussion at issue #35.
- The
declension
option from\zcDeclareLanguage
, thecase
option from\zcLanguageSetup
, and thed
general option (from\zcref
) have been deprecated in favor of their new names.
v0.4.9 (2024-11-16)
- Convert improved
beamer
work-around into compatibility module.
v0.4.8 (2024-11-07)
- Documentation improvements.
- Preemptively avoid empty module when setting l3keys
.inherit:n
(latex3/latex3#1254).
v0.4.7 (2024-09-30)
- Inhibit missing name warning if
noname
option is in use.
v0.4.6 (2024-08-23)
- Fix sorting of appendix references.
- The
counterresetters
option now receives a full comma separated list of counters as value, instead of working by incrementally adding values to the list.
v0.4.5 (2024-05-20)
- Provided Russian language file (see PR #29).
v0.4.4 (2024-03-14)
- Use
\noeqref
instead ofmathtools
' internals to supportshowonlyrefs
option inmathtools
compatibility module.
v0.4.3 (2023-11-14)
- Don't use
expl3
public scratch temporary variables. - Prefer
e-type
expansion. - Require 2023-11-01 LaTeX kernel.
v0.4.2 (2023-08-14)
- Thanks to better support for
zref
inmemoir
, the corresponding compatibility module has been simplified and made more robust, without loss of functionality. - Use
\label
instead of\zlabel
in regression tests.
v0.4.1 (2023-06-19)
- Improved Dependencies section in User manual.
- Use safer method to define the
zc@pgfmt
property.
v0.4.0 (2023-06-14)
labelhook
option, controlling whether to set a\zlabel
alongside a standard\label
. This option uses the kernel's newlabel
hook, which significantly improves and simplifies the task of setting a\zlabel
in places where this is not directly supported. The option is enabled by default, and strongly recommended. It is not expected that this change will bring backward compatibility problems,\zlabel
s continue to work just as before, and the places where a\label
is required will also continue to work the same way. The only case I see where you might need to adjust existing documents is if you already had both\label
s and\zlabel
s with the same names, in which case now you'll have a duplicatezlabel
and will indeed have to correct it. Also, you may be interested in taking a look at the "\label
or\zlabel
?" section of the User manual, since the option opens the possibility of a different approach in label setting in your documents.
- Given the new
labelhook
option and the fact that it requires both the newlabel
hook and the new hooks with options released in the latest LaTeX kernel, the kernel version required byzref-clever
has been bumped to 2023-06-01.
- Given the new
labelhook
option, the parts of compatibility modules which provided for setting\zlabel
s with\label
in places where the former is not supported have been removed. These would conflict with the new option, and the use of thelabel
hook for this purpose renders them unnecessary and is superior in every aspect. Namely, the compatibility modules changed in this fashion are:amsmath
,memoir
, andlistings
.
v0.3.6 (2023-02-21)
- Avoid "Missing number, treated as zero" error for labels set before first
call to
\refstepcounter
.
v0.3.5 (2023-02-18)
- In tcolorbox how-to,
hyperref
should be loaded before any\newtcolorbox
es.
v0.3.4 (2023-02-13)
tcolorbox
how-to to the User manual.
- The
KOMA
compatibility module has been removed, since it was rendered unnecessary by recent versions of KOMA Script classes.
v0.3.3 (2023-01-03)
- New
reftype
option, to allow for local manual override ofcountertype
settings. - Included some new How-tos to the User manual.
v0.3.2 (2022-12-27)
- Italian localization (see issue #11).
- Localization guidelines for contributors (in the Code documentation).
- Document UTF-8 input encoding requirement.
- Work-around for
beamer
in the User manual.
v0.3.1 (2022-05-28)
- "
zref-clever
for the impatient" section to User manual.
v0.3.0 (2022-04-22)
zref-clever
no longer accepts package options to be set a load-time,\zcsetup
must be used instead. The use of load-time options now results in "Unknown option" LaTeX error. This change requires that users adjust their documents, and a suitable package warning has been provided so that affected users know of the change directly and how to adjust.- Option
check
has been made no-op in the preamble. To load the corresponding package, just use the standard\usepackage
. - (Internal) Use public hyperref's commands for building links instead of the
internal
\hyper@@link
.
- Options
titleref
andvario
have been deprecated. To load the corresponding packages, just use the standard\usepackage
.
- Bug which affected the typesetting with compression in case two ranges for the same reference type occurred.
v0.2.2-alpha (2022-02-11)
- (Internal) Option variables setting was reviewed, ensuring proper scope is
in use and that they are always properly declared.
expl3
debugging enabled in regression tests.
v0.2.1-alpha (2022-02-07)
- Option
endrange
for typesetting terse ranges. - Option
rangetopair
to control behavior ofrange
option when a pair results from building a range. - Option
vario
to load packagezref-vario
. - Reference property
subeq
for theamsmath
andbreqn
compatibility modules.
v0.2.0-alpha (2022-01-28)
- The reference block formatting has been generalized to allow for more
flexibility in setting the reference structure, with the new option
refbounds
.
- Fixed handling of type names defined to be empty.
- Fixed distinction of
lastsep
andpairsep
in cases where the type-block starts or ends with a range.
- The
namefont
andreffont
options can now be set also in\zcRefTypeSetup
and\zcLanguageSetup
. - (Internal) Moved from property lists to individually named macros to store and retrieve options.
- Options
preposinlink
,preref
, andpostref
have been deprecated and replaced by new optionrefbounds
.
v0.1.2-alpha (2022-01-10)
- Provided Dutch language file (see PR #5).
- The
gender
key in\zcLanguageSetup
and in the built-in language files can receive a comma separated list as value to support types with multiple valid genders. - The
cap
andabbrev
options can now be set also in\zcRefTypeSetup
and\zcLanguageSetup
, so that fine grained control per-type and per-language is now possible for these options. - Abandoned the "dictionary/translation" metaphor to refer to language specific options. Mostly housekeeping, affecting the name-scheme of functions and variables, but aiming at a clearer documentation in this area, specially in the longer term.
- The reference format options
refpre
andrefpos
have been deprecated in favor or the more aptly namedpreref
andpostref
, respectively.
v0.1.1-alpha (2021-12-07)
- Improvements to the French dictionary (see issue #1).
- Improvements to documentation.
- Dropped the
subappendix
reference type.
v0.1.0-alpha (2021-11-24)
- Initial release.