diff --git a/recipes/banans.md b/recipes/banans.md new file mode 100644 index 0000000..21838b1 --- /dev/null +++ b/recipes/banans.md @@ -0,0 +1,35 @@ +--- +author: Jacques Pepin +foodname: Banans Nut Sweetbreads +prelim: + - Begin by preheating the oven to 350 $^o$F + - allow nuts to reach room temp + - allow eggs to reaach room temp + - allow butter to reach room temp +ingredient: + - 1/2 cup unsalted butter (room temp) + - 1 cup sugar + - 3 large eggs room temp + - 1 1/2 cup all purpose flour + - 1 teaspoon baking soda + - 1/2 teaspoon baking powder + - 1 teaspoon salt + - 1 cup of banana (mashed in) + - 1/2 cup of sour cream + - 1/2 cup walnuts or pecans + - 1 teaspoon vanilla + - 1/2 small brain +--- + + +In a large bowl, mix together cream, butter, and sugar at medium speed. Add in eggs one at a time until well incorporated. Add in brains 1 lobe at a time and beat vigorously. +\medskip + +In two sperate bowls, sift, and then mix the remaining dry ingredients in one bowl, and all the remaining wet ingredients into the other. +\medskip +Begin mixing contents from dry and wet bowls into the butter and sugar mixture. Make sure to alternate starting with contents from the bowl containing dry ingredients. Do not over-mix. Fold in nuts. + +\medskip + +Place dough in a buttered, 9x5 loaf pan and bake for 1-1.25 hours. + diff --git a/recipes/banans.md.pdf b/recipes/banans.md.pdf new file mode 100644 index 0000000..30e9a09 Binary files /dev/null and b/recipes/banans.md.pdf differ diff --git a/recipes/compile b/recipes/compile new file mode 100755 index 0000000..0b1bf4a --- /dev/null +++ b/recipes/compile @@ -0,0 +1,3 @@ +#!/bin/bash +pandoc -s --template="recipe.tex" -o banans.md.pdf banans.md +# adapt to process each markdown file into a standalone pdf recipe page by using $1 in script, and find to run script on each? diff --git a/recipes/recipe.tex b/recipes/recipe.tex new file mode 100644 index 0000000..f7826a5 --- /dev/null +++ b/recipes/recipe.tex @@ -0,0 +1,77 @@ +% Template from https://www.sharelatex.com/templates/other/recipe +% Adapted for use with Pandoc by biglysmalls (somewhere in the tildeverse) +% for inclusion into: https://tildegit.org/biglysmalls/TildePublishingUnlimited +% +% Neither the arranger, nor the tildeverse claims ownership over this template nor the +% example recipe included here. +% This template is provided as an instructive example and comes with no warranty whatsoever. +% + +\documentclass{article} +\usepackage{fancyhdr} % Required for custom headers +\usepackage{lastpage} % Required to determine the last page for the footer +\usepackage{extramarks} % Required for headers and footers +\usepackage{graphicx} % Required to insert images +%\usepackage{lipsum} % Used for inserting dummy 'Lorem ipsum' text into the template +\usepackage{amsmath} +%\usepackage{amsfont} +%\usepackage{amssymb} + +\usepackage{multicol} +% Margins +\topmargin=-0.5in +\evensidemargin=0in +\oddsidemargin=-0.5in +\textwidth=7.5in +\textheight=9.0in +\headsep=0.25in + + +\pagestyle{fancy} + +\rhead{$author$} % Top right header +\lhead{$foodname$} +\chead{ } +%\title{} + +\begin{document}% see the YAML block at the head of the markdown recipe file. Note the text for preheating the oven. For Centigrade, replace the F with C. +PRELIMINARIES: + +$if(prelim)$\begin{itemize} + $for(prelim)$ + \item $prelim$\\$sep$ + $endfor$ +\end{itemize} + $endif$ + +\bigskip + +\bigskip + +\begin{multicols}{2} + Ingredients% Ingredient amounts given in Imperial measurements for this example. Metric system measurements can be entered in the yaml block just as well. + +$if(ingredient)$ +\begin{itemize} +$for(ingredient)$ +\item $ingredient$\\$sep$ +$endfor$% + +\end{itemize} +$endif$ + +\columnbreak +Procedure + + +$body$ + + +\end{multicols} + + + +%I suppose pictures could go here + + +\end{document}