What's wrong with

        lyx -f -e pdf5 lawnmower.lyx

or if you must, with

        lyx -f -e luatex lawnmower.lyx && latexmk lawnmower.tex

el

On 08/12/2021 03:20, Steve Litt wrote:
[...]
The following is my shellscript:

==================================================================
#!/bin/sh

namee="lawnmower"

zap_files(){
    dot="."
    for f in aux idx ilg ind log out pdf tex toc; do
       fname=$namee$dot$f
       rm $fname && echo "Deleted $fname."
    done
}

while /bin/true; do
   cd /d/at/books/mm_create
   zap_files
   /bin/texhash
   /usr/local/share/lyx/configure.py
   lyx --export luatex $namee.lyx
   lualatex  $namee.tex
   makeindex $namee.idx
   #texindy $namee.idx
   lualatex $namee.tex
   mupdf     $namee.pdf &  #no box
   echo -n "Press Enter to do it again: "
   read junk
done
==================================================================
[...]

--
To email me replace 'nospam' with 'el'

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users

Reply via email to