On Wednesday 16 January 2008 05:07, Tobias Krause wrote:
> Jürgen Spitzmüller wrote:
> > The problem is that this package needs two latex runs _before_ the bibtex
> > run, else it will fail. We are not prepared for this case, I think.
>
> Is there a way I can (manually) force LyX to run bibtex after the second
> run - or e.g. to force LyX to run bibtex in each LaTeX run?
> Or should there be a bug for a feature which runs bibtex again if there
> are unresolved references?

What I do on my books is create a shellscript to do whataver is necessary, in 
whatever order, to compile the book. I find this MUCH easier and better than 
having LyX compile the book. If you need to latex twice to accommodate an 
index, you just have the script latex twice.

Most of the scripts start something like this:
rm -f $1.aux
rm -f $1.dvi
rm -f $1.ps
rm -f $1.idx
rm -f $1.ilg
rm -f $1.ind
rm -f $1.log
rm -f $1.tex
rm -f $1.toc
lyx --export latex $1.lyx


HTH

SteveT

Steve Litt
Books written in LyX:
        Troubleshooting Techniques of the Successful Technologist
        Twenty Eight Tales of Troubleshooting
        Troubleshooting: Just the Facts

Reply via email to