JOURNAL="physreve" PREFIX="../../" VLEVEL="1" #verbosity level PROJECT="2sorts" REFS="refers.db" FORMATS=$PREFIX"formats/"$JOURNAL SUFFIX=".1" OUTTEX="$PROJECT$SUFFIX.tex" OUTDVI="$PROJECT$SUFFIX.dvi" TEXFILE="$PROJECT.tex" DVIFILE="$PROJECT.dvi" echo $OUTTEX if [ $JOURNAL = "physreve" ] then "$PREFIX"biblio.pl -v $VLEVEL -o $OUTTEX -d $REFS -f $FORMATS $TEXFILE else "$PREFIX"biblio.pl -v $VLEVEL -o $OUTTEX -d $REFS -f $FORMATS --nobibitem --uselist $TEXFILE fi latex $OUTTEX latex $OUTTEX mv $OUTDVI $DVIFILE #rm *.aux *.log *~