diff --git a/main.tex b/main.tex index d9949ca..15f5960 100644 --- a/main.tex +++ b/main.tex @@ -3,7 +3,7 @@ \renewcommand*\familydefault{\sfdefault} % Force the sans-serif version of any font used \usepackage[% papersize={5.5in,8.5in}, - margin=0.75in, + margin=0.6in, top=0.75in, bottom=0.75in ]{geometry} @@ -19,6 +19,7 @@ colorlinks=false ]{hyperref} + % have to define a cup cause the cooking-units writer is german and doesn't understand the flawed american way to measure ingredients. \declarecookingunit{cup} \cudefinename {English} @@ -88,7 +89,7 @@ Gluten Free: \glutenfree \\ Freeze: \freeze \\ Dessert: \dessert \\ - Make Ahead: \makeahead + Meal Prep: \mealprep } \newcommand\mainmatter{% @@ -103,7 +104,7 @@ \colorlet{gfcolor}{brown} \definecolor{frzcolor}{rgb}{0,0.8,0.8} \definecolor{dessertcolor}{rgb}{0.5,0.2,0.1} -\definecolor{makeaheadcolor}{rgb}{0.5,0.5,0.6} +\definecolor{mealprepcolor}{rgb}{0.5,0.5,0.6} %% Thanks to alephzero for the excellent start: %% #1 [optional headnote]; #2 Title of recipe; #3 [Initial instructions] @@ -141,8 +142,8 @@ \newcommand{\dessert}{% {\large\color{dessertcolor}\textbf{D}}% } -\newcommand{\makeahead}{% - {\large\color{makeaheadcolor}\textbf{MA}}% +\newcommand{\mealprep}{% + {\large\color{mealprepcolor}\textbf{MP}}% } %% Optional arguments for alternate names for these: diff --git a/orderedrecipes.tex b/orderedrecipes.tex index 61bce72..3c345ba 100644 --- a/orderedrecipes.tex +++ b/orderedrecipes.tex @@ -4,7 +4,11 @@ \input{recipes/ChickenSliders.tex} \newpage -\section{Desserts} % ¯\_(ツ)_/¯ won't do it automagically, whatever +\section{Main Dishes} +\input{recipes/FirecrackerMeatballs.tex} + +\newpage +\section{Desserts} \input{recipes/FudgyBrownies42.tex} %\input{recipes/DatePinwheels.tex} diff --git a/recipes/DatePinwheels.tex b/recipes/DatePinwheels.tex index 1661b0a..e43e701 100644 --- a/recipes/DatePinwheels.tex +++ b/recipes/DatePinwheels.tex @@ -1,4 +1,4 @@ -\recipe[From great-grandma Vera Daily]{Date Pinwheels}[] +\recipe[From great-grandma Vera Daily, and a christmas classic.]{Date Pinwheels}[] \serves{6-8} \preptime{1 hour} \cooktime{1 hour} diff --git a/recipes/FirecrackerMeatballs.tex b/recipes/FirecrackerMeatballs.tex new file mode 100644 index 0000000..adf61e1 --- /dev/null +++ b/recipes/FirecrackerMeatballs.tex @@ -0,0 +1,62 @@ +\recipe[One of our favourite recipes!]{Firecracker Meatballs}[From HelloFresh originally.\\Adjust rack to top position and preheat oven to \cunum{425}{F}.] +\serves{2/\textcolor{orange}{4}/\textcolor{brown}{6}} +\preptime{\cutext{20}{min}} +\cooktime{\cutext{40}{min}} +\dishtype{\mealprep} +% multiple servings in different color? or entireley separate? make sure to change \serves as well with whatever formatting + +\begin{step} +% \cunum doesn't work, otherwise I'd use it ¯\_(ツ)_/¯ + 2/\textcolor{orange}{4}/\textcolor{brown}{6} Scallions + 1/\textcolor{brown}{2} Ginger thumb +\method + Trim and thinly slice scallions, separating whites from greens; mince whites.\\ + Peel and mince ginger. +\end{step} + +\begin{step} + \cutext{2}{EL}/\textcolor{orange}{4}/\textcolor{brown}{6} Mayonaise + \cutext{2}{EL}/\textcolor{orange}{4}/\textcolor{brown}{6} Sour Cream + \cutext{2}{TL}/\textcolor{orange}{4}/\textcolor{brown}{6} Honey + \cutext{2}{TL}/\textcolor{orange}{4}/\textcolor{brown}{6} Soy sauce + Siracha to taste + Chili flakes to taste +\method + Combine ingredients in a large bowl and set aside. (We'll toss the meatballs in it later) +\end{step} + +\begin{step} + \cutext{3/4}{cup}/\textcolor{orange}{1½}/\textcolor{brown}{2¼} Water + \cutext{1}{pn} Salt + \cutext{1/2}{cup}/\textcolor{orange}{1}/\textcolor{brown}{1½} Rice +\method + Add water \& salt to small pot and bring to a boil, then add rice, cover, and reduce to a low simmer. Cook until rice is tender, \cunum{15--18}{min}.\\ + Keep covered off heat until ready to serve. +\end{step} + +\begin{step} + \cutext{1}{lb}/\textcolor{orange}{2}/\textcolor{brown}{3} Ground Beef + \cutext{1/4}{cup}/\textcolor{orange}{½}/\textcolor{brown}{¾} Panko Breadcrumbs + Scallion whites + Minced ginger + \cutext{1}{EL}/\textcolor{orange}{2}/\textcolor{brown}{4} Soy Sauce + \cutext{1/2}{TL}/\textcolor{orange}{1}/\textcolor{brown}{1½} Salt + Pepper +\method + While rice cooks combine these into a large bowl. Form into \cunum{1}{oz} meatballs and place on one side of a lightly oiled baking sheet. +\end{step} + +\begin{step} + \cutext{6}{oz}/\textcolor{orange}{12}/\textcolor{brown}{24} Green beans + Drizzle of oil + Salt + Pepper +\method + Toss on empty side of pan and roast on top rack until meatballs are cooked through and green beans are browned and tender, \cunum{14--16}{min}. + + Fluff rice with fork, season with salt \& pepper. Divide between bowls or plates. Carefully add meatballs to bowl with sauce; toss to coat. Top rice with meatballs and drizzle with any remaining sauce. Serve green beans to the side. Garnish with scallion greens. +\end{step} + + + + diff --git a/render.sh b/render.sh index 15ef248..02e5d6b 100755 --- a/render.sh +++ b/render.sh @@ -7,8 +7,15 @@ cd "$(dirname "$0")" #git reset --hard origin/master pdflatex -file-line-error -interaction nonstopmode -draftmode -shell-escape -jobname=Recipes main.tex +echo +echo -_-_-_-_-_-_-_-_- Final run -_-_-_-_-_-_-_-_- +echo pdflatex -file-line-error -interaction nonstopmode -shell-escape -jobname=Recipes main.tex -pdfbook2 Recipes.pdf +echo +echo -_-_-_-_-_-_-_-_- Booklet -_-_-_-_-_-_-_-_- +echo +# https://github.com/jenom/pdfbook2 +pdfbook2 -s -o 0 -i 0 -t 0 -b 0 -p letterpaper Recipes.pdf rm *.aux *.out *.log *.toc -mv Recipes.pdf /home/david/fileshare/LaTeX/Recipes -mv Recipes-book.pdf /home/david/fileshare/LaTeX/Recipes/Recipes-booklet.pdf \ No newline at end of file +mv -v Recipes.pdf /home/david/fileshare/LaTeX/Recipes +mv -v Recipes-book.pdf /home/david/fileshare/LaTeX/Recipes/Recipes-booklet.pdf \ No newline at end of file