create.cmd 438 B

1234567891011121314
  1. @echo off
  2. SET RESULT_DIR=..\result
  3. SET OUTPUT_DIR=..\temp
  4. SET FILE=thesis
  5. cd tex
  6. mkdir %RESULT_DIR%
  7. mkdir %OUTPUT_DIR%
  8. pdflatex -output-directory=%OUTPUT_DIR% -synctex=1 %FILE%.tex
  9. biber %OUTPUT_DIR%\%FILE%
  10. makeindex %OUTPUT_DIR%\%FILE%.idx
  11. pdflatex -output-directory=%OUTPUT_DIR% -synctex=1 %FILE%.tex
  12. pdflatex -output-directory=%OUTPUT_DIR% -synctex=2 %FILE%.tex
  13. copy %OUTPUT_DIR%\%FILE%.pdf %RESULT_DIR%\%FILE%.pdf
  14. cd ..