On 5/4/24 15:03, matan guedj wrote:
I want to add a shortcut that will open a preview environment and inside it opens an ert environment and "insert-preview insert-ert" and "\insert-preview \insert-ert" aren't working, so I don't know if it's a syntax error or something more fundamental here.

You need to use the command-sequence LFUN to do this. It just tells LyX that you are going to give a series of commands. Otehrwise, it interprets everything as one command. So something like:

command-sequence insert-preview; insert-ert

Riki


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

Reply via email to