mirror of
https://github.com/hendricius/the-sourdough-framework
synced 2025-11-26 21:03:58 -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.
27 lines
1.6 KiB
TeX
27 lines
1.6 KiB
TeX
\begin{tikzpicture}[node distance = 3cm, auto]
|
|
\node [block] (init) {\footnotesize Bulk fermentation};
|
|
\node [block, right of=init] (check_dough) {\footnotesize Check the dough};
|
|
\node [block, right of=check_dough] (size_increase) {\footnotesize Check dough size increase};
|
|
\node [block, below of=size_increase, node distance=2cm] (ph_value) {\footnotesize Check dough pH value};
|
|
\node [block, below of=ph_value, node distance=2cm] (smell) {\footnotesize Check dough smell};
|
|
\node [decision, right of=smell] (dough_ready) {\footnotesize Dough ready?};
|
|
\node [block, below of=dough_ready] (divide_preshape) {\footnotesize Divide and preshape};
|
|
\node [decision, below of=smell] (dough_flattened) {\footnotesize Dough flattened out?};
|
|
\node [block, left of=dough_flattened] (stretch_fold) {\footnotesize Stretch and fold};
|
|
\node [block, left of=smell] (wait_60_minutes) {\footnotesize Wait 60 minutes};
|
|
|
|
\path [line] (init) -- (check_dough);
|
|
\path [line] (check_dough) -- (size_increase);
|
|
\path [line] (check_dough) -- node{or} (ph_value);
|
|
\path [line] (check_dough) -- node{or} (smell);
|
|
\path [line] (size_increase) -- (dough_ready);
|
|
\path [line] (ph_value) -- (dough_ready);
|
|
\path [line] (smell) -- (dough_ready);
|
|
\path [line] (dough_ready) -- node{yes} (divide_preshape);
|
|
\path [line] (dough_ready) -- node{no} (dough_flattened);
|
|
\path [line] (dough_flattened) -- node{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);
|
|
\end{tikzpicture}
|