hotchoco7 / die

a paper template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 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

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

About

a paper template


Languages

Language:TeX 61.4%Language:Python 24.2%Language:Gnuplot 12.6%Language:Shell 1.2%Language:Makefile 0.5%Language:Perl 0.2%