From: Sivaram Neelakantan on
Bill Marcum <marcumbill(a)bellsouth.net> writes:

> On 2009-10-25, Sivaram Neelakantan <nsivaram.net(a)gmail.com> wrote:
>> cd $OUTDIR/$amc
>> pdflatex ${amc}_${fund_id}.tex > /dev/null 2>&1 &
> ( pdflatex ${amc}_${fund_id}.tex > /dev/null 2>&1
> echo ${amc}_${fund_id}.tex $? >> $logfile ) &
>

Thank you, that worked.

And I seem to have another problem, which I think I solved though I'm
none the wiser about it.

main $1
wait
sleep 9
#delete all the unwanted files
find $OUTDIR/ -maxdepth 2 \( \( -name '*.aux' \) \
-o \( -name '*.snm' \) \
-o \( -name '*.out' \) \
-o \( -name '*.log' \) \
-o \( -name '*.toc' \) \
-o \( -name '*_frames.tex' \) \
-o \( -name '*.nav' \) \
\) -print -exec rm -f {} \; > /tmp/.cleanup 2>&1

I had to insert that sleep and tinker with the time to make sure the
last pdflatex run files are deleted. Sometimes it is just one or it's
the last three .tex files output.

This is all on a laptop with just 1 processor and cygwin installed.

What's happening?


sivaram
--