From 8efa4fb4247af5fa2fa4315768ae3c666c5c8115 Mon Sep 17 00:00:00 2001 From: Cedric Date: Fri, 3 Jan 2025 22:56:54 +0000 Subject: [PATCH 01/14] Move mixing seed from troubleshooting to mix-ins This was written way before the mix-ins sections, made sense back then but not so much anymore so moving it out. formatted text and added centering, labels etc while at it. --- book/mix-ins/mix-ins.tex | 98 ++++++++++++++++++++++++----------- book/troubleshooting/misc.tex | 19 +------ 2 files changed, 68 insertions(+), 49 deletions(-) diff --git a/book/mix-ins/mix-ins.tex b/book/mix-ins/mix-ins.tex index 0c99e67..c04bdbd 100644 --- a/book/mix-ins/mix-ins.tex +++ b/book/mix-ins/mix-ins.tex @@ -8,6 +8,7 @@ \end{quoting} \begin{figure}[htb!] + \centering \includegraphics[width=\textwidth]{pumpkin-sourdough} \caption[Pumpkin sourdough softbuns]{These soft pull-apart sourdough buns have been made with the addition of pumpkin purée. The mashed pumpkin @@ -23,6 +24,7 @@ to express yourself. \section{Categories} \begin{figure}[htb!] + \centering \includegraphics[width=\textwidth]{pumpkin-on-flour} \caption[Pumpkin puré]{A common mix-in technique is to replace some of the dough's water with another liquid. In this case, puréd pumpkin replaced @@ -64,10 +66,12 @@ Many of the above-listed mix-ins can't be pinpointed to a single category. They change multiple aspects of the final bread at the same time. \begin{figure}[htb!] + \centering \includegraphics[width=\textwidth]{seeded-sourdough} \caption[Seeded sourdough]{In this case a combination of flax, sunflower and sesame was added to the dough. The seeds will slightly dehydrate the dough - during fermentation and thus adding a bit more water (\qtyrange{1}{2}{\percent}) is advised.}% + during fermentation and thus adding a bit more water + (\qtyrange{1}{2}{\percent}) is advised.}% \end{figure} Mix-ins affect the structure of the dough. One aspect is the impact on @@ -97,6 +101,7 @@ regular bread flour. Different flours change the taste of the bread and usually moderately affect the color. \begin{figure}[htb!] + \centering \includegraphics[width=\textwidth]{broa} \caption[Broa de milho]{Broa de milho is a traditional Portuguese bread made out of half rye and half corn flour.}% @@ -120,9 +125,11 @@ Instead of using water, you can substitute it with a different liquid, affecting taste and texture. \begin{figure}[htb!] + \centering \includegraphics[width=\textwidth]{beer-bread} - \caption[Stout beer bread]{Dark hearty stouts work excellently as a water replacement - when making sourdough bread. The resulting loaf features a hearty malty taste}% + \caption[Stout beer bread]{Dark hearty stouts work excellently as a water + replacement when making sourdough bread. The resulting loaf features a + hearty malty taste}% \end{figure} \begin{itemize} @@ -166,12 +173,14 @@ seeds benefit from being boiled for about 10~minutes before adding them to the dough. \begin{figure}[htb!] + \centering \includegraphics[width=\textwidth]{stollen-close-up} \caption[Stollen closeup]{The Stollen is a traditional German sweet Christmas - bread featuring a variety of mix-ins. The dough typically contains candied lemon, - candied orange, and raisins. The mix-ins are soaked in rum before being added to - the dough. While the stollen matures after baking (up to \num{6} months) the candied ingredients release - their aroma to the baked product.}% + bread featuring a variety of mix-ins. The dough typically contains candied + lemon, candied orange, and raisins. The mix-ins are soaked in rum before + being added to the dough. While the stollen matures after baking (up to + \num{6} months) the candied ingredients release their aroma to the baked + product.}% \end{figure} \begin{itemize} @@ -190,11 +199,13 @@ dough. \begin{figure}[htb!] + \centering \includegraphics[width=\textwidth]{seeds-bread} - \caption[Whole-rye with rye berries]{A sourdough bread made with half whole-rye flour and half rye berries. The - berries are typically boiled for 10~minutes to allow them to soften a bit. When baking a loaf - it is advised to use a thermometer to measure whether it is done baking. The final bread - features a hearty tangy flavor and has a moist crumb.}% + \caption[Whole-rye with rye berries]{A sourdough bread made with half + whole-rye flour and half rye berries. The berries are typically boiled + for 10~minutes to allow them to soften a bit. When baking a loaf it is + advised to use a thermometer to measure whether it is done baking. The + final bread features a hearty tangy flavor and has a moist crumb.}% \end{figure} \subsection{Spices and flavor mix-ins} @@ -248,40 +259,63 @@ A few combinations where multiple mix-ins complement each other: \section{Techniques} Adding mix-ins to the dough is just the simplest approach. Add the mix-ins -directly when you knead the dough. After the first kneading wait for 30 minutes to see -if the dough has enough or too much water. In the case of whole-soaked berries -(\eg~rye or wheat) chances are that the berries will release some water and make the dough -wetter. In this case, you will want to add a bit more flour to the dough to -compensate for the high hydration. +directly when you knead the dough. After the first kneading wait for 30 +minutes to see if the dough has enough or too much water. In the case of +whole-soaked berries (\eg~rye or wheat) chances are that the berries will +release some water and make the dough wetter. In this case, you will want to +add a bit more flour to the dough to compensate for the high hydration. + +\subsection[Incorporating seeds into the dough]{What is the best stage to +incorporate inclusions (seeds) into the dough?}% +\label{subec:incorporate-seeds} + +You can include seeds directly at the start when mixing the dough. If you use +whole seeds such as wheat or rye kernels, soak them in water overnight and +then rinse them before adding them to the dough. This makes sure that they are +not crunchy and are soft enough when eating the bread. If you forgot to soak +them you can cook the seeds for 10~minutes in hot water. Rinse them with cold +water before adding them to your dough. + +If you want to sweeten the dough, your best option is to add sugar during the +shaping stage. Sugar added too early in the process typically gets fermented +until none of it remains. Adjust your shaping technique a little bit and +spread your sugar mixture over a flattened-out dough. You can then roll the +dough together, incorporating layers of sugar. \subsection{Adding before shaping} \begin{figure}[htb!] + \centering \includegraphics[width=\textwidth]{apple-swirl} \caption[Apple swirl buns]{A great technique is to add some of your mix-ins - directly before shaping. In this case, a mixture of apples, cinnamon and brown - sugar was applied. Proceed and roll the dough together. Afterward cut the roll - into smaller pieces using a sharp knife, dough scraper or dental floss. Place - each piece of dough next to each other in a greased bowl to allow them to be proofed. - Proceed and bake as you would normally do. The benefit of this technique is that - the mix-ins will not be fermented. This is typically required in the case of sugar - since you want the final baked goods to feature sweetness. If included upon - initial mixing most of the sugar would be fermented and the bread would not taste sweet.}% + directly before shaping. In this case, a mixture of apples, cinnamon and + brown sugar was applied. Proceed and roll the dough together. Afterward + cut the roll into smaller pieces using a sharp knife, dough scraper or + dental floss. Place each piece of dough next to each other in a greased + bowl to allow them to be proofed. Proceed and bake as you would + normally do. The benefit of this technique is that the mix-ins will not + be fermented. This is typically required in the case of sugar since you + want the final baked goods to feature sweetness. If included upon + initial mixing most of the sugar would be fermented and the bread would + not taste sweet.}% + \label{fig:apple-swirl} \end{figure} Another approach is to lay the dough out flat after the bulk fermentation. Then using a spatula spread your ingredient over the flat dough. Continue with your regular shaping and/or roll up the dough. When creating a roll you can use a sharp knife to cut the dough, dental floss works great too. Afterward, -place the tiny swirls in a container to let them proof and become fluffier. This is an -excellent way to add sweet mixins as the microbes will not ferment them. When -adding sugar to the initial dough it will be fermented and the resulting dough -will not taste sweet (depending on the fermentation duration). This approach -is excellent for garlic/cheese rolls, garlic/herb rolls, and cinnamon rolls +place the tiny swirls in a container to let them proof and become fluffier. +This is an excellent way to add sweet mix-ins as the microbes will not ferment +them. When adding sugar to the initial dough it will be fermented and the +resulting dough will not taste sweet (depending on the fermentation duration). +This approach is excellent for garlic/cheese rolls, garlic/herb rolls, and +cinnamon rolls \subsection{Covering the surface} \begin{figure}[htb!] + \centering \includegraphics[width=\textwidth]{surface-seeds} \caption[Surface seeds]{These are chop buns which are created by chopping up a retarded dough into smaller pieces before baking. Then each piece of @@ -290,6 +324,7 @@ is excellent for garlic/cheese rolls, garlic/herb rolls, and cinnamon rolls coverings add superb additional flavor and can be adjusted depending on your preference. I love adding a mixture of sunflower, flax, and sesame seeds.}% + \label{fig:surface-seeds} \end{figure} This works best for either powders or small bits. After shaping wrap your @@ -299,8 +334,9 @@ these coverings also help to make the container stick less. Another approach commonly used with buns is to wet the surface or dump the dough in water. Afterward, dip the wetted piece of dough into your bowl of -mixins. This does not work for all mix-ins, as some can't handle the high temperatures -during baking and char. Most commonly done with seeds (\eg~sesame, oats, flax-seed). +mix-ins. This does not work for all mix-ins, as some can't handle the high +temperatures during baking and char. Most commonly done with seeds +(\eg~sesame, oats, flax-seed). \subsection{Swirled colors} Mix-ins that change the color of the dough bring the opportunity for even more diff --git a/book/troubleshooting/misc.tex b/book/troubleshooting/misc.tex index bee749c..15a3445 100644 --- a/book/troubleshooting/misc.tex +++ b/book/troubleshooting/misc.tex @@ -188,7 +188,7 @@ protecting your sourdough starter from aerobic mold entering through the top. \begin{figure}[!htb] -\centering + \centering \includegraphics[width=0.5\textwidth]{sourdough-starter-hooch} \caption[Hooch] {Hooch building on top of a sourdough starter~\cite{liquid+on+starter}.}% @@ -763,20 +763,3 @@ is concentrated extracted gluten from wheat flour. I~recommend that you add around \qty{5}{\gram} of wheat gluten for every \qty{100}{\gram} of flour that you are using. - -\subsection[Incorporating seeds into the dough]{What's the best stage to -incorporate inclusions (seeds) into the dough?} - -You can include seeds directly at the start when mixing the dough. If you use -whole seeds such as wheat or rye kernels, soak them in water overnight and -then rinse them before adding them to the dough. This makes sure that they -are not crunchy and are soft enough when eating the bread. If you forgot to soak -them you can cook the seeds for 10~minutes in hot water. Rinse them with cold -water before adding them to your dough. - -If you want to sweeten the dough, your best option is to add sugar during the -shaping stage. Sugar added too early in the process typically gets fermented until none of it -remains. Adjust your shaping technique a little bit and spread your sugar -mixture over a flattened-out dough. You can then roll the dough together, -incorporating layers of sugar. - From 54461ec45e72a5609fe3b0b82a00ba023ae3c644 Mon Sep 17 00:00:00 2001 From: Cedric Date: Fri, 3 Jan 2025 08:25:12 +0000 Subject: [PATCH 02/14] Fix makefile standalone flowchart png generation --- book/figures/vars.tex | 1 + book/makefile | 7 +++---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/book/figures/vars.tex b/book/figures/vars.tex index b4bc120..d87e959 100644 --- a/book/figures/vars.tex +++ b/book/figures/vars.tex @@ -1,5 +1,6 @@ \documentclass[tikz]{standalone} \usepackage{tikz} +\usepackage{pgfplots} \usepackage[mode=match, reset-text-family=false]{siunitx} \DeclareSIUnit\degF{\text{°}F} \input{flowcharts_tikz.tex} diff --git a/book/makefile b/book/makefile index 788fa6f..57bfa2a 100644 --- a/book/makefile +++ b/book/makefile @@ -90,11 +90,10 @@ tgt_figures := $(patsubst %.tex, %.png,$(src_figures)) # TODO: check if it works on github CI %.png: %.tex - @echo "\input{./vars.tex}" > $@.in - # \b is backspace.. - @echo "\\\begin{document}" >> $@.in + @printf '%s\n' "\input{./vars.tex}" > $@.in + @printf '%s\n' "\begin{document}" >> $@.in @cat $< >> $@.in - @echo "\\\end{document}" >> $@.in + @printf '%s\n' "\end{document}" >> $@.in $(LATEX) $@.in figures/export_figures.sh $@.pdf From 127ca9423eb6cbca75e3e16529789b98e410bfd5 Mon Sep 17 00:00:00 2001 From: Cedric Date: Thu, 9 Jan 2025 21:04:40 +0000 Subject: [PATCH 03/14] Enable standalone chemical figures generation --- book/figures/vars.tex | 1 + 1 file changed, 1 insertion(+) diff --git a/book/figures/vars.tex b/book/figures/vars.tex index d87e959..e9555ff 100644 --- a/book/figures/vars.tex +++ b/book/figures/vars.tex @@ -1,6 +1,7 @@ \documentclass[tikz]{standalone} \usepackage{tikz} \usepackage{pgfplots} +\usepackage{chemfig} \usepackage[mode=match, reset-text-family=false]{siunitx} \DeclareSIUnit\degF{\text{°}F} \input{flowcharts_tikz.tex} From a87cc723a64700be7cd022785ad78902a7ec8a95 Mon Sep 17 00:00:00 2001 From: Cedric Date: Thu, 9 Jan 2025 21:18:02 +0000 Subject: [PATCH 04/14] Enable abbreviations in standalone flowcharts Spun the file out for inclusion basically... we want to be able to use \eg in flowcharts even when built standalone. Fixed dependencies in makefile as well --- book/abbreviations.tex | 4 ++++ book/figures/vars.tex | 1 + book/makefile | 4 ++-- book/sourdough.sty | 4 +--- 4 files changed, 8 insertions(+), 5 deletions(-) create mode 100644 book/abbreviations.tex diff --git a/book/abbreviations.tex b/book/abbreviations.tex new file mode 100644 index 0000000..0cf5d34 --- /dev/null +++ b/book/abbreviations.tex @@ -0,0 +1,4 @@ +% Common abbreviations +\newcommand{\ie}{\emph{i.e.}\@ifnextchar.{\!\@gobble}{}} +\newcommand{\eg}{\emph{e.g.}\@ifnextchar.{\!\@gobble}{}} +\newcommand{\etc}{etc\@ifnextchar.{}{.\@}} diff --git a/book/figures/vars.tex b/book/figures/vars.tex index e9555ff..1f9c012 100644 --- a/book/figures/vars.tex +++ b/book/figures/vars.tex @@ -6,3 +6,4 @@ \DeclareSIUnit\degF{\text{°}F} \input{flowcharts_tikz.tex} \input{../colors.tex} +\input{../abbreviations.tex} diff --git a/book/makefile b/book/makefile index 57bfa2a..80ef205 100644 --- a/book/makefile +++ b/book/makefile @@ -35,13 +35,13 @@ chapters = baking basics bread-types cover flour-types history intro mix-ins\ src_tables := $(wildcard tables/table-*.tex) src_figures := $(wildcard figures/fig-*.tex) figures/flowcharts_tikz.tex -src_figures += $(wildcard plots/fig-*.tex) +src_figures += $(wildcard plots/fig-*.tex) abbreviations.tex colors.tex src_recipes := $(wildcard recipes/*.tex) src_plots := $(wildcard plots/*.table) src_tex := $(foreach directory, $(chapters), $(wildcard $(directory)/*.tex)) src_tex += book.tex book_sans_serif.tex references.bib figures/vars.tex -src_tex += supporters.csv sourdough.sty colors.tex +src_tex += supporters.csv sourdough.sty colors.tex abbreviations.tex src_tex += $(src_recipes) images := $(wildcard images/*/*.jpg) diff --git a/book/sourdough.sty b/book/sourdough.sty index 370e706..fe2f1ca 100644 --- a/book/sourdough.sty +++ b/book/sourdough.sty @@ -34,9 +34,7 @@ \DeclareTOCStyleEntry[numwidth=3em]{tocline}{table} % Common abbreviations -\newcommand{\ie}{\emph{i.e.}\@ifnextchar.{\!\@gobble}{}} -\newcommand{\eg}{\emph{e.g.}\@ifnextchar.{\!\@gobble}{}} -\newcommand{\etc}{etc\@ifnextchar.{}{.\@}} +\input{abbreviations.tex} % Consistent pH values \newcommand{\pHvalue}[1]{pH~\SI{#1}{}} From bf6a319e8f7bfa54be5738922fa978062761536e Mon Sep 17 00:00:00 2001 From: Ramin Kamal <21167874+ramink@users.noreply.github.com> Date: Sat, 4 Jan 2025 14:08:56 -0800 Subject: [PATCH 05/14] Chang arrowheads to be cleaner LaTex style. Update flowcharts_tikz.tex to use arrows.meta instead of arrows, which is not nice and deprecated. --- book/figures/flowcharts_tikz.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/figures/flowcharts_tikz.tex b/book/figures/flowcharts_tikz.tex index b452217..54540ea 100644 --- a/book/figures/flowcharts_tikz.tex +++ b/book/figures/flowcharts_tikz.tex @@ -1,5 +1,5 @@ \tikzstyle{every picture}+=[font=\footnotesize\sffamily] -\usetikzlibrary{calc, shapes, arrows, decorations.pathreplacing, calligraphy, +\usetikzlibrary{calc, shapes, arrows.meta, decorations.pathreplacing, calligraphy, positioning} \tikzstyle{decision} = [diamond, draw=codeblack, fill=codeblack, text=white, text width=4.5em, text badly centered, node distance=3cm, inner sep=0pt, From 1166f6d9250e4495ebb0297daaff19e23e9cac97 Mon Sep 17 00:00:00 2001 From: Ramin Kamal <21167874+ramink@users.noreply.github.com> Date: Mon, 6 Jan 2025 21:28:49 -0800 Subject: [PATCH 06/14] Update all flowchart arrows to LaTeX arrows - Change tikzstyle definition for "line" so that all flowchart arrows have the "Latex" styling. --- book/figures/fig-stiff-starter-conversion.tex | 2 +- book/figures/flowcharts_tikz.tex | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/book/figures/fig-stiff-starter-conversion.tex b/book/figures/fig-stiff-starter-conversion.tex index 6e4f549..c8d54a0 100644 --- a/book/figures/fig-stiff-starter-conversion.tex +++ b/book/figures/fig-stiff-starter-conversion.tex @@ -11,7 +11,7 @@ \path [line] (init) -- (feed_new_ratio); \path [line] (feed_again) -- (feed_new_ratio); \path [line] (next_day) -- (ready_signs); - \path [line] (ready_signs) -- node{no} (feed_again |- last_feed) |- (feed_again.south); + \path [line] (ready_signs) -- node{no} (feed_again |- last_feed) -| (feed_again.south); \path [line] (ready_signs) -- node{yes} (last_feed); \path [line] (last_feed) -- node{after \qtyrange{6}{12}{\hour}} (bread_dough); \path [line] (feed_new_ratio) -- (too_dry); diff --git a/book/figures/flowcharts_tikz.tex b/book/figures/flowcharts_tikz.tex index 54540ea..c68219f 100644 --- a/book/figures/flowcharts_tikz.tex +++ b/book/figures/flowcharts_tikz.tex @@ -19,7 +19,8 @@ \tikzstyle{fail} = [rectangle, draw=codeblack, fill=redpic, text=black, text width=5em, text centered, rounded corners, minimum height=4em, line width=0.4mm] -\tikzstyle{line} = [draw, -latex', thick, ->,>=to] +% The arrowed connector line between nodes +\tikzstyle{line} = [draw, thick, ->, >={Latex}] \tikzstyle{BC} = [decorate, % Brace Calligraphic decoration={calligraphic brace, amplitude=3mm, raise=1mm}, From 2afe5cff49c9770a1904999cea83b89b744bcdd5 Mon Sep 17 00:00:00 2001 From: Ramin Kamal <21167874+ramink@users.noreply.github.com> Date: Fri, 3 Jan 2025 08:26:06 +0000 Subject: [PATCH 07/14] Rearrange starter process flowchart - Added an extra state for clarity - Made it more compact - Added details section --- book/figures/fig-starter-process.tex | 28 ++++++++++++++++ book/mwe.tex | 49 ++++++++++++++++++++++++++++ 2 files changed, 77 insertions(+) create mode 100644 book/mwe.tex diff --git a/book/figures/fig-starter-process.tex b/book/figures/fig-starter-process.tex index 3eb529b..3fe0d6b 100644 --- a/book/figures/fig-starter-process.tex +++ b/book/figures/fig-starter-process.tex @@ -16,4 +16,32 @@ \path [line] (decide) -- node{no} (timeout); \path [line] (wait2) -- (feed); \path [line] (decide) -- node{yes} (use); + + \node [start, below of=discard, left of=discard] (start_n) { Start with Initial Mixture }; + \node [block, right of=start_n, node distance = 3.2cm] (wait_n) { Wait\\ \qty{24}{\hour} }; + \node [decision, right of=wait_n, node distance = 3.2cm] (readycheck_n) { Ready? }; + \node [block, below of=wait_n, node distance = 3cm] (feed_n) { Feed the Mixture }; + \node [decision, right of=feed_n, node distance = 3.2cm] (limitcheck_n) { Failed? }; + \node [fail, right of=limitcheck_n, node distance = 3.2cm] (abort_n) { Discard All, Start Over }; + \node [success, right of=readycheck_n, node distance = 3.2cm] (final_n) { Done }; + + \draw [line] (start_n) -- (wait_n); + \draw [line] (wait_n) -- (readycheck_n); + \draw [line] (feed_n) -- (wait_n); + \draw [line] (readycheck_n) -- node { No } (limitcheck_n); + \draw [line] (limitcheck_n) -- node (feedok_n) { No } (feed_n) ; + \draw [line] (limitcheck_n) -- node { Yes } (abort_n); + \draw [line] (readycheck_n) -- node { Yes } (final_n); + + \node [below of=feedok_n, node distance=2cm, align=left] (details2) [shape=rectangle,draw,fill=maingray]{ + For the \emph{Initial Mixture}, mix \qty{50}{\gram} flour/\qty{50}{\gram} water.\\ + The Mixture is \emph{Ready} when it has + \emph{grown}, has \emph{bubbles}, and \emph{smells} + vinegary/yoghurty. \\ + + The Mixture has \emph{Failed} when you + have fed it too many (\eg~10) times without success.\\ + + To \emph{Feed the Mixture}, discard all but \qty{10}{\gram}, mix in \qty{50}{\gram} flour and \qty{50}{\gram} water. + }; \end{tikzpicture} diff --git a/book/mwe.tex b/book/mwe.tex new file mode 100644 index 0000000..df44c1a --- /dev/null +++ b/book/mwe.tex @@ -0,0 +1,49 @@ +\documentclass[paper=a4, twoside=false, fontsize=12pt, parskip=half, + bibliography=totoc, listof=totoc]{scrbook} + +% General packages +\usepackage{pgfplots} +\usepackage{fontspec} +\usepackage[mode=match, reset-text-family=false]{siunitx} +\usepackage{fontspec} +\usepackage{calc} +\input{colors.tex} +% Define flowcharts macros independently so we can build them as png files +% for the website or something. This is supported in the makefile +\input{figures/flowcharts_tikz.tex} +% Fonts +\defaultfontfeatures{Scale=MatchLowercase, Ligatures=TeX} +% Define Semi-bold +\DeclareRobustCommand\sbseries{\fontseries{sb}\selectfont} +% Fonts for accessibility +\ifdefined\isaccessible + \setmainfont{Open Sans}[ + Scale=MatchLowercase] +\else + \setmainfont{TeX Gyre Pagella}[Scale=1.0] % Or Palatino Linotype, etc. + % TODO not available on github CI + % \setmonofont{Andale Mono}[Scale=MatchLowercase] +\fi +% Opens Sans in both case.. +\setsansfont{Open Sans}[ + Scale=MatchLowercase, + FontFace = {sb}{it}{* Semibold Italic}, + FontFace = {sb}{n}{*-semibold}] +\usepackage{layouts} + +\newcommand{\printsizes}{ + Width: \printinunitsof{in}\prntlen{\textwidth}in \\ + Height: \printinunitsof{in}\prntlen{\textheight}in +} + +\begin{document} +\begin{figure}[!htb] + \centering + \input{figures/fig-starter-process.tex} + \caption[Dough strength over time with kneading]{A schematic visualization + of gluten development in sourdoughs with different kneading techniques. + A combination of techniques can be utilized to achieve maximum dough + strength.}% + \label{fig:dough-strength-sourdough} +\end{figure} +\end{document} From 1ab7970708d27f165ac9c48cde2dfea1ff729880 Mon Sep 17 00:00:00 2001 From: Ramin Kamal <21167874+ramink@users.noreply.github.com> Date: Thu, 9 Jan 2025 15:45:54 -0800 Subject: [PATCH 08/14] Change "Repeat 3 times" elements to use "Latex" arrows --- book/figures/fig-liquid-starter-conversion.tex | 6 +++--- book/figures/fig-stiff-starter-conversion.tex | 5 +++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/book/figures/fig-liquid-starter-conversion.tex b/book/figures/fig-liquid-starter-conversion.tex index 2954897..37fff5a 100644 --- a/book/figures/fig-liquid-starter-conversion.tex +++ b/book/figures/fig-liquid-starter-conversion.tex @@ -11,7 +11,7 @@ \path [line] (ready_signs) -- node{no} (feed_again); \path [line] (ready_signs) -- node[above=2pt]{~yes} (last_feed); \path [line] (last_feed) -- node{after \qtyrange{6}{12}{\hour}} (bread_dough); - \draw [thick, ->] ($ (feed_again.north) +(0.7cm, 1cm)$) arc (-45:220:1cm); - \node [anchor=north, text width=5em] at ($(feed_again.north west)+(1.8cm, 2.3cm)$) {Repeat 3~times}; - + % TODO: find a better way to position the Repeat 3 times text and arrow. Hard-coded values are finicky and don't work well across media. + \draw [line] ($ (feed_again.north) +(0.7cm, 1cm)$) arc (-45:220:1cm); + \node [anchor=north, text width=5em] at ($(feed_again.north west)+(1.55cm, 2.2cm)$) {Repeat 3~times}; \end{tikzpicture} diff --git a/book/figures/fig-stiff-starter-conversion.tex b/book/figures/fig-stiff-starter-conversion.tex index c8d54a0..1a6d9ab 100644 --- a/book/figures/fig-stiff-starter-conversion.tex +++ b/book/figures/fig-stiff-starter-conversion.tex @@ -19,6 +19,7 @@ \path [line] (too_dry) -- node{no} (next_day); \path [line] (too_dry) -- node{yes} (add_water); \path [line] (ready_signs) -- node{yes} (last_feed); - \draw [thick, <-] ($ (feed_again.east) +(2.1cm, 0.7cm)$) arc (-45:220:1cm); - \node [anchor=north, text width=5em] at ($(feed_again.east)+(2cm, 2cm)$) {Repeat 3~times}; + % TODO: find a better way to position the Repeat 3 times text and arrow. Hard-coded values are finicky and don't work well across media. + \draw [line] ($ (feed_again.east) +(0.7cm, 0.9cm)$) arc (220:-45:1cm); + \node [anchor=north, text width=5em] at ($(feed_again.east)+(1.9cm, 2cm)$) {Repeat 3~times}; \end{tikzpicture} From ae7c7fda8f1ac970698e060c524b5af5b0e8bf1b Mon Sep 17 00:00:00 2001 From: Ramin Kamal <21167874+ramink@users.noreply.github.com> Date: Thu, 9 Jan 2025 15:46:48 -0800 Subject: [PATCH 09/14] Change plots to use "Latex" arrows for the axes --- book/plots/fig-temperature-ambient.tex | 1 + book/plots/fig-temperature-surface.tex | 1 + book/plots/fig-yeast-sourdough-strength.tex | 1 + 3 files changed, 3 insertions(+) diff --git a/book/plots/fig-temperature-ambient.tex b/book/plots/fig-temperature-ambient.tex index c3d876f..9ca4351 100644 --- a/book/plots/fig-temperature-ambient.tex +++ b/book/plots/fig-temperature-ambient.tex @@ -6,6 +6,7 @@ major grid style={line width=.2pt,draw=gray!30}, axis x line=middle, axis y line=middle, + axis line style={-Latex}, width=\textwidth, height=0.5\textwidth, xmax=35, xmin=-0.1, diff --git a/book/plots/fig-temperature-surface.tex b/book/plots/fig-temperature-surface.tex index 8ddaf9e..a0a2090 100644 --- a/book/plots/fig-temperature-surface.tex +++ b/book/plots/fig-temperature-surface.tex @@ -6,6 +6,7 @@ major grid style={line width=.2pt,draw=gray!30}, axis x line=middle, axis y line=middle, + axis line style={-Latex}, width=\textwidth, height=0.5\textwidth, xmax=35, xmin=-0.1, diff --git a/book/plots/fig-yeast-sourdough-strength.tex b/book/plots/fig-yeast-sourdough-strength.tex index defaa62..77c34a5 100644 --- a/book/plots/fig-yeast-sourdough-strength.tex +++ b/book/plots/fig-yeast-sourdough-strength.tex @@ -7,6 +7,7 @@ \qty{60}{\percent}~hydration}, axis x line=middle, axis y line=middle, + axis line style={-Latex}, width=\textwidth, height=0.5\textwidth, xmax=44, xmin=-0.1, From 3a1b247bc46f3734520644f9d71b1be4e4c14e3d Mon Sep 17 00:00:00 2001 From: Ced Date: Sat, 11 Jan 2025 10:23:22 +0000 Subject: [PATCH 10/14] Reworked flowchart as per discussions --- book/figures/fig-starter-process.tex | 53 ++++++++-------------------- 1 file changed, 14 insertions(+), 39 deletions(-) diff --git a/book/figures/fig-starter-process.tex b/book/figures/fig-starter-process.tex index 3fe0d6b..7a5312b 100644 --- a/book/figures/fig-starter-process.tex +++ b/book/figures/fig-starter-process.tex @@ -1,47 +1,22 @@ \begin{tikzpicture}[node distance = 3.5cm, auto] - \node [start] (init) {Mix \qty{50}{\gram} flour + \qty{50}{\gram} water, stir}; - \node [block, right of=init] (wait2) {Wait\\ \qty{24}{\hour}}; - \path [line] (init) -- (wait2); - \node [block, below of=wait2, node distance=3.5cm] (feed) {\qty{10}{\gram} of previous day + \qty{50}{\gram} water + \qty{50}{\gram} flour, stir}; - \path [line] (wait2) -- (feed); - \node [block, below of=feed] (discard) {Discard the rest}; - \path [line] (feed) -- (discard); - \node [decision, right of=feed, node distance=3.5cm] (decide) {Is good?}; - \node [decision, above of=decide, node distance=3.5cm] (timeout) {Less than 10 feeds?}; - \node [fail, right of=timeout, node distance=3.5cm] (discard2) {Batch failed}; - \path [line] (timeout) -- node{no} (discard2); - \path [line] (timeout) -- node{yes} (wait2); - \path [line] (feed) -- (decide); - \node [success, right of=decide, node distance=3.5cm] (use) {Ready to use}; - \path [line] (decide) -- node{no} (timeout); - \path [line] (wait2) -- (feed); - \path [line] (decide) -- node{yes} (use); - - \node [start, below of=discard, left of=discard] (start_n) { Start with Initial Mixture }; - \node [block, right of=start_n, node distance = 3.2cm] (wait_n) { Wait\\ \qty{24}{\hour} }; - \node [decision, right of=wait_n, node distance = 3.2cm] (readycheck_n) { Ready? }; - \node [block, below of=wait_n, node distance = 3cm] (feed_n) { Feed the Mixture }; - \node [decision, right of=feed_n, node distance = 3.2cm] (limitcheck_n) { Failed? }; - \node [fail, right of=limitcheck_n, node distance = 3.2cm] (abort_n) { Discard All, Start Over }; - \node [success, right of=readycheck_n, node distance = 3.2cm] (final_n) { Done }; + \node [start, below of=discard, left of=discard] (start_n) {Mix \qty{50}{\gram} flour + \qty{50}{\gram} water, stir}; + \node [block, right of=start_n, node distance = 3.5cm] (wait_n) {Wait\\ \qty{24}{\hour}}; + \node [decision, right of=wait_n, node distance = 3.5cm] (readycheck_n) {Ready?}; + \node [block, below of=wait_n, node distance = 3.2cm] (feed_n) {Feed the mixture }; + \node [decision, right of=feed_n, node distance = 3.5cm] (limitcheck_n) {>10 feeds?}; + \node [fail, right of=limitcheck_n, node distance = 3.5cm] (abort_n) {Discard all. Start over}; + \node [success, right of=readycheck_n, node distance = 3.5cm] (final_n) {Ready to use}; \draw [line] (start_n) -- (wait_n); \draw [line] (wait_n) -- (readycheck_n); \draw [line] (feed_n) -- (wait_n); - \draw [line] (readycheck_n) -- node { No } (limitcheck_n); - \draw [line] (limitcheck_n) -- node (feedok_n) { No } (feed_n) ; - \draw [line] (limitcheck_n) -- node { Yes } (abort_n); - \draw [line] (readycheck_n) -- node { Yes } (final_n); + \draw [line] (readycheck_n) -- node {No} (limitcheck_n); + \draw [line] (limitcheck_n) -- node (feedok_n) {No} (feed_n) ; + \draw [line] (limitcheck_n) -- node {Yes} (abort_n); + \draw [line] (readycheck_n) -- node {Yes} (final_n); - \node [below of=feedok_n, node distance=2cm, align=left] (details2) [shape=rectangle,draw,fill=maingray]{ - For the \emph{Initial Mixture}, mix \qty{50}{\gram} flour/\qty{50}{\gram} water.\\ - The Mixture is \emph{Ready} when it has - \emph{grown}, has \emph{bubbles}, and \emph{smells} - vinegary/yoghurty. \\ - - The Mixture has \emph{Failed} when you - have fed it too many (\eg~10) times without success.\\ - - To \emph{Feed the Mixture}, discard all but \qty{10}{\gram}, mix in \qty{50}{\gram} flour and \qty{50}{\gram} water. + \node [below of=feedok_n, node distance=2cm, align=left] (details2) [shape=rectangle, draw, fill=maingray]{% + \textbf{Ready}: Mixture has \emph{grown}, has \emph{bubbles}, and \emph{smells} vinegary/yoghurty. \\ + \textbf{Feed the mixture}: Discard all but \qty{10}{\gram}, mix in \qty{50}{\gram} flour and \qty{50}{\gram} water. }; \end{tikzpicture} From 3069b5ff7c5b8cd5650b85a51d50fd7b38203ab6 Mon Sep 17 00:00:00 2001 From: Ced Date: Sat, 11 Jan 2025 10:24:41 +0000 Subject: [PATCH 11/14] Remove the MWE from git was added for the debug branches but shall not go to main. --- book/mwe.tex | 49 ------------------------------------ website/_bundle_install_done | 0 2 files changed, 49 deletions(-) delete mode 100644 book/mwe.tex delete mode 100644 website/_bundle_install_done diff --git a/book/mwe.tex b/book/mwe.tex deleted file mode 100644 index df44c1a..0000000 --- a/book/mwe.tex +++ /dev/null @@ -1,49 +0,0 @@ -\documentclass[paper=a4, twoside=false, fontsize=12pt, parskip=half, - bibliography=totoc, listof=totoc]{scrbook} - -% General packages -\usepackage{pgfplots} -\usepackage{fontspec} -\usepackage[mode=match, reset-text-family=false]{siunitx} -\usepackage{fontspec} -\usepackage{calc} -\input{colors.tex} -% Define flowcharts macros independently so we can build them as png files -% for the website or something. This is supported in the makefile -\input{figures/flowcharts_tikz.tex} -% Fonts -\defaultfontfeatures{Scale=MatchLowercase, Ligatures=TeX} -% Define Semi-bold -\DeclareRobustCommand\sbseries{\fontseries{sb}\selectfont} -% Fonts for accessibility -\ifdefined\isaccessible - \setmainfont{Open Sans}[ - Scale=MatchLowercase] -\else - \setmainfont{TeX Gyre Pagella}[Scale=1.0] % Or Palatino Linotype, etc. - % TODO not available on github CI - % \setmonofont{Andale Mono}[Scale=MatchLowercase] -\fi -% Opens Sans in both case.. -\setsansfont{Open Sans}[ - Scale=MatchLowercase, - FontFace = {sb}{it}{* Semibold Italic}, - FontFace = {sb}{n}{*-semibold}] -\usepackage{layouts} - -\newcommand{\printsizes}{ - Width: \printinunitsof{in}\prntlen{\textwidth}in \\ - Height: \printinunitsof{in}\prntlen{\textheight}in -} - -\begin{document} -\begin{figure}[!htb] - \centering - \input{figures/fig-starter-process.tex} - \caption[Dough strength over time with kneading]{A schematic visualization - of gluten development in sourdoughs with different kneading techniques. - A combination of techniques can be utilized to achieve maximum dough - strength.}% - \label{fig:dough-strength-sourdough} -\end{figure} -\end{document} diff --git a/website/_bundle_install_done b/website/_bundle_install_done deleted file mode 100644 index e69de29..0000000 From fa157c350eb299f3efedaa8d08b093337e2ba340 Mon Sep 17 00:00:00 2001 From: Ced Date: Sat, 11 Jan 2025 10:29:13 +0000 Subject: [PATCH 12/14] Use uppercase in flowcharts conditions --- book/figures/fig-bulk-fermentation.tex | 4 +- book/figures/fig-compet.tex | 54 +++++++++++++++++++ book/figures/fig-dutch-oven-process.tex | 8 +-- book/figures/fig-kneading-process.tex | 12 ++--- .../figures/fig-liquid-starter-conversion.tex | 2 +- book/figures/fig-proofing-process.tex | 12 ++--- book/figures/fig-shaping-process.tex | 4 +- book/figures/fig-starter-maintenance.tex | 16 +++--- book/figures/fig-starter-readiness.tex | 10 ++-- book/figures/fig-stiff-starter-conversion.tex | 10 ++-- book/figures/fig-wheat-sourdough-process.tex | 4 +- 11 files changed, 95 insertions(+), 41 deletions(-) create mode 100644 book/figures/fig-compet.tex diff --git a/book/figures/fig-bulk-fermentation.tex b/book/figures/fig-bulk-fermentation.tex index 5eb0a45..b46dc73 100644 --- a/book/figures/fig-bulk-fermentation.tex +++ b/book/figures/fig-bulk-fermentation.tex @@ -20,10 +20,10 @@ % Same tricks not to get double lines and also we do _not_ want arrows \path [draw, thick] (ph_value) -- node{} ++(2, 0); \path [draw, thick] (smell) -| node{} ++(2, 4); - \path [line] (dough_ready) -- node{yes} (divide_preshape); + \path [line] (dough_ready) -- node{Yes} (divide_preshape); \path [line] (dough_ready) |- node[right=3pt]{no} (dough_flattened); \path [line] (dough_flattened) |- node[right=3pt]{yes} (stretch_fold); - \path [line] (dough_flattened) -- node{no} (wait_60_minutes); + \path [line] (dough_flattened) -- node{No} (wait_60_minutes); \path [line] (stretch_fold) -- (wait_60_minutes); \path [line] (wait_60_minutes) -- (check_dough); \end{tikzpicture} diff --git a/book/figures/fig-compet.tex b/book/figures/fig-compet.tex new file mode 100644 index 0000000..244a5c1 --- /dev/null +++ b/book/figures/fig-compet.tex @@ -0,0 +1,54 @@ +\begin{tikzpicture}[node distance=1cm] + +% Left Side: Antifungal metabolites +% Bacteria +\draw[thick, fill=gray!20] (-2, 2.5) ellipse (1.2cm and 0.5cm); +\node at (-2, 3.2) {Antifungal metabolites}; + +% Arrows for antifungal metabolites +\foreach \x in {-2.5, -2, -1.5} + \draw[thick, ->] (\x, 2) -- (\x, 1.2); + +% Antifungal metabolites (triangles) +\foreach \x in {-2.5, -2, -1.5} + \node[fill=red!80!black, regular polygon, regular polygon sides=3, draw, scale=0.7] at (\x, 1.2) {}; + +% Fungi (left) +\draw[thick, fill=gray!50] (-2, 0.5) circle (0.5cm); +\node at (-2, -0.2) {Fungi}; + +% Right Side: Nutrient Competition +% Bacteria +\draw[thick, fill=gray!20] (3, 2.5) ellipse (1.2cm and 0.5cm); +\node at (3, 3.2) {Competition for nutrients}; + +% Arrows for nutrients +\foreach \x in {2.5, 3, 3.5} + \draw[thick, <-] (\x, 2) -- (\x, 1.2); + +% Available nutrients (triangles) +\foreach \x in {2.5, 3, 3.5} + \node[fill=green!80!black, regular polygon, regular polygon sides=3, draw, scale=0.7, rotate=180] at (\x, 1.2) {}; + +% Fungi (right) +\draw[thick, fill=gray!50] (3, 0.5) circle (0.5cm); +\node at (3, -0.2) {Fungi}; + +% Legends +% Bacteria legend +\draw[thick, fill=gray!20] (-5.5, -2) ellipse (0.8cm and 0.3cm); +\node[anchor=west] at (-5, -2) {Bacteria}; + +% Fungi legend +\draw[thick, fill=gray!50] (-5.5, -3) circle (0.3cm); +\node[anchor=west] at (-5, -3) {Fungi}; + +% Antifungal metabolites legend +\node[fill=red!80!black, regular polygon, regular polygon sides=3, draw, scale=0.7] at (-5.5, -4) {}; +\node[anchor=west] at (-5, -4) {Antifungal metabolites}; + +% Available nutrients legend +\node[fill=green!80!black, regular polygon, regular polygon sides=3, draw, scale=0.7, rotate=180] at (-5.5, -5) {}; +\node[anchor=west] at (-5, -5) {Available nutrients}; + +\end{tikzpicture} diff --git a/book/figures/fig-dutch-oven-process.tex b/book/figures/fig-dutch-oven-process.tex index d4f0fff..1230fc9 100644 --- a/book/figures/fig-dutch-oven-process.tex +++ b/book/figures/fig-dutch-oven-process.tex @@ -22,11 +22,11 @@ \path [line] (close) -- (back_oven); \path [line] (back_oven) -- (bake); \path [line] (bake.west) -- node{} ++(-2, 0) -| (is_ready_check.north); - \path [line] (is_ready_check) -- node{yes} (remove_do_lid); - \path [line] (is_ready_check) -- node{no} (wait_5_minutes); + \path [line] (is_ready_check) -- node{Yes} (remove_do_lid); + \path [line] (is_ready_check) -- node{No} (wait_5_minutes); \path [line] (wait_5_minutes.west) -- node{} ++(-1.5, 0) |- (is_ready_check.west); \path [line] (remove_do_lid) -- (dark_enough_decision); - \path [line] (dark_enough_decision) -- node{yes} (finish_baking); - \path [line] (dark_enough_decision) -- node{no} (bake_5_more_minutes); + \path [line] (dark_enough_decision) -- node{Yes} (finish_baking); + \path [line] (dark_enough_decision) -- node{No} (bake_5_more_minutes); \path [line] (bake_5_more_minutes.east) -- node{} ++(1, 0) -- node{} ++(0, 2.3) -| (dark_enough_decision.north); \end{tikzpicture} diff --git a/book/figures/fig-kneading-process.tex b/book/figures/fig-kneading-process.tex index 4a48db3..9c768bb 100644 --- a/book/figures/fig-kneading-process.tex +++ b/book/figures/fig-kneading-process.tex @@ -8,18 +8,18 @@ \path [line] (knead) -- (wait2); \node [decision, below of=wait2, node distance=4cm] (windowpane_test) {Window-pane?}; \path [line] (wait2) -- (windowpane_test); - \path [line] (windowpane_test.east) -- node{no} ++(1, 0) -- node{} ++(0, 5.7) -| (knead.north); + \path [line] (windowpane_test.east) -- node{No} ++(1, 0) -- node{} ++(0, 5.7) -| (knead.north); \node [decision] at (windowpane_test -| knead) (more_water) {Bassinage for more water?}; - \path [line] (windowpane_test) -- node{yes} (more_water); + \path [line] (windowpane_test) -- node{Yes} (more_water); \node [block] at (wait1 |- more_water) (add_water) {Add water}; - \path [line] (more_water) -- node{yes} (add_water); + \path [line] (more_water) -- node{Yes} (add_water); \path [line] (add_water.north east) -- (knead.south west); \node [decision, below of=more_water, node distance=4.5cm] (dough_sample) {Aliquot sample?}; - \path [line] (more_water) -- node{no} (dough_sample); + \path [line] (more_water) -- node{No} (dough_sample); \node [block] at (dough_sample -| wait2) (dough_ball) {Make round dough ball}; - \path [line] (dough_sample) -- node{no} (dough_ball); + \path [line] (dough_sample) -- node{No} (dough_ball); \node [block, below of=dough_sample] (extract_sample) {Extract sample}; - \path [line] (dough_sample) -- node{yes} (extract_sample); + \path [line] (dough_sample) -- node{Yes} (extract_sample); \path [line] (extract_sample.north east) -- (dough_ball.south west); \node [success, below of=dough_ball] (begin_bulk) {Begin bulk fermentation}; \path [line] (dough_ball) -- (begin_bulk); diff --git a/book/figures/fig-liquid-starter-conversion.tex b/book/figures/fig-liquid-starter-conversion.tex index 37fff5a..d4ffb16 100644 --- a/book/figures/fig-liquid-starter-conversion.tex +++ b/book/figures/fig-liquid-starter-conversion.tex @@ -8,7 +8,7 @@ \path [line] (init) -- (feed_new_ratio); \path [line] (feed_new_ratio) -- node{Wait \qty{24}{\hour}} (ready_signs); \path [line] (feed_again) -- node[anchor=east] {} ++(2.2,0) |- (feed_new_ratio); - \path [line] (ready_signs) -- node{no} (feed_again); + \path [line] (ready_signs) -- node{No} (feed_again); \path [line] (ready_signs) -- node[above=2pt]{~yes} (last_feed); \path [line] (last_feed) -- node{after \qtyrange{6}{12}{\hour}} (bread_dough); % TODO: find a better way to position the Repeat 3 times text and arrow. Hard-coded values are finicky and don't work well across media. diff --git a/book/figures/fig-proofing-process.tex b/book/figures/fig-proofing-process.tex index 7303ab4..bca52a4 100644 --- a/book/figures/fig-proofing-process.tex +++ b/book/figures/fig-proofing-process.tex @@ -7,14 +7,14 @@ \node [success, right of=dent_visible_decision, node distance=4cm] (bake) {Score and bake}; \node [block] at (retard_bake_decision |- poke) (wait_retard) {Wait\\ 15~minutes}; \node [block] at (wait_retard |- bake) (retard) {Proof in fridge at \qty{4}{\degreeCelsius} (\qty{40}{\degF})}; - \path [line] (init) -- node{yes} (poke); - \path [line] (init) -- node{no} (retard_bake_decision); + \path [line] (init) -- node{Yes} (poke); + \path [line] (init) -- node{No} (retard_bake_decision); \path [line] (poke) -- (dent_visible_decision); - \path [line] (dent_visible_decision) -- node{yes} (bake); - \path [line] (dent_visible_decision.west) -- node{no} ++(-1.4, 0) -- node{} (wait_poke.south); + \path [line] (dent_visible_decision) -- node{Yes} (bake); + \path [line] (dent_visible_decision.west) -- node{No} ++(-1.4, 0) -- node{} (wait_poke.south); \path [line] (wait_poke) -- (poke); - \path [line] (retard_bake_decision) -- node{yes} (wait_retard); - \path [line] (retard_bake_decision.east) -- node{no} ++(1, 0) |- node{} (retard.east); + \path [line] (retard_bake_decision) -- node{Yes} (wait_retard); + \path [line] (retard_bake_decision.east) -- node{No} ++(1, 0) |- node{} (retard.east); \path [line] (wait_retard) -- (retard); \path [line] (retard) -- (bake); \end{tikzpicture} diff --git a/book/figures/fig-shaping-process.tex b/book/figures/fig-shaping-process.tex index 65f9658..4f88d30 100644 --- a/book/figures/fig-shaping-process.tex +++ b/book/figures/fig-shaping-process.tex @@ -8,8 +8,8 @@ \node [block, right of=flour] (banneton) {Place upside down in banneton}; \node [success, right of=banneton] (proof) {Begin proofing}; \path [line] (init) -- (overfermented_decision); - \path [line] (overfermented_decision) -- node{yes} (overfermented); - \path [line] (overfermented_decision) -- node{no} (shaping_technique); + \path [line] (overfermented_decision) -- node{Yes} (overfermented); + \path [line] (overfermented_decision) -- node{No} (shaping_technique); \path [line] (shaping_technique) -- (flour); \path [line] (flour) -- (banneton); \path [line] (banneton) -- (proof); diff --git a/book/figures/fig-starter-maintenance.tex b/book/figures/fig-starter-maintenance.tex index ac5eb4c..8f856fc 100644 --- a/book/figures/fig-starter-maintenance.tex +++ b/book/figures/fig-starter-maintenance.tex @@ -4,8 +4,8 @@ \path [line] (init) -- (all_starter_used); \node [block, right of=init, node distance=3cm] (use_dough) {Take \qty{10}{\gram} of your bread dough}; \node [block, right of=all_starter_used, node distance=3cm] (use_starter) {Take all but not more than \qty{10}{\gram} of your starter}; - \path [line] (all_starter_used) -- node{yes} (use_dough); - \path [line] (all_starter_used) -- node{no} (use_starter); + \path [line] (all_starter_used) -- node{Yes} (use_dough); + \path [line] (all_starter_used) -- node{No} (use_starter); \node [block, right of=use_dough, node distance=3cm] (feed_starter) {Feed using 1:5:5 ratio}; \path [line] (use_dough) -- (feed_starter); \path [line] (use_starter) -- (feed_starter); @@ -13,20 +13,20 @@ \path [line] (feed_starter) -- (bake_next_day_check); \node [success, right of=bake_next_day_check, node distance=3.5cm] (make_bread_dough) {Make bread dough again after \qtyrange{8}{12}{\hour}}; - \path [line] (bake_next_day_check) -- node{yes} (make_bread_dough); + \path [line] (bake_next_day_check) -- node{Yes} (make_bread_dough); \node [decision, right of=use_starter, node distance=3cm] (bake_next_week_check) {Baking in next 2 weeks?}; \node [block, right of=bake_next_week_check, node distance=3.5cm] (store_fridge) {Store starter in fridge at \qty{4}{\degreeCelsius} (\qty{40}{\degF})}; - \path [line] (bake_next_week_check) -- node{yes} (store_fridge); + \path [line] (bake_next_week_check) -- node{Yes} (store_fridge); \node [success, right of=store_fridge, node distance=3cm] (feed_after_fridge) {Feed again using 1:5:5 ratio \qtyrange{8}{12}{\hour} before making dough}; \path [line] (store_fridge) -- (feed_after_fridge); - \path [line] (bake_next_day_check) -- node{no} (bake_next_week_check); + \path [line] (bake_next_day_check) -- node{No} (bake_next_week_check); \node [decision, below of=use_starter, node distance=3cm] (freezer_check) {Have a freezer?}; \path [line] (bake_next_week_check) -- (store_fridge); - \path [line] (bake_next_week_check) -- node{no} (freezer_check); + \path [line] (bake_next_week_check) -- node{No} (freezer_check); \node [block, right of=freezer_check, node distance=3cm] (dry_starter) {Dry your starter}; \node [block, below of=dry_starter, node distance=3cm] (freeze_starter) {Freeze your starter}; - \path [line] (freezer_check) -- node{no} (dry_starter); - \path [line] (freezer_check) -- node{yes} (freeze_starter); + \path [line] (freezer_check) -- node{No} (dry_starter); + \path [line] (freezer_check) -- node{Yes} (freeze_starter); \node [success, right of=dry_starter, node distance=3.5cm] (reactivate_freezer) {Reactivate starter for 3 days with daily 1:5:5 feedings}; \path [line] (dry_starter) -- (reactivate_freezer); \path [line] (freeze_starter) -- (reactivate_freezer); diff --git a/book/figures/fig-starter-readiness.tex b/book/figures/fig-starter-readiness.tex index 50a6212..fa874fa 100644 --- a/book/figures/fig-starter-readiness.tex +++ b/book/figures/fig-starter-readiness.tex @@ -23,16 +23,16 @@ {Prepare dough}; \path [line] (init) -- (decision_start); - \path [line] (decision_start) -- node{no} (feed_no_branch); + \path [line] (decision_start) -- node{No} (feed_no_branch); \path [line] (decision_start) -- node[below=2pt]{yes} (feed_yes_branch.north west); \path [line] (feed_yes_branch) -- (low_ratio); \path [line] (feed_no_branch) -- (high_ratio); \path [line] (high_ratio) -- node[anchor=east, above=2pt] {} ++(2.2,0) |-(size_check); \path [line] (low_ratio) -- (size_check); - \path [line] (size_check) -- node{no} (feed_yes_branch.south east); - \path [line] (size_check) -- node{yes} (smell_check); - \path [line] (smell_check) -- node{no} (feed_yes_branch.south west); - \path [line] (smell_check) -- node{yes} (make_dough); + \path [line] (size_check) -- node{No} (feed_yes_branch.south east); + \path [line] (size_check) -- node{Yes} (smell_check); + \path [line] (smell_check) -- node{No} (feed_yes_branch.south west); + \path [line] (smell_check) -- node{Yes} (make_dough); % braces \draw[BC] (size_check.south) -- diff --git a/book/figures/fig-stiff-starter-conversion.tex b/book/figures/fig-stiff-starter-conversion.tex index 1a6d9ab..b37928d 100644 --- a/book/figures/fig-stiff-starter-conversion.tex +++ b/book/figures/fig-stiff-starter-conversion.tex @@ -11,14 +11,14 @@ \path [line] (init) -- (feed_new_ratio); \path [line] (feed_again) -- (feed_new_ratio); \path [line] (next_day) -- (ready_signs); - \path [line] (ready_signs) -- node{no} (feed_again |- last_feed) -| (feed_again.south); - \path [line] (ready_signs) -- node{yes} (last_feed); + \path [line] (ready_signs) -- node{No} (feed_again |- last_feed) -| (feed_again.south); + \path [line] (ready_signs) -- node{Yes} (last_feed); \path [line] (last_feed) -- node{after \qtyrange{6}{12}{\hour}} (bread_dough); \path [line] (feed_new_ratio) -- (too_dry); \path [line] (add_water.north) -- node{} ++(0, 1.3) -| (too_dry.north); - \path [line] (too_dry) -- node{no} (next_day); - \path [line] (too_dry) -- node{yes} (add_water); - \path [line] (ready_signs) -- node{yes} (last_feed); + \path [line] (too_dry) -- node{No} (next_day); + \path [line] (too_dry) -- node{Yes} (add_water); + \path [line] (ready_signs) -- node{Yes} (last_feed); % TODO: find a better way to position the Repeat 3 times text and arrow. Hard-coded values are finicky and don't work well across media. \draw [line] ($ (feed_again.east) +(0.7cm, 0.9cm)$) arc (220:-45:1cm); \node [anchor=north, text width=5em] at ($(feed_again.east)+(1.9cm, 2cm)$) {Repeat 3~times}; diff --git a/book/figures/fig-wheat-sourdough-process.tex b/book/figures/fig-wheat-sourdough-process.tex index a549d83..660ae8b 100644 --- a/book/figures/fig-wheat-sourdough-process.tex +++ b/book/figures/fig-wheat-sourdough-process.tex @@ -13,8 +13,8 @@ \path [line] (mix_ingredients) -- (dough_strength); \path [line] (dough_strength) -- (bulk); \path [line] (bulk) -- (divide_test); - \path [line] (divide_test) -- node{yes} (shape); - \path [line] (divide_test) -- node{no} (divide); + \path [line] (divide_test) -- node{Yes} (shape); + \path [line] (divide_test) -- node{No} (divide); \path [line] (divide) -- (preshape); \path [line] (preshape) -- (shape); \path [line] (shape) -- (proof); From fe667b82e8a04d4001bdec4a5c2666e32bf396b9 Mon Sep 17 00:00:00 2001 From: Ced Date: Sat, 11 Jan 2025 11:01:49 +0000 Subject: [PATCH 13/14] Fix merge error in starter-process flowchart --- book/figures/fig-starter-process.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/figures/fig-starter-process.tex b/book/figures/fig-starter-process.tex index 7a5312b..fc6be06 100644 --- a/book/figures/fig-starter-process.tex +++ b/book/figures/fig-starter-process.tex @@ -1,5 +1,5 @@ \begin{tikzpicture}[node distance = 3.5cm, auto] - \node [start, below of=discard, left of=discard] (start_n) {Mix \qty{50}{\gram} flour + \qty{50}{\gram} water, stir}; + \node [start] (start_n) {Mix \qty{50}{\gram} flour + \qty{50}{\gram} water, stir}; \node [block, right of=start_n, node distance = 3.5cm] (wait_n) {Wait\\ \qty{24}{\hour}}; \node [decision, right of=wait_n, node distance = 3.5cm] (readycheck_n) {Ready?}; \node [block, below of=wait_n, node distance = 3.2cm] (feed_n) {Feed the mixture }; From 9ad48ea1a3fa5bcef52c4e77a735ae22a7f52d35 Mon Sep 17 00:00:00 2001 From: Ced Date: Sat, 11 Jan 2025 11:09:16 +0000 Subject: [PATCH 14/14] Fix more uppercase in flowcharts --- book/figures/fig-bulk-fermentation.tex | 4 ++-- book/figures/fig-liquid-starter-conversion.tex | 2 +- book/figures/fig-starter-readiness.tex | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/book/figures/fig-bulk-fermentation.tex b/book/figures/fig-bulk-fermentation.tex index b46dc73..3531320 100644 --- a/book/figures/fig-bulk-fermentation.tex +++ b/book/figures/fig-bulk-fermentation.tex @@ -21,8 +21,8 @@ \path [draw, thick] (ph_value) -- node{} ++(2, 0); \path [draw, thick] (smell) -| node{} ++(2, 4); \path [line] (dough_ready) -- node{Yes} (divide_preshape); - \path [line] (dough_ready) |- node[right=3pt]{no} (dough_flattened); - \path [line] (dough_flattened) |- node[right=3pt]{yes} (stretch_fold); + \path [line] (dough_ready) |- node[right=3pt]{No} (dough_flattened); + \path [line] (dough_flattened) |- node[right=3pt]{Yes} (stretch_fold); \path [line] (dough_flattened) -- node{No} (wait_60_minutes); \path [line] (stretch_fold) -- (wait_60_minutes); \path [line] (wait_60_minutes) -- (check_dough); diff --git a/book/figures/fig-liquid-starter-conversion.tex b/book/figures/fig-liquid-starter-conversion.tex index d4ffb16..bd8811c 100644 --- a/book/figures/fig-liquid-starter-conversion.tex +++ b/book/figures/fig-liquid-starter-conversion.tex @@ -9,7 +9,7 @@ \path [line] (feed_new_ratio) -- node{Wait \qty{24}{\hour}} (ready_signs); \path [line] (feed_again) -- node[anchor=east] {} ++(2.2,0) |- (feed_new_ratio); \path [line] (ready_signs) -- node{No} (feed_again); - \path [line] (ready_signs) -- node[above=2pt]{~yes} (last_feed); + \path [line] (ready_signs) -- node[above=2pt]{~Yes} (last_feed); \path [line] (last_feed) -- node{after \qtyrange{6}{12}{\hour}} (bread_dough); % TODO: find a better way to position the Repeat 3 times text and arrow. Hard-coded values are finicky and don't work well across media. \draw [line] ($ (feed_again.north) +(0.7cm, 1cm)$) arc (-45:220:1cm); diff --git a/book/figures/fig-starter-readiness.tex b/book/figures/fig-starter-readiness.tex index fa874fa..499485c 100644 --- a/book/figures/fig-starter-readiness.tex +++ b/book/figures/fig-starter-readiness.tex @@ -24,7 +24,7 @@ \path [line] (init) -- (decision_start); \path [line] (decision_start) -- node{No} (feed_no_branch); - \path [line] (decision_start) -- node[below=2pt]{yes} (feed_yes_branch.north west); + \path [line] (decision_start) -- node[below=2pt]{Yes} (feed_yes_branch.north west); \path [line] (feed_yes_branch) -- (low_ratio); \path [line] (feed_no_branch) -- (high_ratio); \path [line] (high_ratio) -- node[anchor=east, above=2pt] {} ++(2.2,0) |-(size_check);