GNOME Bugzilla – Bug 668010
Generating PDF from LaTeX through make
Last modified: 2012-02-25 15:37:44 UTC
Since not all users do have make.exe installed, it would be nice to have an alternative for Windows, like a command script. Proposal for make_pdf.cmd: REM---code start (watch for line wraps) del /s /f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out *.brf *.blg *.bbl refman.pdf pdflatex refman makeindex refman.tex pdflatex refman REM---code end Sure checking the output and rerunning five times is missing, but this should be a start. Thanks in advance, Stefan
I have now added the ability to cycle until there is no more mention of a rerun of the PDF file or a certain number of reruns has been done. Proposal for make_pdf.cmd: REM---code start (watch for line wraps) del /s /f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out *.brf *.blg *.bbl refman.pdf pdflatex refman echo ---- makeindex refman.tex echo ---- pdflatex refman setlocal enabledelayedexpansion set count=5 :repeat echo ---- pdflatex refman set content=X for /F "tokens=*" %%T in ( 'findstr /C:"Rerun LaTeX" refman.log' ) do set content="%%~T" if !content! == X for /F "tokens=*" %%T in ( 'findstr /C:"Rerun to get cross-references right" refman.log' ) do set content="%%~T" if !content! == X goto :skip set /a count-=1 if !count! EQU 0 goto :skip goto :repeat :skip endlocal REM---code end -- Stefan
I have now added the ability to cycle until there is no more mention of a rerun of the PDF file or a certain number of reruns has been done. Proposal for make_pdf.cmd: REM---code start (watch for line wraps) del /s /f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out *.brf *.blg *.bbl refman.pdf pdflatex refman echo ---- makeindex refman.tex echo ---- pdflatex refman setlocal enabledelayedexpansion set count=5 :repeat set content=X for /F "tokens=*" %%T in ( 'findstr /C:"Rerun LaTeX" refman.log' ) do set content="%%~T" if !content! == X for /F "tokens=*" %%T in ( 'findstr /C:"Rerun to get cross-references right" refman.log' ) do set content="%%~T" if !content! == X goto :skip set /a count-=1 if !count! EQU 0 goto :skip echo ---- pdflatex refman goto :repeat :skip endlocal REM---code end -- Stefan
Hi Stefan, Thanks for the batch file. I'll include it in the next update.
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.8.0. Please verify if this is indeed the case. Reopen the bug if you think it is not fixed and please include any additional information that you think can be relevant.