On 7/28/24 11:27 AM, Jürgen Spitzmüller wrote:
Am Sonntag, dem 28.07.2024 um 11:22 -0400 schrieb Richard Kimberly
Heck:
I suppose this could go to stable, after extensive testing in master.
Yes. But extensive testing is certainly needed.

I played around with it a bit, and it seems to work well, for the most part. In particular, it does fine with duplicate section headings, etc.

But I did run into one problem. Create a new document. Make it look like this:

1 one

this and that.

2 one

that and this.

Now, with the cursor at the end (or elsewhere in that line), try to insert a reference to the first section. Nothing happens. Debug shows:

frontends/qt/GuiApplication.cpp (6d8): cmd:  action: 401 [reference-to-paragraph]  arg: 'ref' x: 0 y: 0 frontends/qt/GuiApplication.cpp (6d8): cmd:  action: 401 [reference-to-paragraph]  arg: '0 ref' x: 0 y: 0 frontends/qt/GuiApplication.cpp (6e0): action reference-to-paragraph [reference-to-paragraph] is disabled at this location
frontends/qt/GuiApplication.cpp (5f0): dispatch msg is `Command disabled'
frontends/qt/GuiApplication.cpp (5f0): dispatch msg is `'

If I save the document, then it works. It also does not seem to happen if I load a document from disk---hence the need to create a new document. It does work to insert a reference

I saw the note on the bug report about extending this to the cross-ref dialog. I'd be happy to do that part, once this is otherwise stable.

Riki


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

Reply via email to