#+TITLE: Beans and Rice
# Default to ":tangle yes", which means include the source block in
# the generated code. This can always be overridden for any given block.
#+PROPERTY: header-args    :tangle (recipe-tangle-for 'core)

* First things First

You can make source blocks with ~C-c C-,~, then ~s~.

LaTeX files begin with a preamble, so we're going to want to include
that. A basic one might look like this:

#+begin_src tex
  % start with the "article" class, b/c there's no "recipe" class, and
  % you've got to start somewhere
  \documentclass[oneside, 12pt]{article}
  % define the canvas
  \usepackage[letterpaper, margin=1in]{geometry}
#+end_src

* The Document

So, now we can start the document. "Environments" in LaTeX start with ~\begin{name}~
and end with ~\end{name}~, so don't forget to do the end part at the end.
To help with that, it seems useful to have a "start" section here at the
beginning, to cry out for the symmetrical "end" on the other side.

** Start

#+begin_src tex
  \begin{document}
#+end_src

** A Very Human Preamble

#+begin_src tex :tangle (recipe-tangle-for 'fluff)
  "What a story, Mark!" I laughed, my friend having just told me
  a story, harrowing but short, and strangely lacking in detail,
  of a woman who, her indiscretions having been discovered by one
  of her many illicit lovers, was savagely beaten by said lover.
  Anyway, I didn't have to worry about anything like that. I knew
  Lisa was loyal, even though she had falsely claimed that I
  assaulted her. But I did not hit her, it's not true. It's bullshit.
  I did not hit her. I did not.

  Thoughts and doubts swirling, I sat on my steel patio chair on the
  roof in the smog and started thinking about my favorite rice and beans
  recipe. Boy do I love rice and beans, and I'm sure you do too.

  Here's my favorite rice and beans recipe, for those days when you
  just don't know what's going on.
#+end_src


** Ingredients

Rice and beans is a classic, complex dish, comprising rice and beans.

#+begin_src tex
  \section*{Ingredients}
  \begin{itemize}
    \item Beans
    \item Rice
  \end{itemize}
#+end_src

** Method

When making rice and beans, it is critical that you cook the beans
and the rice.

#+begin_src tex
  \section*{Method}
  \begin{enumerate}
    \item Cook beans
    \item Cook rice
    \item Add beans to rice
  \end{enumerate}
#+end_src

** End

#+begin_src tex
  \end{document}
#+end_src
