Using the return value of "server-get-layout"
Udicoudco
udifoglle at gmail.com
Mon Jan 23 20:34:40 UTC 2023
On Sun, Jan 8, 2023 at 1:16 AM Pavel Sanda <sanda at 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 at lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20230123/fd4e75d9/attachment.html>
More information about the lyx-users
mailing list