doxygen
cd latex
pdflatex -shell-escape refman.tex
makeindex -s ../refman.ist refman.idx
pdflatex -shell-escape refman.tex
pdflatex -shell-escape refman.tex
cd ..
copy latex\refman.pdf .

doxygen
cd latex
pdflatex -interaction=nonstopmode -shell-escape refman.tex
makeindex -s ../refman.ist refman.idx
pdflatex -interaction=nonstopmode -shell-escape refman.tex
pdflatex -interaction=nonstopmode -shell-escape refman.tex
cd ..
copy latex\refman.pdf .

Call pdflatex in non stop mode
Call pdflatex in non stop mode
