cedounet e451a47d55 improve makefiles (#113)
* Make headrow in tables bold

* Simplify tables markup

- Markup is definitely simpler.
- Will not be built separately in a pdf anymore.
- Fixed some typo as well
- Relatively coherent look
- Can be better, some sizes are relatively arbitrary

* Remove horizontal separation inside tables

Not very nice if you ask me..

* Fix some tables for the ebook

The alignement trick to have nicely alignment on = sign or on unit (g)
used broke the html. Reverting to a less optimal version on pdf while
not breaking the html.

* Simplify table for html output

* Revert "Simplify table for html output"

This reverts commit f85d65adb7.

* Revert pancake table

This way it builds ebook correctly.

* Use latexmk and dedicated build_directory

- Generic rule for building pdf from tex
- build the book in its own directory
- do not clean before

* Make accessible pdf a command line option

* Simplify accessible version generation

using the option in book.tex instead of copying files around.
TODO: figures/Tkiz still are with serif.

* Specify some dependencies as order only

We don't want to trigger a rebuild everytime the directory timestamp
changes

* Remove force rebuild

* Fix dependencies handling

- Explicit some dependencies
- Ebook must be handled manually as we don't have latexmk working with
  latexmk or not sure how to do it...

* Improve clean

- Use latexmk to clean where possible
- clean the sans-serif as well
- failing rm will output a non-stopping error now

* Cleanup and comment makefile

For clarity, also move things around

* Add an mrproper target

clean now only removes intermediate files, keeps pdf and ebook in there.
Mr proper will remove evrything

* Add dependency of figures for ebook

* Add default rules you expect

make will build the pdf
make all will build all

* Add a make help command

Gives list of useful targets and their action

* Use latexmk to build TikZ pictures

* Use latexmk for building ebooks

* Let latexmk handle dependencies

would get it wrong otherwise...

* Add rule for sans serif ebook

* Add dependencies on TikZ figures for ebooks

* add mk4 file for the sans_serif version of ebook

symlink to the other one as they should be the same.

* Reorder the makefile variables declaration

Looks like I did not fully understood how it works..

Also added some PHONY targets and comments

* Add missing actions in clean target

Some file got forgotten... clean the makefile as well.

* Split the clean in a clean ebook section

* Clean the ebook before building the pdf

Not idel but I have no idea how to have the intermediate files in
another directory with tex4ebook
2023-06-06 17:45:57 +02:00
2023-06-06 17:45:57 +02:00
2023-05-26 13:35:04 +02:00
2023-06-01 18:49:07 +02:00
2022-01-21 21:43:14 +01:00
2023-06-01 18:49:07 +02:00
2023-06-01 16:22:36 +02:00

The Sourdough Framework

The sourdough framework is an open-source book dedicated to helping you to make the best possible sourdough bread at home.

The book cover

Rather than providing recipes this book intends to provide a framework that enables you to bake bread in your respective environment. Every flour, every sourdough, and every home setup is different. This makes following recipes without background information so hard and a fail-prone endeavor. This book intends to close that gap.

Background

4 years after launching the repositories the-bread-code and pizza-dough I created this project to merge the knowledge together. This project intends to go one step deeper into the workings of natural fermentation. At the same time as many scientific references as possible are provided.

A whole wheat sourdough bread

🍞 Baking the book (Docker)

make

Then you can check out the file book/book.pdf

If you want to 🍞 bake all the versions including ebook formats (.pdf, .epub, .mobi, .azw3) run:

make bake

You can check the files in the folder book/release/

🍞 Baking the book locally (LaTeX)

Make sure you have biber installed. Refer to your system's installation instructions for LaTeX.

cd book/
make

If you want to 🍞 bake all the versions including ebook formats (.pdf, .epub, .mobi, .azw3) run:

cd book/
make bake

You can check the files in the folder book/release/

Compiled versions

The below versions are automatically built on every push to the main branch.

There's an additional enhanced accessibility version using a sans serif font:

Hardcover version

There is a hardcover version of the book available for purchase. You can read more details here.

Support

Did you find a typo, or feel the wording could be improved? Feel free to open up a pull request at any time.

I believe that the knowledge this book provides is essential to everyone. That's why I decided to open source my knowledge hoping that it will reach more people all over the world without budget constraints.

If you would like to contribute with a small donation you can do so via my ko-fi page. Your donation will tremendously help me to cover costs related to running the-bread-code. It futhermore allows me to dedidcate time to continously update and improve this book.

Description
No description provided
Readme CC-BY-SA-4.0 215 MiB
Languages
TeX 87%
Ruby 5.7%
Makefile 3.1%
CSS 2.2%
Roff 1.4%
Other 0.4%