From 7314c85bb1454b823fbcc2a93c57474e807fa04c Mon Sep 17 00:00:00 2001 From: David Daily Date: Fri, 20 Sep 2024 15:27:15 -0500 Subject: [PATCH] added some meme/FF recipes, some updates to existing ones --- main.tex | 30 ++-- meal-planner.tex | 35 +++++ meme/BlackenedMuddySiredon.tex | 28 ++++ meme/ChefTonberrys.tex | 22 +++ meme/RockRootStew.tex | 51 +++++++ meme/SauteedMandragona.tex | 40 +++++ meme/main.tex | 267 +++++++++++++++++++++++++++++++++ orderedrecipes.tex | 14 +- recipes/FudgyBrownies42.tex | 1 + recipes/Pancakes.tex | 4 +- recipes/TollHouseCCC.tex | 29 ++-- render.sh | 28 ++-- 12 files changed, 501 insertions(+), 48 deletions(-) create mode 100644 meal-planner.tex create mode 100644 meme/BlackenedMuddySiredon.tex create mode 100644 meme/ChefTonberrys.tex create mode 100644 meme/RockRootStew.tex create mode 100644 meme/SauteedMandragona.tex create mode 100644 meme/main.tex diff --git a/main.tex b/main.tex index 9c9094e..332c6a3 100644 --- a/main.tex +++ b/main.tex @@ -54,17 +54,17 @@ %% From Donald Arseneau. Add after the wrapping text. Whew! \def\wrapfill{% Just glad it works. - \par - \ifx\parshape\WF@fudgeparshape - \nobreak - \ifnum\c@WF@wrappedlines>\@ne - \advance\c@WF@wrappedlines\m@ne - \vskip\c@WF@wrappedlines\baselineskip - \global\c@WF@wrappedlines\z@ - \fi - \allowbreak - \WF@finale - \fi + \par + \ifx\parshape\WF@fudgeparshape + \nobreak + \ifnum\c@WF@wrappedlines>\@ne + \advance\c@WF@wrappedlines\m@ne + \vskip\c@WF@wrappedlines\baselineskip + \global\c@WF@wrappedlines\z@ + \fi + \allowbreak + \WF@finale + \fi } @@ -84,9 +84,9 @@ \fi } -\title{Daily Recipes} -\author{David Daily} -\date{\small{last updated \today}} +\title{Recipes} +\author{David \& Alissa Daily} +\date{\tiny{last updated \today}} %% Borrowed from book.cls \newif\if@mainmatter \@mainmattertrue @@ -119,7 +119,7 @@ \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] +%% #1 [optional headnote]; #2 Title of recipe; #3 [optional initial instructions] \NewDocumentCommand{\recipe}{o m o}{% \setcounter{stepnum}{0}% \newpage diff --git a/meal-planner.tex b/meal-planner.tex new file mode 100644 index 0000000..f9285eb --- /dev/null +++ b/meal-planner.tex @@ -0,0 +1,35 @@ +\batchmode +\let\nonstopmode\relax +\let\scrollmode\relax +\let\errorstopmode\relax +\hfuzz=\maxdimen +\hbadness=10000 +\documentclass{article} +\usepackage{xcolor,environ,lipsum,fontawesome5,calc,tikz,tabularray,graphicx,microtype,lmodern} +\usepackage[T1]{fontenc} +\usepackage[utf8]{inputenc} +\usepackage[% + papersize={5.5in,8.5in}, + margin=15mm, + top=5mm, + bottom=5mm +]{geometry} + +\begin{document} +\pagestyle{empty} +{\fontfamily{lmss}\selectfont +\noindent +\begin{tblr}{width = \textwidth, + vline{2,3} = {3,6,9,12,15,18,21}{solid}, % vertical lines + hline{3,6,9,12,15,18,21} = {solid}, % horizontal lines + row{3,6,9,12,15,18,21} = {4.6em}, % the text boxes to write in + columns = {0.3\textwidth,c}} + \multicolumn{3}{c}{\textbf{\large Wednesday}}\\Breakfast & Lunch & Supper\\ \\ + \multicolumn{3}{c}{\textbf{\large Thursday}}\\Breakfast & Lunch & Supper\\ \\ + \multicolumn{3}{c}{\textbf{\large Friday}}\\Breakfast & Lunch & Supper\\ \\ + \multicolumn{3}{c}{\textbf{\large Saturday}}\\Breakfast & Lunch & Supper\\ \\ + \multicolumn{3}{c}{\textbf{\large Sunday}}\\Breakfast & Lunch & Supper\\ \\ + \multicolumn{3}{c}{\textbf{\large Monday}}\\Breakfast & Lunch & Supper\\ \\ + \multicolumn{3}{c}{\textbf{\large Tuesday}}\\Breakfast & Lunch & Supper\\ \\ +\end{tblr} +}\end{document} \ No newline at end of file diff --git a/meme/BlackenedMuddySiredon.tex b/meme/BlackenedMuddySiredon.tex new file mode 100644 index 0000000..1848e7c --- /dev/null +++ b/meme/BlackenedMuddySiredon.tex @@ -0,0 +1,28 @@ +\recipe[Submitted by Jack]{Blackened Muddy Siredon}[Muddy siredon is a newt found only in the Phanauet Channel. It is easily recognizable by its large outer gills. Blackened siredon is a delicacy, as long as you make sure to cook the meat quickly so it doesn't dry out. As always when blackening, don't be afraid to get your pan extremely hot. Make sure you do it in a well-ventilated kitchen, or even outside, as it creates a fair amount of smoke if you're doing it right. Most importantly, get ready to please your taste buds and impress your friends.] +\serves{6-8} +\preptime{\cutext{15}{min}} +\cooktime{\cutext{10}{min}} + + +\begin{step}\method + Place a large cast-iron skillet over high heat until very hot, about 7 minutes. +\end{step} + +\begin{step} + 2 pounds siredon meat, cut into \cutext{1}{in} pieces + 5 tablespoons Chef Tonberry's 12 Herbs \& Spices (recipe follows) +\method + In a large bowl, add siredon meat, and toss with Chef Tonberry's 12 Herbs \& Spices. +\end{step} + +\begin{step} + 1 tablespoon canola oil +\method + Add canola oil to the skillet, and carefully add siredon in batches. + + Let cook until meat is blackened and releases easily, 2 to 3 minutes. + + When it releases, turn each piece, and cook 1 to 2 minutes more. + + Remove siredon from the skillet, and serve hot. +\end{step} \ No newline at end of file diff --git a/meme/ChefTonberrys.tex b/meme/ChefTonberrys.tex new file mode 100644 index 0000000..c173c72 --- /dev/null +++ b/meme/ChefTonberrys.tex @@ -0,0 +1,22 @@ +\recipe{Chef Tonberry's 12 Herbs \& Spices} +\preptime{\cutext{15}{min}} +\dishtype{\mealprep} % options: vegetarian, glutenfree, freeze, mealprep + + +\begin{step} + Smoked paprika + Cayenne pepper + Toasted onion powder + Garlic powder + Black pepper + Rock salt + Dried marjaram + Dried thyme + Dried bay leaves + Celery salt + Ancho chile powder + Ground White Pepper +\method + In a medium bowl, combine all ingredients. + Store covered for up to 1 year. +\end{step} \ No newline at end of file diff --git a/meme/RockRootStew.tex b/meme/RockRootStew.tex new file mode 100644 index 0000000..415d0ba --- /dev/null +++ b/meme/RockRootStew.tex @@ -0,0 +1,51 @@ +\recipe[Submitted by Bibith]{Rockroot Stew}[The use of rockroot, a tough and fibrous plant, represents Wannaren resilience and adaptability. It's a staple that requires patience and effort to prepare, much like the Galka themselves.] +\serves{6-8} +\preptime{\cutext{15}{min}} +\cooktime{\cutext{2--3}{h}} +\dishtype{\freeze} % options: vegetarian, glutenfree, freeze, mealprep +\dishother{\glutenfree} % if you need more than one of the dish types? puts it in the other corner + +\begin{step} + 2 large rockroot roots +\method + Peel and dice the rockroot into large chunks. Since it's tough, make sure to cut it into manageable pieces. +\end{step} + +\begin{step} + 2 tablespoons Cooking Fat (substitute with animal fat or oil) + 500g Wild Game or Dried Fish (can be substituted with venison, rabbit, or smoked trout) +\method + In a large pot, heat the cooking fat over medium heat. Add the wild game meat or smoked fish, searing until browned on all sides. Remove and set aside. +\end{step} + +\begin{step} + 1 large Onion, diced + 2 medium Carrots, sliced + 2 stalks Celery, chopped +\method + In the same pot, add the diced onions, carrots, and celery. Sauté until the onions become translucent and fragrant. + + Toss in the rockroot chunks and cook for a few minutes, letting them absorb the flavors from the aromatics. +\end{step} + +\begin{step} + 4 cups Broth (preferably bone broth or fish stock) + 1 tablespoon Juniper Berries, crushed + 2 teaspoons Thyme, dried + 1 small Chili Pepper, finely chopped (optional for heat) +\method + Return the meat or fish to the pot. Pour in the broth, making sure the ingredients are fully submerged. Add the juniper berries, thyme, and chili pepper. + + Bring to a boil, then reduce the heat to low. Cover and let it simmer for 2-3 hours, stirring occasionally, until the rockroot is tender and the flavors have melded. +\end{step} + +\begin{step} + Mountain Bread: 2 slices, torn into chunks + Cornmeal Dumplings: (optional) made with 1 cup cornmeal, ½ cup flour, 1 teaspoon baking powder, salt to taste, and enough water to form a dough. +\method + If using mountain bread, add the torn chunks to the pot about 15 minutes before serving to soak up the stew's flavors. + + For cornmeal dumplings, mix the ingredients to form a dough. Drop spoonfuls of the dough into the simmering stew about 20 minutes before serving, covering the pot to allow them to cook through. + + Taste the stew, adding salt and pepper as needed. Serve hot, with the hearty chunks of bread or dumplings in each bowl, offering a true mountain meal. +\end{step} \ No newline at end of file diff --git a/meme/SauteedMandragona.tex b/meme/SauteedMandragona.tex new file mode 100644 index 0000000..0e04196 --- /dev/null +++ b/meme/SauteedMandragona.tex @@ -0,0 +1,40 @@ +\recipe[Submitted by Boquila]{Sautéed Mandragora}[This traditional dish has its roots deep within the jungles of Elshimo, where the elusive Mandragora thrives. As the Viera departed these lands, they sought to recreate the dish using eggplant, with moderate success. However, during times when the Mandragora population grew too large and unruly, posing a threat by attracting predators from deeper in the jungle, the village guardians would be tasked with culling about one-third of the population. These culled creatures were brought back, counted, and prepared by the village cooks to be shared amongst all.] +\serves{6-8} +\preptime{\cutext{15}{min}} +\cooktime{\cutext{10}{min}} + +\begin{step} + Fresh Mandragora (or substitute with eggplant) +\method + Keeping the skin on, wash the body of the Mandragora thoroughly. + + Slice the body into your preferred shape: \cutext{1/4}{in} discs, \cutext{1/2}{in} strips, or \cutext{1/2}{in} cubes. +\end{step} + +\begin{step} + Salt + Pepper + Garlic powder +\method + Sprinkle the slices with salt, pepper, and garlic powder to taste. +\end{step} + +\begin{step} + Olive oil +\method + In a large skillet, heat oil over medium heat. + + Add the Mandragora pieces in a single layer, working in batches to avoid overcrowding. + + Sauté the Mandragora on both sides until they become soft, tender, and caramelized. + + Once cooked, remove from heat. +\end{step} + +\begin{step} + Lemon (optional) + Fresh parsley (optional) + Cheese, basil, onion, olive, tomato, and goat cheese (optional for variation) +\method + Finish with a squeeze of fresh lemon juice or a sprinkle of parsley for added flavor. +\end{step} \ No newline at end of file diff --git a/meme/main.tex b/meme/main.tex new file mode 100644 index 0000000..d7490bc --- /dev/null +++ b/meme/main.tex @@ -0,0 +1,267 @@ +\documentclass{article} +\usepackage{fancyhdr,wrapfig,xcolor,graphicx,xparse,lmodern,cooking-units,fontspec} +\usepackage[% + papersize={5.5in,8.5in}, + margin=0.6in, + top=0.75in, + bottom=0.75in + ]{geometry} + +\usepackage[% + unicode=true, + bookmarks=true, + bookmarksnumbered=false, + bookmarksopen=false, + breaklinks=false, + pdfborder={0 0 1}, + backref=section, + colorlinks=false + ]{hyperref} + +\setmainfont{ComicRelief} + +% 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} + { + {cup} {cup}[cups] + {oz} {ounce}[ounces] % lol, the plural isn't right + } + +\cuaddtokeychain +{ + {ml} {240} % this unit already exists + {cup} {1} % 1 (US Legal) cup is 240ml. We're not converting to oz cause that would require implementing fluid ounces, which is outside the scope of this project. Maybe I'll do good on making a PR for the package. +} +\cuaddtokeychain +{ + {ml} {30} + {oz} {1} +} +\cuaddtounitgroup{volume}{cup} +\cusetup{use-phrases=true} +\cusetoptionfor{g,ml}{round-precision=0} % rounds grams to whole numbers, I don't care *that* much + +% Removing the numbers from the sections & sub-sections +\setcounter{secnumdepth}{0} + +\newcounter{stepnum} + +\makeatletter + +\def\plus{\texttt{+}\hspace{.3em}} +\def\minus{\texttt{-}\hspace{.3em}} + +%% From Donald Arseneau. Add after the wrapping text. Whew! +\def\wrapfill{% Just glad it works. + \par + \ifx\parshape\WF@fudgeparshape + \nobreak + \ifnum\c@WF@wrappedlines>\@ne + \advance\c@WF@wrappedlines\m@ne + \vskip\c@WF@wrappedlines\baselineskip + \global\c@WF@wrappedlines\z@ + \fi + \allowbreak + \WF@finale + \fi +} + + +%% Used for the headnote and in \showit +%% If the text is small it is placed on one line; +%% otherwise it is put into a raggedright paragraph. +\long\def\testoneline#1{% + \sbox\@tempboxa{#1}% + \ifdim \wd\@tempboxa <0.75\linewidth + \begingroup + \itshape + #1\par + \endgroup + \else + \parbox{0.75\linewidth}{\raggedright\itshape#1}% + \par + \fi +} + +\title{Recipes} +\author{The Entity} +\date{\tiny{last updated \today}} + +%% Borrowed from book.cls +\newif\if@mainmatter \@mainmattertrue + +\newcommand\frontmatter{% + \cleardoublepage + \@mainmatterfalse + \pagenumbering{roman} + \tableofcontents + } + +\newcommand\mainmatter{% + \cleardoublepage + \@mainmattertrue + \pagenumbering{arabic}} +\makeatother + +%% Vary the colors at will + +\definecolor{vegcolor}{rgb}{0,0.5,0.2} +\colorlet{gfcolor}{brown} +\definecolor{frzcolor}{rgb}{0,0.8,0.8} +\definecolor{dessertcolor}{rgb}{0.5,0.2,0.1} +\definecolor{mealprepcolor}{rgb}{0.5,0.5,0.6} + +%% Thanks to alephzero for the excellent start: +%% #1 [optional headnote]; #2 Title of recipe; #3 [optional initial instructions] +\NewDocumentCommand{\recipe}{o m o}{% + \setcounter{stepnum}{0}% + \newpage + \thispagestyle{fancy} + \lhead{}% + \chead{}% + \rhead{}% + \lfoot{}% + \rfoot{}% + \subsection{#2}% + \IfNoValueF{#1}{\begin{center}\testoneline{#1}\end{center}} + \IfNoValueF{#3}{\noindent\emph{#3}\par\medskip} +} + +\newcommand{\serves}[2][Serves]{% + \chead{#1 #2}} +\newcommand{\dishtype}[1]{% + \rhead{#1}% +} +\newcommand{\dishother}[1]{% + \lhead{#1}% +} +\newcommand{\vegetarian}{% + {\large\color{vegcolor}\textbf{V}}% +} +\newcommand{\glutenfree}{% + {\large\color{gfcolor}\textbf{GF}}% +} +\newcommand{\freeze}{% + {\large\color{frzcolor}\textbf{F}}% +} +\newcommand{\dessert}{% + {\large\color{dessertcolor}\textbf{D}}% +} +\newcommand{\mealprep}{% + {\large\color{mealprepcolor}\textbf{MP}}% +} + +%% Optional arguments for alternate names for these: +\newcommand{\preptime}[2][Prep time]{% + \lfoot{#1: #2}% +} +\newcommand{\cooktime}[2][Cook time]{% + \rfoot{#1: #2}% +} +%% Optional argument is the width of the graphic, default = 1in +\newcommand{\showpic}[3][1in]{% + \begin{center} + \bigskip + \includegraphics[width=#1]{#2}% + \par + \medskip + \testoneline{#3}% + \par + \end{center}% +} + +\NewDocumentEnvironment{step}{}{% + \parindent0pt + \leftskip0pt + \begin{minipage}{\textwidth} + \begin{wrapfigure}{r}{0pt} + \kern-0.5em + \vrule width 1pt\enskip + \begin{minipage}{0.5\textwidth} + \leftskip=1.5em + \parindent=-1.5em + \parskip=0.25em + \obeylines +}{% + \wrapfill + \end{minipage} + \medskip +} + +\NewDocumentCommand{\method}{}{% + \end{minipage} + \end{wrapfigure} + \rightskip0pt plus 2em + \parskip0.25em + \everypar={\llap{\stepcounter{stepnum}\hbox to 1.5em{\thestepnum.\hfill}}} +} + + +\pagestyle{plain} +\setlength{\intextsep}{0pt} + +% Different layout for Drinks that adds an hline at the end of a recipe, no serving amounts, no prep/cook time, no letters in the corner +%% #1 [optional headnote]; #2 Title of recipe; #3 [Initial instructions] +\NewDocumentCommand{\drink}{o m o}{% + \setcounter{stepnum}{0}% + \thispagestyle{fancy} + \lhead{}% + \chead{}% + \rhead{}% + \lfoot{}% + \rfoot{}% + \renewcommand{\headrulewidth}{0pt} + \subsection{#2}% + \IfNoValueF{#1}{\begin{center}\testoneline{#1}\end{center}} + \IfNoValueF{#3}{\noindent\emph{#3}\par\medskip} +} + +\NewDocumentCommand{\drinkspace}{}{% + \par + \bigskip + \filbreak + \hrulefill + \smallskip +} + +\NewDocumentEnvironment{drstep}{}{% + \parindent0pt + \leftskip0pt + \begin{minipage}{\textwidth} + \begin{wrapfigure}{r}{0pt} + \kern-0.5em + \vrule width 1pt\enskip + \begin{minipage}{0.5\textwidth} + \leftskip=1.5em + \parindent=-1.5em + \parskip=0.25em + \obeylines +}{% + \wrapfill + \end{minipage} + \medskip +} + +\NewDocumentCommand{\drmethod}{}{% + \end{minipage} + \end{wrapfigure} + \rightskip0pt plus 2em + \parskip0.25em + \everypar={\llap{\stepcounter{stepnum}\hbox to 1.5em{\thestepnum.\hfill}}} +} + +\begin{document} +\pagenumbering{gobble} +\maketitle + +\frontmatter + +\mainmatter + +\input{BlackenedMuddySiredon.tex} +\input{ChefTonberrys.tex} +\input{RockRootStew.tex} +\input{SauteedMandragona.tex} + +\end{document} diff --git a/orderedrecipes.tex b/orderedrecipes.tex index cbbcdfe..0741e48 100644 --- a/orderedrecipes.tex +++ b/orderedrecipes.tex @@ -1,16 +1,16 @@ % optionally: replace \section with \part to add a level between (\chapter doesn't exist in the Article class) -\section{Appetizers} +\section{Main Dishes} +\input{recipes/FirecrackerMeatballs.tex} +\input{recipes/Pancakes.tex} +%\input{recipes/TurkeyBurgers.tex} + +\newpage +\section{Other Dishes} \input{recipes/ChickenSliders.tex} \input{recipes/Granola.tex} \input{recipes/OatBalls.tex} \input{recipes/TexasCaviar.tex} -\newpage -\section{Main Dishes} -\input{recipes/FirecrackerMeatballs.tex} -\input{recipes/Pancakes.tex} -\input{recipes/TurkeyBurgers.tex} - \newpage \section{Desserts} %\input{recipes/DatePinwheels.tex} diff --git a/recipes/FudgyBrownies42.tex b/recipes/FudgyBrownies42.tex index 900321a..bb740da 100644 --- a/recipes/FudgyBrownies42.tex +++ b/recipes/FudgyBrownies42.tex @@ -9,6 +9,7 @@ Aluminum Foil \cunum{8_1/2}{in} by \cunum{4_1/2}{in} Loaf pan Mold release/Butter/Pam spray + \vspace{0.5em}\hrule % just to add some separation in this case, instructions kinda run into the ingredients list, especially at smaller page size \method Make foil sling for loaf pan by folding 2 long sheets of aluminum foil; first sheet should be \cunum{8_1/2}{in} wide and second sheet should be \cunum{4_1/2}{in} wide. Lay sheets of foil in pan perpendicular to each other, \textbf{with an inch of foil hanging over sides of pan to grab later}, smoothing foil flush to pan. Grease foil. \end{step} diff --git a/recipes/Pancakes.tex b/recipes/Pancakes.tex index b287e94..76f2c87 100644 --- a/recipes/Pancakes.tex +++ b/recipes/Pancakes.tex @@ -21,9 +21,9 @@ \cutext{2}{TL} Vanilla extract 1 Large egg \method - Add wet ingredients to dry + Add wet ingredients to dry and do not over mix. - Whisk out lumps and set aside to rest for \cutext{3}{min}. + Whisk out lumps and set aside to rest for \cutext{5}{min}. Cook! \end{step} \ No newline at end of file diff --git a/recipes/TollHouseCCC.tex b/recipes/TollHouseCCC.tex index e569ac5..c6c863e 100644 --- a/recipes/TollHouseCCC.tex +++ b/recipes/TollHouseCCC.tex @@ -1,40 +1,41 @@ -\recipe[Cookies can be stored in the fridge for up to a week and in the freezer for up to 8 weeks.]{Toll House Chocolate Chip Cookies}[Preheat the oven to \cunum{375}{F}] -\serves{30} +\recipe[Cookies can be stored in the fridge for up to a week and in the freezer for up to 8 weeks.]{Toll House Chocolate Chip Cookies}[Preheat the oven to \cunum{350}{F}] +\serves{30/\textcolor{orange}{15}} \preptime{\cutext{15}{min}} \cooktime{\cutext{10}{min}} \dishtype{\glutenfree} % options: vegetarian, glutenfree, freeze, mealprep -\dishother{\mealprep} % if you need more than one of the dish types? puts it in the other corner + \begin{step} - \cutext{2_1/4}{cup} All-purpose flour - \cutext{1}{TL} Salt - \cutext{1}{TL} Baking soda + \cutext{2_1/4}{cup} All-purpose flour\\\textcolor{orange}{\cunum{1/2}{cup} \plus \cunum{2}{EL}} + \cutext{1}{TL} Salt \hspace{1em}\textcolor{orange}{\cunum{1/2}{TL}} + \cutext{1}{TL} Baking soda\hspace{1em}\textcolor{orange}{\cunum{1/2}{TL}} \method - Combine in small bowl. + Combine in small bowl and set aside. \end{step} \begin{step} - \cutext{1}{cup} Butter - \cutext{3/4}{cup} White sugar - \cutext{3/4}{cup} Packed brown sugar + \cutext{1}{cup}/2 sticks Butter, softened\\\textcolor{orange}{1 stick} + \cutext{3/4}{cup} Granulated sugar\hspace{1em}\textcolor{orange}{\cunum{6}{EL}} + \cutext{3/4}{cup} Packed brown sugar\hspace{1em}\textcolor{orange}{\cunum{6}{EL}} + \cutext{1}{TL} Vanilla extract\hspace{1em}\textcolor{orange}{\cunum{1/2}{TL}} \method Beat butter, white sugar, brown sugar, and vanilla in a large mixing bowl until creamy. \end{step} \begin{step} - 2 Eggs % \cuam no worky :( + 2 Eggs\hspace{1em}\textcolor{orange}{1} % \cuam no worky :( \method Add eggs, one at a time, beating well after each addition. - Gradually beat in flour mixture. + Gradually beat in flour mixture from step 1. \end{step} \begin{step} - \cutext{2}{cup} Semisweet chocolate chips + \cutext{2}{cup} Semisweet chocolate chips\\\textcolor{orange}{\cunum{1}{cup}} \method Stir in chocolate chips. Drop by rounded tablespoon onto ungreased baking sheets. - Bake in preheated oven until golden brown, \cunum{10--12}{min}. + Bake in preheated oven until golden brown, \cutext{10--12}{min}. \end{step} \ No newline at end of file diff --git a/render.sh b/render.sh index 76cc325..bfed5a4 100755 --- a/render.sh +++ b/render.sh @@ -1,21 +1,29 @@ #!/bin/bash - 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. +# 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 +printf "\n-_-_-_-_-_-_-_-_- Main -_-_-_-_-_-_-_-_-\n" 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 -echo -echo -_-_-_-_-_-_-_-_- Booklet -_-_-_-_-_-_-_-_- -echo + +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 + +#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 + +#printf "\n-_-_-_-_-_-_-_-_- Meme -_-_-_-_-_-_-_-_-\n" +#cd meme +#lualatex -file-line-error -interaction nonstopmode -draftmode -shell-escape -jobname=Meme main.tex +#lualatex -file-line-error -interaction nonstopmode -shell-escape -jobname=Meme main.tex +#rm *.aux *.out *.log *.toc +#mv -v -t /home/david/fileshare/LaTeX/Recipes Meme.pdf +#cd .. + rm *.aux *.out *.log *.toc -mv -v Recipes.pdf /home/david/fileshare/LaTeX/Recipes -mv -v Recipes-book.pdf /home/david/fileshare/LaTeX/Recipes/Recipes-booklet.pdf +mv -v -t /home/david/fileshare/LaTeX/Recipes Recipes.pdf "Meal Planner.pdf" Recipes-book.pdf \ No newline at end of file