On 8/4/24 2:59 PM, Alexander Dunlap wrote:
On Sun, Aug 4, 2024, at 12:13 PM, Richard Kimberly Heck wrote:
On 8/3/24 10:34 PM, Jacob Hammer wrote:
>
>> On Aug 3, 2024, at 9:56 PM, Richard Kimberly Heck <rikih...@gmail.com> wrote:
>>
>> On 8/3/24 5:41 PM, Jacob Hammer wrote:
>>> I must apologize for bothering you. I actually cannot reproduce this behavior in another file, so I guess there is some corruption in this particular file. I have been using Lyx for more than a decade, and I have never experienced this problem before. I am very sorry for not checking more thoroughly before sending the email. >> No need to apologize. Something weird is clearly happening here, and, honestly, I'd still like to know why that is. If you could send me the file privately, I can investigate. > I think that I figured out what is going on. It has to do with the Filter on 'Outline pane/Labels and references'. The Lyx file I was working on has a lot of labels. So I used the filter on 'Outline pane/Labels and reference' to single out some of the labels. For some reason, the filter result includes the labels, but omits the references for some of the labels. If I look at the full list of labels, they all appear correctly with all their references. However, when I apply a filter, the correct labels appear, but some of them appear without their references.

Yes, confirmed. The filter works on the text that is displayed. So if I
open the User Guide and the label list, and type "Safety" in the filter,
then I get the one label "sec:Safety-Nets", and the references to it
vanish. If, by contrast, I type "2.2", then the label remains, with that
one reference.

I have been wondering about how the cross-references are displayed, and
whether "2.2", say, is really useful, rather than what we used to have,
which would be something like "Ref: sec:Safety-Nets".

As a user I find the "2.2" very useful -- it supports the workflow of printing the document, marking it up, and then editing the LyX file based on the marked-up printout. The alternative is using packages like showkeys so that the printed document shows the keys as well, but this can be a bit of a pain (in particular you need huge margins if you have long keys), so the option to have LyX display the cross-reference value is very helpful.

Those will continue to be available in the tooltips. You can also activate "Format cross-references in the work area", and then that will happen.

Riki

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users

Reply via email to