1
0
Fork 0
wif-exposeeWS24-25/latex/create.cmd

15 lines
424 B
Batchfile
Raw Permalink Normal View History

2022-11-22 13:00:03 +01:00
@echo off
SET RESULT_DIR=..\result
SET OUTPUT_DIR=..\temp
SET FILE=thesis
cd tex
mkdir %RESULT_DIR%
mkdir %OUTPUT_DIR%
pdflatex -output-directory=%OUTPUT_DIR% -synctex=1 %FILE%.tex
biber %OUTPUT_DIR%\%FILE%
makeindex %OUTPUT_DIR%\%FILE%.idx
pdflatex -output-directory=%OUTPUT_DIR% -synctex=1 %FILE%.tex
pdflatex -output-directory=%OUTPUT_DIR% -synctex=2 %FILE%.tex
copy %OUTPUT_DIR%\%FILE%.pdf %RESULT_DIR%\%FILE%.pdf
cd ..