mirror of
https://github.com/hendricius/the-sourdough-framework
synced 2025-11-18 09:01:12 -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.
23 lines
1.4 KiB
TeX
23 lines
1.4 KiB
TeX
\begin{tikzpicture}[node distance = 3cm, auto]
|
|
\node [block] (init) {\footnotesize Ready starter};
|
|
\node [block, right of=init, node distance=3cm] (mix_ingredients) {\footnotesize Mix ingredients};
|
|
\node [block, right of=mix_ingredients, node distance=3cm] (dough_strength) {\footnotesize Create dough strength};
|
|
\node [block, right of=dough_strength, node distance=3cm] (bulk) {\footnotesize Bulk ferment};
|
|
\node [decision, below of=dough_strength, node distance=3cm] (divide_test) {\footnotesize Making 1 loaf?};
|
|
\node [block, left of=divide_test, node distance=3cm] (divide) {\footnotesize Divide};
|
|
\node [block, left of=divide, node distance=3cm] (preshape) {\footnotesize Preshape};
|
|
\node [block, below of=preshape, node distance=3cm] (shape) {\footnotesize Shape};
|
|
\node [block, right of=shape, node distance=3cm] (proof) {\footnotesize Proof};
|
|
\node [block, right of=proof, node distance=3cm] (bake) {\footnotesize Bake};
|
|
\path [line] (init) -- (mix_ingredients);
|
|
\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) -- (preshape);
|
|
\path [line] (preshape) -- (shape);
|
|
\path [line] (shape) -- (proof);
|
|
\path [line] (proof) -- (bake);
|
|
\end{tikzpicture}
|