Collection of papers prepared to describe Global Names projects
alias pps="cd ~/papers && vi -c NotesLayout"
Using guard for automatic PDF compiling
- Install full
latex
package for your OS - Install
pandoc
and its dependencies - Go to
papers
directory (see the alias above). - Run
bundle
command from the root to install required gems - Set a script
$HOME/bin/pdcit
in your execution path
An example of pdcit
:
#!/bin/bash
path=$(dirname ${1})
file=$(basename ${1} ".md")
cd ${path}
pandoc -C -s "${file}.md" --pdf-engine=xelatex --highlight-style \
zenburn -o "${file}.pdf"
pandoc -C -s "${file}.md" -o "${file}.tex"
cd -
test : a playground for pandoc-based PDF/Latex generation