Normally it is possible to use more than one execute-string. I would expect that the following lyx -x 'command-sequence buffer-new;buffer-import latex ams-import.tex;buffer-write;buffer-export pdf2;lyx-quit' would be equivalent to lyx -x buffer-new -x 'buffer-import latex ams-import.tex' -x buffer-write -x 'buffer-export pdf2' -x lyx-quit But, the call never ends, because the function 'lyx-quit' is not executed due to buffer-export still being busy. Changing the last two commands into a command-sequence cures it.
In this scenario, it would be nice to have a lyx-function like 'buffer-wait'. Also, for long command sequences, it would be handy to interpret commands from a file, not only from the command line. Kornel
signature.asc
Description: This is a digitally signed message part.