Last active
December 21, 2015 13:09
-
-
Save waltsu/6310620 to your computer and use it in GitHub Desktop.
Using https://github.com/sschober/kqwait to watch and build Latex-project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# pages/1_introduction.tex | |
\chapter{Introduction} | |
Introduction of the best paper ever! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Title/packages/table of contents etc. | |
... | |
... | |
... | |
# Include pages | |
\include{pages/1_introduction} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
pdflatex main.tex | |
bibtex main.aux | |
pdflatex main.tex | |
pdflatex main.tex |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/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