add recipes, update meal planner to function that I must have been doing wrong before

This commit is contained in:
2025-04-18 16:02:05 -05:00
parent 78601d30fe
commit f86e1508c5
6 changed files with 41 additions and 49 deletions

View File

@ -5,20 +5,20 @@ cd "$(dirname "$0")"
#git fetch --all
#git reset --hard origin/master
printf "\n-_-_-_-_-_-_-_-_- Main -_-_-_-_-_-_-_-_-\n"
pdflatex -file-line-error -interaction nonstopmode -draftmode -shell-escape -jobname=Recipes main.tex
printf "\n-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-\n\n\n"
pdflatex -file-line-error -interaction nonstopmode -shell-escape -jobname=Recipes main.tex
#printf "\n-_-_-_-_-_-_-_-_- Main -_-_-_-_-_-_-_-_-\n"
#pdflatex -file-line-error -interaction nonstopmode -draftmode -shell-escape -jobname=Recipes main.tex
#printf "\n-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-\n\n\n"
#pdflatex -file-line-error -interaction nonstopmode -shell-escape -jobname=Recipes main.tex
printf "\n-_-_-_-_-_-_-_-_- Booklet -_-_-_-_-_-_-_-_-\n"
# https://github.com/jenom/pdfbook2
pdfbook2 --no-crop --top-margin=5 --bottom-margin=5 --outer-margin=0 --inner-margin=0 --short-edge --paper=letterpaper Recipes.pdf
mv -v -t /home/david/fileshare/LaTeX/Recipes Recipes.pdf Recipes-book.pdf
#printf "\n-_-_-_-_-_-_-_-_- Booklet -_-_-_-_-_-_-_-_-\n"
# https://github.com/jenom/pdfbook2
#pdfbook2 --no-crop --top-margin=5 --bottom-margin=5 --outer-margin=0 --inner-margin=0 --short-edge --paper=letterpaper Recipes.pdf
#mv -v -t /home/david/fileshare/LaTeX/Recipes Recipes.pdf Recipes-book.pdf
#printf "\n-_-_-_-_-_-_-_-_- Meal Planner -_-_-_-_-_-_-_-_-\n"
#pdflatex -file-line-error -interaction nonstopmode -draftmode -shell-escape -jobname="Meal Planner" meal-planner.tex
#pdflatex -file-line-error -interaction nonstopmode -shell-escape -jobname="Meal Planner" meal-planner.tex
#mv -v -t /home/david/fileshare/LaTeX/Recipes "Meal Planner.pdf"
printf "\n-_-_-_-_-_-_-_-_- Meal Planner -_-_-_-_-_-_-_-_-\n"
pdflatex -file-line-error -interaction nonstopmode -draftmode -shell-escape -jobname="Meal Planner" meal-planner.tex
pdflatex -file-line-error -interaction nonstopmode -shell-escape -jobname="Meal Planner" meal-planner.tex
mv -v -t /home/david/fileshare/LaTeX/Recipes "Meal Planner.pdf"
rm *.aux *.out *.log *.toc *.fls *.fdb_latexmk