First of all, it's great that LyX-2.5 now has support for cleveref and zref-clever!
I have one question though: when exporting to LaTeX and with zref-clever,
LyX adds a line "\zcsetup{countertype={example=definition}}" for the example
environment with own counter and a similar line with
"\AddToHook{env/example/begin} ." for the case of a shared counter. This
leads to a pdf output where a formatted reference to a labeled example does
not have the term Example in front but instead the term Definition; see the
attached lyx, tex and pdf files.
When I delete these lines in the intermediate LaTeX files and then compile
with pdflatex, the output does have the term Example. From more extensive
tests it seems that the number of the reference as well as references to
other types are correct; it is only the descriptive term for example that is
wrong.
So I was wondering whether the addition of these lines is correct or the
added lines are necessary for some other purpose.
Kees
test-exa.pdf
Description: Adobe PDF document
test-exa.lyx
Description: application/lyx
test-exa.tex
Description: Binary data
-- lyx-devel mailing list [email protected] https://lists.lyx.org/mailman/listinfo/lyx-devel
