- Prerequisites
-
Python 3.x
-
pygmentize
$ pip install Pygments
- clone the git repo:
-
if you have none,
$ git clone --depth=1 git@github.com:tsgates/die.git
-
if you have a git-repo to work on,
$ git subtree add --squash git@github.com:tsgates/die.git master -P paper
-
or
$ wget https://github.com/tsgates/die/releases/download/latest/die.tar.gz
-
build it:
$ make p.pdf built @Tue May 20 20:38:19 EDT 2014
(check p.pdf)
-
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
-
example latex
$ git checkout example $ make
-
formatting rules (dependencies)
- code/.{c,cc,py,js ...} -> code/.tex
- fig/.svg -> fig/.pdf
- data/.gp -> fig/.tex
(see ex.tex for more details)
-
make a draft for revision
$ make draft $ make watermark
-
abstract.txt (from abstract.tex)
$ cat abstract.txt
-
highlight changes, since the last submit
$ make diff DIFF=HEAD@{}
-
spell check
$ make spell
This template contains many 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. A special thanks goes to "die: a paper template" available at https://github.com/tsgates/die which I have enjoyed a lot while working at SSLab.