Creating custom shortcut for cross-referencing

Richard Kimberly Heck rikiheck at lyx.org
Thu Jan 2 20:32:16 UTC 2020


On 1/2/20 2:26 PM, Hung-Tzu Chang wrote:
> Thanks! I followed the method and the command for the cross-reference
> dialog is "command-sequence dialog-show-new-inset ref".

You don't need the "command-sequence" part. That's only useful when you
want to chain a sequence of commands together.

Riki


>
> On Thu, Jan 2, 2020 at 8:04 AM Scott Kostyshak <skostysh at lyx.org
> <mailto:skostysh at lyx.org>> wrote:
>
>     On Tue, Dec 31, 2019 at 10:53:50PM -0800, Hung-Tzu Chang wrote:
>     > Hi,
>     >
>     > I would like to ask about how to create custom keyboard shortcut
>     for the
>     > "Insert | Cross-Reference" function in LyX. I searched through
>     the list in
>     > Preferences->Editing->Shortcuts and couldn't find the
>     corresponding item
>     > for such function. I also searched through the LyX bind folder
>     for the
>     > program and found the function "reference-insert" in the file
>     "aqua.bind".
>     > However, the function "reference-insert" cannot be found in the
>     preference
>     > menu. Manually adding the "reference-insert" line to the bind file
>     > user.bind in the .config folder doesn't work. The LyX version in
>     question
>     > is 2.3.3 (both Windows and Mac).
>     >
>     > Thank you and happy new year!
>     >
>     > Best,
>     > Hung-Tzu
>
>     The following might be helpful for learning how to figure out the
>     correct command:
>
>     http://tex.stackexchange.com/questions/208510/lyx-commands-to-insert-wysiwyg-horizontal-line-for-keyboard-shortcut/208531#208531
>
>     > --
>     > lyx-users mailing list
>     > lyx-users at lists.lyx.org <mailto:lyx-users at lists.lyx.org>
>     > http://lists.lyx.org/mailman/listinfo/lyx-users
>
>
>
> -- 
> Hung-Tzu Chang
>
> D60 Hildebrand
> Department of Chemistry
> University of California 
> Berkeley, CA 94720-1460
>
> Phone: +1 510-642-9901
> Email: htchang at berkeley.edu <mailto:htchang at berkeley.edu>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20200102/b524cc69/attachment.html>


More information about the lyx-users mailing list