[LyX/master] Add support for zref-clever and zref-vario
Jürgen Spitzmüller
jspitzm at gmail.com
Mon Mar 24 07:19:08 UTC 2025
Am Sonntag, dem 23.03.2025 um 16:02 -0400 schrieb Richard Kimberly
Heck:
> Unless I'm doing something wrong, this doesn't work at present,
> because
> the labels are still output as \label rather than \zlabel. It looks
> to
> me, in fact, as if we need to output both \label and \zlabel, since
> the
> ordinary \ref command, e.g., won't work with just \zlabel, and we
> still
> use the ordinary commands with non-formatted references.
> Alternatively,
> we could use \zref, \zpageref, etc, instead of \ref, \pageref, etc,
> whenever zref-clever is chosen.
zref-clever nowadays (and since some time) doesn't need \zlabel any
longer since the kernel included the needed information. The manual
states:
"All in all, as far as zref-clever is concerned, the use of \label
throughout (with the labelhook option) is the recommended approach.
Consider the use of \zlabel directly if you have some special
requirements at stake and are willing to handle a few rough edges."
Your example works for me. What are your versions?
--
Jürgen
More information about the lyx-devel
mailing list