-
Notifications
You must be signed in to change notification settings - Fork 98
Expand file tree
/
Copy pathcp.cmd
More file actions
16 lines (15 loc) · 761 Bytes
/
Copy pathcp.cmd
File metadata and controls
16 lines (15 loc) · 761 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
git describe --tags --abbrev=0
git rev-parse HEAD
for /f "delims=" %%i in ('git rev-parse --short HEAD') do set hash_commit=%%i
echo branch: > ./ver_info.txt
git rev-parse --abbrev-ref HEAD >> ./ver_info.txt
echo \quad commit: \href{https://github.com/kanition/pbrtbook/commit/%hash_commit%}{%hash_commit%} >> ./ver_info.txt
xelatex -synctex=1 -interaction=nonstopmode -file-line-error -no-pdf main
makeindex main.idx -s StyleInd.ist
biber main
xelatex -synctex=1 -interaction=nonstopmode -file-line-error -no-pdf main
makeindex main.idx -s StyleInd.ist
biber main
xelatex -synctex=1 -interaction=nonstopmode -file-line-error main
@REM gswin64c -sDEVICE=pdfwrite -o "main.pdf" -dCompatibilityLevel=1.4 -dNOPAUSE -dQUIET -dBATCH "test.pdf"
echo Finish building