-
Notifications
You must be signed in to change notification settings - Fork 87
/
Copy pathmakeall.bat
97 lines (53 loc) · 1.51 KB
/
makeall.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
:: Copyright (c) 2012-2016 hzz
@echo off
title %date% %time% makefileall
if exist *.userbak (
del *.userbak /Q
)
FOR %%c IN (gb*.pdf) DO (
copy /Y "%%c" "%%c.userbak"
)
if exist gb*.pdf (
del gb*.pdf /Q
)
::pause
cd example
call makefileeg
call makefileegstyle.bat
cd ..
cd egfigure
call makecompilefig.bat
call makecompileGBT.bat
cd ..
cd egphoto
call makecompileph.bat
cd ..
cd egthesis
call makecompilethesis.bat
cd ..
echo biblatex-gb7714-2015.tex >> example/makerecord.dat
xelatex.exe -no-pdf biblatex-gb7714-2015.tex
biber biblatex-gb7714-2015
xelatex.exe -no-pdf biblatex-gb7714-2015.tex
::to do it again for backref
xelatex.exe biblatex-gb7714-2015.tex
cd tool
xelatex.exe gbT7714-2015.tex
xelatex.exe gbT7714-2015ms.tex
xelatex.exe gbT7714-2015eg.tex
xelatex.exe gbT7714-2015eg.tex
xelatex.exe gbT7714-2015fmt.tex
xelatex.exe gbT7714-2015fmt.tex
xelatex.exe gbT7714-2015lan.tex
xelatex.exe gbT7714-2015lan.tex
xelatex.exe gbT7714-2015thesis.tex
xelatex.exe gbT7714-2015thesis.tex
::call makeclear
if exist *.userbak (
del *.userbak /Q
)
python -m diff_pdf_visually -v gbT7714-2015.pdf stdgbT7714-2015.pdf >stdGB.log
python -m diff_pdf_visually -v gbT7714-2015eg.pdf stdgbT7714-2015eg.pdf >stdGBeg.log
python -m diff_pdf_visually -v gbT7714-2015fmt.pdf stdgbT7714-2015fmt.pdf >stdGBfmt.log
python -m diff_pdf_visually -v gbT7714-2015lan.pdf stdgbT7714-2015lan.pdf >stdGBlan.log
python -m diff_pdf_visually -v gbT7714-2015thesis.pdf stdgbT7714-2015thesis.pdf >stdGBthesis.log