Am 24.06.2011 21:04, schrieb Steve Litt:
The following shellscript compiles my PDF:
=============================
#!/bin/bash
rm -f junk.*
cp -p larry.lyx junk.lyx
lyx --export latex junk.lyx
latex junk.tex
makeindex -c -q junk.idx
latex junk.tex
dvips junk.dvi
ps2pdf13 junk.ps
acroread junk.pdf
=============================
Why so complicated and not using LyX to export directly to PDF using e.g.
pdflatex or ps2pdf?
Besides this, depending on your file, you will need up to 2 latex runs, not just 2 as in your
script. And I recommend not to run latex + dvips + ps2pdf but just directly pdflatex.
regards Uwe