diff --git a/main.tex b/main.tex index 0815603..d918bf7 100644 --- a/main.tex +++ b/main.tex @@ -1,9 +1,10 @@ -\documentclass{article} +\documentclass[14pt]{extarticle} \usepackage{fancyhdr,wrapfig,xcolor,graphicx,xparse,lmodern,cooking-units} \renewcommand*\familydefault{\sfdefault} % Force the sans-serif version of any font used \usepackage[% - papersize={5.5in,8.5in}, % replace whole line with just "a5paper," to switch to A5 - margin=15mm, + %papersize={5.5in,8.5in}, + letterpaper, + margin=13mm, top=20mm, bottom=20mm ]{geometry} diff --git a/render.sh b/render.sh index cea1395..1a10fd0 100755 --- a/render.sh +++ b/render.sh @@ -2,16 +2,13 @@ cd "$(dirname "$0")" # 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 -#git fetch --all -#git reset --hard origin/master +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 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 +mv -v -t /home/david/fileshare/LaTeX/Recipes Recipes.pdf #printf "\n-_-_-_-_-_-_-_-_- Meal Planner -_-_-_-_-_-_-_-_-\n" #pdflatex -file-line-error -interaction nonstopmode -draftmode -shell-escape -jobname="Meal Planner" meal-planner.tex