mirror of
https://github.com/hendricius/the-sourdough-framework
synced 2025-12-02 07:43:59 -06:00
* Make figs includable in main document
Remove the capability to build them as standalone document but we can
include them in the main document. It should simplify things down the
road.
* Replace tikx pics
* Remove figures compilation from makefile
No need to compile figs to pdf anymore, at least to build the books
* Delete svg figures from ebook build
* Create png for TikZ figures
- Add export_figures back
- Build a pdf from the the TikZ in standalone mode
- Change the cleanup to deal with those changes
- Remove trailing spaces..
* Replace centering by an environment
More LaTeX idomatic
* Increase clean_figures robustness
as we use temporary tex files (.tex.in) we can't run clean_figures twice in a
row
* Center TikZ figures
Because it looks better
* Remove png building
Seems to struggle on CI with \\\b or something, we don't absolutely need
it right now so let's get rid of it.
* Remove trgt_figures dependency for pdf and ebooks
This should not be needed now that we include the TikZ directly, only
needed for png generation.
* Revert "Remove png building"
This reverts commit fdd542de57.
This is now fine to add the code back, so that it can be debugged when
times come.
31 lines
1.7 KiB
TeX
31 lines
1.7 KiB
TeX
\begin{tikzpicture}[node distance = 3cm, auto]
|
|
\node [decision] (init) {\footnotesize Starter last fed within 3 days?};
|
|
\node [block, right of=init, node distance=4cm] (feed_no_branch)
|
|
{\footnotesize Feed starter twice. 48 hours before and 6--12 hours before};
|
|
\node [block, below of=feed_no_branch, node distance=3cm] (feed_yes_branch)
|
|
{\footnotesize Feed starter once 6--12 hours before making dough};
|
|
\node [block, right of=feed_no_branch, node distance=6cm] (high_ratio)
|
|
{\footnotesize Use a 1:10:10 ratio. 10g starter, 100g flour, 100g water};
|
|
\node [block, right of=feed_yes_branch, node distance=3cm] (low_ratio)
|
|
{\footnotesize Use a 1:5:5 ratio. 10g starter, 50g flour, 50g water};
|
|
\node [block, below of=high_ratio, node distance=6cm] (check_starter)
|
|
{\footnotesize Check if starter is ready to be used};
|
|
\node [decision, below of=init, node distance=6cm] (size_check)
|
|
{\footnotesize Bubbly? Increased in size?};
|
|
\node [decision, below of=size_check, node distance=5cm] (smell_check)
|
|
{\footnotesize Vinegary or yogurty smell?};
|
|
\node [block, right of=smell_check, node distance=6cm] (make_dough)
|
|
{\footnotesize Prepare dough};
|
|
\path [line] (init) -- node{no} (feed_no_branch);
|
|
\path [line] (init) -- node{yes} (feed_yes_branch);
|
|
\path [line] (feed_yes_branch) -- (low_ratio);
|
|
\path [line] (feed_no_branch) -- (high_ratio);
|
|
\path [line] (high_ratio) -- (check_starter);
|
|
\path [line] (low_ratio) -- (check_starter);
|
|
\path [line] (check_starter) -- (size_check);
|
|
\path [line] (size_check) -- node{no} (feed_yes_branch);
|
|
\path [line] (size_check) -- node{yes} (smell_check);
|
|
\path [line] (smell_check) -- node{no} (feed_yes_branch);
|
|
\path [line] (smell_check) -- node{yes} (make_dough);
|
|
\end{tikzpicture}
|