Skip to content

Instantly share code, notes, and snippets.

@waltsu
Last active December 21, 2015 13:09
Show Gist options
  • Save waltsu/6310620 to your computer and use it in GitHub Desktop.
Save waltsu/6310620 to your computer and use it in GitHub Desktop.
Using https://github.com/sschober/kqwait to watch and build Latex-project
# pages/1_introduction.tex
\chapter{Introduction}
Introduction of the best paper ever!
# Title/packages/table of contents etc.
...
...
...
# Include pages
\include{pages/1_introduction}
#!/bin/bash
pdflatex main.tex
bibtex main.aux
pdflatex main.tex
pdflatex main.tex
#/bin/bash
while kqwait pages/*.tex main.tex; do
source update.sh
echo "--- DONE ---"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment