On Wed, Dec 28, 2022 at 04:53:30PM +0200, Udicoudco wrote: > I was wondering, is there a way to manipulate > the string returned by the LFUN "server-get-layout" > and pass the result as an argument to the LFUN "layout" > using only LFUN's?
You could use scripting, e.g. if you are on linux: $ LAYOUT=`lyxclient -c LYXCMD:server-get-layout|sed s/INFO:server-get-layout://` Then manipulate the result in LAYOUT variable and pass it back again via lyxclient. Pavel -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users