forked from tsgates/die
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
89 lines (56 loc) · 1.46 KB
/
README
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
die: a paper template
=====================
## start
0. Prerequisites
- Python 3.x
- pygmentize
$ pip install Pygments
1. clone the git repo:
- if you have none,
$ git clone --depth=1 [email protected]:tsgates/die.git
- if you have a git-repo to work on,
$ git subtree add --squash [email protected]:tsgates/die.git master -P paper
- or
$ wget https://github.com/tsgates/die/releases/download/latest/die.tar.gz
2. build it:
$ make
p.pdf built @Tue May 20 20:38:19 EDT 2014
(check p.pdf)
3. starting point, p.tex:
$ grep -oP 'input{\K\w+' p.tex
cmds
rev
*hdr
abstract
*ex
intro
overview
design
impl
eval
conclusion
ack
- hdr: includes title/author info
- ex : includes latex examples
4. example latex
$ git checkout example
$ make
5. formatting rules (dependencies)
- code/*.{c,cc,py,js ...} -> code/*.tex
- fig/*.svg -> fig/*.pdf
- data/*.gp -> fig/*.tex
(see ex.tex for more details)
## tools
1. make a draft for revision
$ make draft
$ make watermark
2. abstract.txt (from abstract.tex)
$ cat abstract.txt
3. highlight changes, since the last submit
$ make diff DIFF=HEAD@{}
4. spell check
$ make spell
## Acknowledgment
This template contains a few files copied/stolen from the Internet and
mainly from my past collaborators (e.g., sty/*, conf.bib, some bin/),
which I couldn't keep track of their licenses.