2024-08-08 12:24:57 -05:00
#!/bin/bash
cd " $( dirname " $0 " ) "
2024-09-20 15:27:15 -05:00
# these are so that later it can be edited through the web on gitea and automagically recompile without having to run anything on the webserver manually. MUST be commented out when modifying/running locally. I'm not gonna maintain two copies just for that automation, especially while I'm still actively creating stuff
2026-09-10 10:51:53 -05:00
#git stash
2026-07-30 00:08:55 -05:00
#git fetch --all
#git reset --hard origin/master
2024-08-08 12:24:57 -05:00
2025-05-06 20:21:38 -05:00
printf "\n-_-_-_-_-_-_-_-_- Main -_-_-_-_-_-_-_-_-\n"
pdflatex -file-line-error -interaction nonstopmode -draftmode -shell-escape -jobname= Recipes main.tex
pdflatex -file-line-error -interaction nonstopmode -shell-escape -jobname= Recipes main.tex
2026-07-13 22:19:59 -05:00
mv -v -t /home/david/fileshare/LaTeX/Recipes Recipes.pdf
2024-09-20 15:27:15 -05:00
2026-09-10 10:51:53 -05:00
printf "\n-_-_-_-_-_-_-_-_- Meal Planner -_-_-_-_-_-_-_-_-\n"
pdflatex -file-line-error -interaction nonstopmode -shell-escape -jobname= "Meal Planner" meal-planner.tex
qpdf "Meal Planner.pdf" --pages . 2-3 -- --replace-input # easier than trying to figure out how to remove the blank pages it auto-creates lol
mv -v -t /home/david/fileshare/LaTeX/Recipes "Meal Planner.pdf"
2024-10-01 11:43:42 -05:00
2026-09-10 10:51:53 -05:00
printf "\n-_-_-_-_-_-_-_-_- Shopping list -_-_-_-_-_-_-_-_-\n"
pdflatex -file-line-error -draftmode -shell-escape -jobname= "Shopping List" shopping-list.tex
pdflatex -file-line-error -shell-escape -jobname= "Shopping List" shopping-list.tex
mv -v -t /home/david/fileshare/LaTeX/Recipes "Shopping List.pdf"
2024-09-20 15:27:15 -05:00
2025-05-06 20:21:38 -05:00
rm *.aux *.out *.log *.toc *.fls *.fdb_latexmk
#printf "\n-_-_-_-_-_-_-_-_- FF -_-_-_-_-_-_-_-_-\n"
#cd "Dependance on Deities"
#lualatex -file-line-error -interaction nonstopmode -draftmode -shell-escape -jobname=FF main.tex
#lualatex -file-line-error -interaction nonstopmode -shell-escape -jobname=FF main.tex
#rm *.aux *.out *.log *.toc
#mv -v FF.pdf /home/david/fileshare/LaTeX/Recipes/.FF.pdf