mirror of
https://github.com/hendricius/the-sourdough-framework
synced 2025-12-05 09:04:26 -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.
33 lines
2.6 KiB
TeX
33 lines
2.6 KiB
TeX
\begin{tikzpicture}[node distance = 3cm, auto]
|
|
\node [block] (init) {\footnotesize Make your bread dough};
|
|
\node [decision, below of=init, node distance=3.5cm] (all_starter_used) {\footnotesize All starter used?};
|
|
\path [line] (init) -- (all_starter_used);
|
|
\node [block, right of=init, node distance=3cm] (use_dough) {\footnotesize Take 10g of your bread dough};
|
|
\node [block, right of=all_starter_used, node distance=3cm] (use_starter) {\footnotesize Take all but not more than 10g of your 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) {\footnotesize Feed using 1:5:5 ratio};
|
|
\path [line] (use_dough) -- (feed_starter);
|
|
\path [line] (use_starter) -- (feed_starter);
|
|
\node [decision, right of=feed_starter, node distance=3cm] (bake_next_day_check) {\footnotesize Bake next day?};
|
|
\path [line] (feed_starter) -- (bake_next_day_check);
|
|
\node [block, right of=bake_next_day_check, node distance=3.5cm] (make_bread_dough) {\footnotesize Make bread dough again after 8--12 hours};
|
|
\path [line] (bake_next_day_check) -- node{yes} (make_bread_dough);
|
|
\node [decision, right of=use_starter, node distance=3cm] (bake_next_week_check) {\footnotesize Baking in next 2 weeks?};
|
|
\node [block, right of=bake_next_week_check, node distance=3.5cm] (store_fridge) {\footnotesize Store starter in fridge at 4°C(40°F)};
|
|
\path [line] (bake_next_week_check) -- node{yes} (store_fridge);
|
|
\node [block, right of=store_fridge, node distance=3cm] (feed_after_fridge) {\footnotesize Feed again using 1:5:5 ratio 8--12 hours before making dough};
|
|
\path [line] (store_fridge) -- (feed_after_fridge);
|
|
\path [line] (bake_next_day_check) -- node{no} (bake_next_week_check);
|
|
\node [decision, below of=use_starter, node distance=3cm] (freezer_check) {\footnotesize Have a freezer?};
|
|
\path [line] (bake_next_week_check) -- (store_fridge);
|
|
\path [line] (bake_next_week_check) -- node{no} (freezer_check);
|
|
\node [block, right of=freezer_check, node distance=3cm] (dry_starter) {\footnotesize Dry your starter};
|
|
\node [block, below of=dry_starter, node distance=3cm] (freeze_starter) {\footnotesize Freeze your starter};
|
|
\path [line] (freezer_check) -- node{no} (dry_starter);
|
|
\path [line] (freezer_check) -- node{yes} (freeze_starter);
|
|
\node [block, right of=dry_starter, node distance=3.5cm] (reactivate_freezer) {\footnotesize Reactivate starter for 3 days with daily 1:5:5 feedings};
|
|
\path [line] (dry_starter) -- (reactivate_freezer);
|
|
\path [line] (freeze_starter) -- (reactivate_freezer);
|
|
\end{tikzpicture}
|