source: pacpussensors/trunk/CameraViewer/Doc/latex/make.bat

Last change on this file was 141, checked in by ldecherf, 8 years ago

Ajout du composant CameraViewer (input pour le composant Vislab)

File size: 677 bytes
Line 
1set Dir_Old=%cd%
2cd /D %~dp0
3
4del /s /f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out *.brf *.blg *.bbl refman.pdf
5
6pdflatex refman
7echo ----
8makeindex refman.idx
9echo ----
10pdflatex refman
11
12setlocal enabledelayedexpansion
13set count=8
14:repeat
15set content=X
16for /F "tokens=*" %%T in ( 'findstr /C:"Rerun LaTeX" refman.log' ) do set content="%%~T"
17if !content! == X for /F "tokens=*" %%T in ( 'findstr /C:"Rerun to get cross-references right" refman.log' ) do set content="%%~T"
18if !content! == X goto :skip
19set /a count-=1
20if !count! EQU 0 goto :skip
21
22echo ----
23pdflatex refman
24goto :repeat
25:skip
26endlocal
27makeindex refman.idx
28pdflatex refman
29cd /D %Dir_Old%
30set Dir_Old=
Note: See TracBrowser for help on using the repository browser.