-----Original Message----- From: Manoj Rajagopalan [mailto:rma...@umich.edu] Sent: donderdag 26 februari 2009 16:35 To: lyx-us...@lists.lyx.org Subject: New feature survey: insert xrefs by right-click (context menu) on TOC items
Hi lyx developers, I present a feature idea and its extension with rapid document manipulation in mind. >I was experimenting with the lyx code and I found I could get a menu >to popup upon right-clicking on the TOC. This can be used to insert >xrefs for existing labels at the current cursor position in the document. >With this the user need not invoke the insert-cross-reference dialog and >can move ahead with editing the document rapidly. > > I'd like to ask if you think this would be a nice-to-have feature. I have already an implementation of the context menu for the TOC which does exactly this. I sent it a while ago to the list, but there were a few minor issues with the dispatching of the LFUN as defined in stdcontext.ui. > >Extending the above idea, we might imagine LyX prompting the user for a >label if one doesn't exist when he/she right-clicks a TOC item (eg. in the >list of graphics TOC). LyX could then insert that label at the appropriate >place in the document, update the TOC and insert a reference to it at the >current cursor location. Does this seem like a nice-to-have feature? Yes, that would be useful, but I'd leave it for the moment til' I've committed the context menu. >thanks, >Manoj Vincent PS.. You sent your mail to the user's list...