Am Dienstag, dem 18.11.2025 um 16:57 +0100 schrieb Kees Zeelenberg:
> 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.

Just a glitch. Fixed.

Thanks for the report,

-- 
Jürgen
-- 
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to