23 lines
623 B
Bash
23 lines
623 B
Bash
rm -r ./document
|
|
|
|
# Make the bibliography. Errors here don't matter.
|
|
pdflatex -interaction=nonstopmode document.tex > /dev/null 2>&1
|
|
bibtex document > /dev/null 2>&1
|
|
pdflatex -interaction=nonstopmode document.tex > /dev/null 2>&1
|
|
|
|
|
|
# Website compilation procedure
|
|
python3 tagger.py >> tags
|
|
plastex --renderer=Gerby ./document.tex
|
|
cd ./gerby-website/gerby/tools
|
|
python3 update.py
|
|
cd ../../..
|
|
|
|
# Clean up the tex compilations.
|
|
rm document.aux > /dev/null 2>&1
|
|
rm document.bbl > /dev/null 2>&1
|
|
rm document.blg > /dev/null 2>&1
|
|
rm document.log > /dev/null 2>&1
|
|
rm document.out > /dev/null 2>&1
|
|
rm document.pdf > /dev/null 2>&1
|