In the first instance,

open ppp.lyx
echo "LYXCMD:P2:buffer-view:pdf5" > "$(find ~ -name .lyxpipe.in)"

will do the trick (though I haven't figured out yet how to select
the buffer I just opened (for ppp.lyx).

greetings, el

On 06/08/2018 12:57, Dr Eberhard Lisse wrote:
> Hi,
> 
> I know next to no AppleScript and wonder if someone has a quick script
> which will allow me to open a LyX document (absolute path), view the
> file as pdf5 (PDF from LuaLaTeX) and keep the file in LyX's front window
> open (for further editing and manual viewing)
> 
> Can something like this be done with the LyX Server pipe (ie after
> open(ing) the file)?
> 
> greetings, el
> 
> 

Reply via email to