On Sun, Jan 8, 2023 at 1:16 AM Pavel Sanda <sa...@lyx.org> wrote: > 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 > -- >
Thank you for the advice! It helped me alot. Best regards, Udi > lyx-users mailing list > lyx-users@lists.lyx.org > http://lists.lyx.org/mailman/listinfo/lyx-users >
-- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users