From 653ee7d495e0b0935955efc14d4ddd15605bfbe9 Mon Sep 17 00:00:00 2001 From: Anna Schumaker Date: Mon, 27 Jun 2016 09:36:24 -0400 Subject: [PATCH] Convert Baked Peppers and Onions recipe to TeX And add it in the Plants section. Signed-off-by: Anna Schumaker --- Makefile | 2 +- plants/0_title.tex | 7 ++++++ plants/Makefile | 11 +++++++++ plants/baked_peppers_and_onions.tex | 38 +++++++++++++++++++++++++++++ 4 files changed, 57 insertions(+), 1 deletion(-) create mode 100644 plants/0_title.tex create mode 100644 plants/Makefile create mode 100644 plants/baked_peppers_and_onions.tex diff --git a/Makefile b/Makefile index 9fd6c1b..3d71212 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ -dirs := breakfast grains animals +dirs := breakfast grains animals plants pdfs := $(foreach dir, $(dirs), $(dir)/$(dir).pdf) all: diff --git a/plants/0_title.tex b/plants/0_title.tex new file mode 100644 index 0000000..6e15662 --- /dev/null +++ b/plants/0_title.tex @@ -0,0 +1,7 @@ +% +% Copyright 2016 (c) Anna Schumaker. +% +\documentclass{../titlepage} +\begin{document} +\setTitle{Plants} +\end{document} diff --git a/plants/Makefile b/plants/Makefile new file mode 100644 index 0000000..c3c417c --- /dev/null +++ b/plants/Makefile @@ -0,0 +1,11 @@ + +SOURCES = $(sort $(wildcard *.tex)) +OBJECTS = $(patsubst %.tex, %.pdf, $(SOURCES)) + +all: + latexmk -pdf $(SOURCES) + pdfjoin -o plants.pdf $(OBJECTS) + +clean: + latexmk -C + rm plants.pdf diff --git a/plants/baked_peppers_and_onions.tex b/plants/baked_peppers_and_onions.tex new file mode 100644 index 0000000..eb95cd5 --- /dev/null +++ b/plants/baked_peppers_and_onions.tex @@ -0,0 +1,38 @@ +% +% Copyright 2016 (c) Anna Schumaker. +% +\documentclass{../recipe} + +\recipeName{Baked Peppers and Onions} +\recipeServes{5} +\recipeServingSize{1\twothirds cups} +\recipeSourceBook{The Everything Vegetarian Cookbook}{213} + +\begin{document} +\begin{ingredients} +\addIngredientName{Cooking spray} +\addIngredient{2 medium}{green bell peppers} +\addIngredient{2 medium}{red bell peppers} +\addIngredient{4 medium}{red potatoes} +\addIngredient{1 large}{yellow onion, peeled} +\addIngredient{\third cup}{extra-virgin olive oil} +\addIngredientName{Ground black pepper} +\end{ingredients} + +\begin{steps} +\addStep{Coat a \textbf{13 x 9 -- inch} baking dish with + \ingredient{cooking spray} and preheat oven to \textbf{\ftemp{425}}.} +\addStep{Cut \ingredient{peppers}, \ingredient{potatoes}, and + \ingredient{onion} into \textbf{1 -- 2 inch}. Mix together and place + in the baking dish.} +\addStep{Pour the \ingredient{olive oil} over the \ingredient{vegetables} + and generously season with \ingredient{black pepper}.} +\addStep{Bake for \textbf{30 minutes}, or until potatoes are tender.} +\end{steps} + +\addSuggestion{Side}{Rice} + +\addReheating{Bake \textbf{1\twothirds cups} + \ingredient{Baked Peppers and Onion} at \textbf{\ftemp{425}} for + \textbf{20 minutes}.} +\end{document}