From deba2562ee306f4f23404335a7ee0d0c81e8ebb1 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 30 Mar 2020 03:01:27 +0000 Subject: CTAN sync 202003300301 --- macros/latex/contrib/hitszthesis/compile.bat | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'macros/latex/contrib/hitszthesis/compile.bat') diff --git a/macros/latex/contrib/hitszthesis/compile.bat b/macros/latex/contrib/hitszthesis/compile.bat index 3ef4d41463..3c99e2cb44 100644 --- a/macros/latex/contrib/hitszthesis/compile.bat +++ b/macros/latex/contrib/hitszthesis/compile.bat @@ -10,13 +10,11 @@ if %flag%x == x ( ) if %flag%x == thesisx ( - call :cleanall call :thesis if ERRORLEVEL 1 ( echo Error! Please check the 'main.log' for more details... pause ) else ( - call :clean echo Finished! ) goto :EOF @@ -54,6 +52,13 @@ if %flag%x == wordcountx ( goto :EOF ) +if %flag%x == devx ( + call :doc + call :thesis + call :cleanall + goto :EOF +) + :help echo This is the compile batch script for hitszhesis. echo Usage: @@ -72,7 +77,7 @@ goto :EOF echo Compile thesis... latex %PACKAGE%.ins xelatex -shell-escape %THESIS%.tex - bibtex %THESIS%.tex + bibtex %THESIS% xelatex -shell-escape %THESIS%.tex xelatex -shell-escape %THESIS%.tex splitindex %THESIS% -- -s hitszthesis.ist @@ -99,11 +104,12 @@ goto :EOF latexmk -c %PACKAGE%.dtx latexmk -c %THESIS% del *.xdv *.hd *.aux front\*.aux body\*.aux back\*.aux >nul 2>nul + del main-china.idx main-english.idx >nul 2>nul goto :EOF :cleanall - echo Clean pdf files... - del /Q %PACKAGE%.pdf %THESIS%.pdf >nul 2>nul + echo Clean class files... + del %PACKAGE%.cls %PACKAGE%.cfg dtx-style.sty >nul 2>nul goto :clean goto :EOF -- cgit v1.2.3