On 10/6/18 3:40 PM, Ricardo Berlasso wrote:
> El sáb., 6 oct. 2018 a las 21:29, Shieh, Sanford (<ssh...@wesleyan.edu
> <mailto:ssh...@wesleyan.edu>>) escribió:
>
>     Hi Riki,
>
>      
>
>     Attached is an MWE together with the PDF it generates.  Bullet
>     points 2-4 are not visible on the PDF slides because of the Custom
>     Item insert with nothing inside the insert box.
>
>
> When you insert something from menu, look at LyX's status bar: there
> you'll see a command (argument-insert item:1). With that code you can
> now create a custom keyboard shortcut, just write the code on the
> Function box (without the brackets).


Most LFUNs do get reported there (including this one), but not all. For
more info, you can also look at the messages pane, and active "action".


>
> You have a list of all "LyX Functions" at Help → LyX Functions.


I'll just add that, if you want to do a number of things in a row, then
you will want to use the "command-sequence" LFUN, which lets you string
things together. You could use this e.g. to insert a custom item and
then move the cursor outside it:

    command-sequence argument-insert item:1; char-forward

If you're often going to leave the item blank, then this may make sense.

Oh, and I'll also add, though you may already know this (others may
not): You can test these before assigning them to keystrokes by opening
the Command Buffer (View> Toolbars> Command Buffer, or Meta-x or Alt-x
as a shortcut) and entering the LFUN stuff there.

Riki


Reply via email to