Wrong ref counter value in cross ref dialogue

Andrew Parsloe ajparsloe at gmail.com
Wed Jan 17 20:35:07 UTC 2024


On 18/01/2024 6:52 am, Richard Kimberly Heck wrote:
> On 1/16/24 16:50, Andrew Parsloe wrote:
>> LyX 2.4.0 rc1 on windows 10.
>>
>> I notice that in the Cross-reference dialogue window, the Reference 
>> counter value of a Proposition (when using AMS environments) is given 
>> as a Lemma. Obviously a small oversight -- I've tested all the other 
>> AMS environments and this is the only one that has a wrong Reference 
>> counter value.
>
> I'm not seeing this. See attached. This is using just the basic AMS 
> Theorems module.
>
> Have you customized the layout files in some way? I think that is 
> where these are picked up from.
>
> Riki

This was helpful in finding the problem. I was also using  the "Standard 
theorems numbered by section" module and that's where the oversight is. See

theorems-sec.module  (line 21)
theorems-chap.module  (line 22)

Andrew



More information about the lyx-devel mailing list