-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.py
49 lines (43 loc) · 1.13 KB
/
main.py
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
from latex import create_pdf_file, create_tex_file
def main():
moves = [
(0, 0, 3),
(0, 1, 4),
(0, 2, 5),
(0, 3, 6),
(0, 4, 7),
(0, 5, 8),
(0, 6, 9),
(0, 7, 10),
(0, 8, 11),
(0, 9, 12),
(0, 10, 13),
(0, 11, 14),
(0, 12, 15),
(0, 13, 0),
(0, 14, 1),
(0, 15, 2),
(1, 0, 13),
(1, 1, 14),
(1, 2, 15),
(1, 3, 0),
(1, 4, 1),
(1, 5, 2),
(1, 6, 3),
(1, 7, 4),
(1, 8, 5),
(1, 9, 6),
(1, 10, 7),
(1, 11, 8),
(1, 12, 9),
(1, 13, 10),
(1, 14, 11),
(1, 15, 12),
], 'jk'
file = 'file.tex'
create_tex_file(*moves, file)
print('tex_file')
create_pdf_file(file)
print('pdf_file')
if __name__ == '__main__':
main()