[LyX/master] Add support for zref-clever and zref-vario

Richard Kimberly Heck rikiheck at gmail.com
Sun Mar 23 20:02:17 UTC 2025


On 3/23/25 8:07 AM, Juergen Spitzmueller wrote:
> commit 4ea81b52f8c17d9eea1655e115ea6bc47377da2e
> Author: Juergen Spitzmueller <spitz at lyx.org>
> Date:   Sun Mar 23 13:04:49 2025 +0100
>
>      Add support for zref-clever and zref-vario

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.

Example attached.

Riki

-------------- next part --------------
A non-text attachment was scrubbed...
Name: newfile1.lyx
Type: application/x-lyx
Size: 2683 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20250323/800bdb77/attachment.bin>


More information about the lyx-devel mailing list