Commit Graph

611 Commits

Author SHA1 Message Date
cedounet
916fab0038 Remove azw3 and mobi ebook format from build (#242)
they take a lot of time and are being deprecated on main branch.
2023-09-26 15:30:38 +02:00
cedounet
0ae310c329 Add list of flowcharts in ebook (#240)
* Add list of flowcharts in ebook

* Mark menu as selected on list of flowcharts

---------

Co-authored-by: Hendrik Kleinwaechter <hendrik.kleinwaechter@gmail.com>
2023-09-25 20:52:27 +02:00
cedounet
31e8078216 Fix warnings from make check (#237)
The one I am 100% sure are mistakes
2023-09-21 16:24:27 +02:00
cedounet
eda72c860c Correct wording, category for starter conversion (#235)
- Now a flowchart (and a renamed label)
- More explicit wording as per
https://github.com/hendricius/the-sourdough-framework/issues/234
2023-09-20 14:38:56 +02:00
cedounet
78628adc3c Correct LaTeX crime (#233)
* Add missing pic dependency on quick_ebook target

* Correct crime against LaTeX

Mostly proper use of LaTeX and one word changed.  Moving forward we
could have a proper recipe environment so we have also a listofrecipe
at the end in the pdf/website.
2023-09-20 14:38:27 +02:00
Ced
31b4f12ae6 Fix bug in makefile clean command 2023-09-17 14:53:36 +01:00
Ced
b18c6331e6 Merge remote-tracking branch 'upstream/main' 2023-09-15 10:40:57 +01:00
cedounet
e6cccde72a Makefile cleanup (#231)
* Add missing pic dependency on quick_ebook target

* Shorten Makefile clean rules

Less line mostly, should make it easier to read... and some wins from
not building sans-serif ebook anymore

* Simplify make help documentation

Was a bit tangled between ebook/ebook_serif/... should be clearer now.
2023-09-15 11:38:56 +02:00
Ced
cafbb11237 Merge remote-tracking branch 'upstream/main' 2023-09-15 09:33:03 +01:00
Hendrik Kleinwaechter
569e6e1624 Replace artistic scoring image
Better for the book as the image is not cropped
2023-09-15 10:31:26 +02:00
Hendrik Kleinwaechter
d72d6c65b2 Improve flatbread recipe (#230)
This creates a short section with detailed instructions on how to make a
flatbread.
2023-09-15 10:17:49 +02:00
cedounet
b403440c04 Remove sans serif ebook from makefile (#228)
* Add missing pic dependency on quick_ebook target

* Remove sans-serif ebooks from the build

* Remove sans-serif ebook from website and README

As per https://github.com/hendricius/the-sourdough-framework/issues/225
point 2.  The reader program will allow to change the font, no point
building it twice.

* Remove sans_serif mk4 file
2023-09-15 08:37:52 +02:00
Hendrik Kleinwaechter
ec43cf2add Replace one flat bread image (#229)
We used the same image several times. This adds a new different image.
2023-09-15 08:37:25 +02:00
Ced
59ace0e3eb Merge remote-tracking branch 'upstream/main' 2023-09-14 08:34:55 +01:00
cedounet
9104ee0642 Default target (#226)
* Add missing pic dependency on quick_ebook target

* Fix default target in makefile

The previous version was just lucky enough to be the first target not
starting with a .
2023-09-14 09:07:36 +02:00
cedounet
972b1ef8ba Remove obsolete ebook formats (#227)
* Add missing pic dependency on quick_ebook target

* Warn about deprecation of .mobi and .azw3 files.

* Remove kindle (azw3) from website front page
2023-09-14 09:07:14 +02:00
Ced
5ad773e092 Merge remote-tracking branch 'upstream/main' 2023-09-12 08:38:58 +01:00
cedounet
74fca62bf2 Starter chap (#214)
* Fix TeXnicalities in starter chapter

* Break text into paragraphs

* Reword sourdough chapter

* Add a label for the chapter
2023-09-12 07:27:31 +02:00
cedounet
a1b661e8fb Add missing pic dependency on quick_ebook target (#224) 2023-09-12 07:25:53 +02:00
Hendrik Kleinwaechter
722449c5ac Fix duplicate flowchart (#222)
* Fix duplicate flowchart

This combines both flowcharts into one

* Start on pink for starter readiness flowchart

* Add braces to TikZ flowcharts

* Rewired flowchart with right-angled transitions

* Change Arrows from right-angled to star connected

As I could not really find a way not to have diagonal arrows... I
decided to embrace it instead.  YMMV

* Homogenize box sizes

* Align on unit inside the flowchart node

* Fix code typo in starter readiness flowchart

* Create a MWE showing (known) ebook issues

Those issues are:
- Temp in flowchart
- No front image
- Chemical formula
- No list of flowcharts
- Weird looking table

Also test fonts, accents, etc.. seems ok.

* Make ebook the default target

* Revert "Create a MWE showing (known) ebook issues"

This reverts commit dac7f8f21d.

* Revert "Make ebook the default target"

This reverts commit e92e464459.

---------

Co-authored-by: Ced <ced@sdf.org>
2023-09-12 07:25:34 +02:00
Ced
d8c212ad73 Add missing pic dependency on quick_ebook target 2023-09-09 09:00:35 +01:00
Hendrik Kleinwaechter
07edb414e1 Fix image not showing on website 2023-09-08 14:17:18 +02:00
Hendrik Kleinwaechter
61af6372e0 Switch to creative commons license (#177)
* Switch to creative commons license

This updates the license to CC-BY-SA

* update img

* Add CC-BY-SA logo and licence link on 2nd page

* Fix compilation bug on title page

---------

Co-authored-by: Ced <ced@sdf.org>
2023-09-08 13:24:35 +02:00
cedounet
580dab372b Quick targets (#221)
* Add quick targets in makefile

You can now runs luaLaTex or tex4ebook only once... should help run
faster while editing text/LaTeX macros

* Adds documentation for quick targets
Last_MIT
2023-09-08 11:35:13 +02:00
cedounet
f9ce261c94 Factorize footnotesize in all TikZ flowcharts (#220)
Makes it somewhat simpler.  You can always ovewrite it per flowchart or
per box if you want to.
2023-09-08 11:34:58 +02:00
cedounet
cec83c623f Add label for sourdough basics chapter (#218)
So it is coherent with the rest.

Also I can track which chapters I reviewed and which one I did not that
way :D.
2023-09-05 15:05:15 +02:00
Hendrik Kleinwaechter
6acd9210b8 Adds a home oven baking example (#217) 2023-09-05 15:04:35 +02:00
cedounet
e98ea7e555 Tuning sourdough starter flowcharts (#210)
* Improve sourdough starter flowchart

Remove one state
Mor air between blocks

* Tidy-up starter readiness flowchart

Right angles arrows look neater

* Fix typo on starter maintenance flowchart

There is more to do but can't say if i enjoy the chaotic look of that
one or if I hate it :D

Very packed though, so not sure how to make it less scary.
2023-09-04 10:47:26 +02:00
cedounet
1e01434ce1 Baker math (#209)
* Use whole-wheat consistantly

* Finetune the baker's math table

Remove use of math mode and align numbers hwo they should be
2023-09-04 10:25:42 +02:00
cedounet
2aedda0474 How sourdough works (#208)
* Use whole-wheat consistantly

* Review how sourdough works chapter
2023-09-04 10:25:13 +02:00
cedounet
233ac8d4c7 Use whole-wheat consistantly (#207) 2023-09-04 10:24:41 +02:00
cedounet
170763615f Change colors for links and hyperref (#206)
* Change colors for links and hyperref

This is less in your face than what we previously had.

Discussion in :
https://github.com/hendricius/the-sourdough-framework/discussions/201

There might be ways to make that better (not in your face and clickable
?)
https://tex.stackexchange.com/questions/555663/create-a-table-of-contents-with-links-in-all-text-and-different-colours-for-sect

* Remove colors for links in To*

As per @hendricius input
2023-09-04 10:24:23 +02:00
cedounet
babfc618c2 Makefile updates (#205)
* Add synctex to makefile

Allows back and forthe between pdf reader adn your editor (shall they
support it)

* Add ruby and git head in show_version
2023-08-31 11:11:30 +02:00
cedounet
5574cb230c Mixins chapter (#203)
* Move mix-ins to its own chapter

I don't think it belongs to wheat one which is already packed,
Schwarzbort for once is usually with seeds added.

Once we have more pics it will be even more cramped in the wheat
chapter.

* Fix TeXnicalilities in mix-ins chapter

looooong lines, no use of sinunitx, abbreviations, etc..

* Fix typo

* Update book/book.tex

---------

Co-authored-by: Hendrik Kleinwaechter <hendrik.kleinwaechter@gmail.com>
2023-08-28 17:05:08 +02:00
cedounet
0600605fb1 Add pdinfo metadata (#202)
Metadata added to the pdf, readable with pdfinfo
Title:           The Sourdough Framework
Subject:         The sourdough bread baking bible
Keywords:        Sourdough, dough, bread, wheat, baking, bake,
    home-baking, yeast, rye, crumb, debug, gluten, dough strength, crust,
    DIY, framework, https://the-sourdough-framework.com,
    https://www.the-bread-code.io/,
    https://github.com/hendricius/the-sourdough-framework, open-source,
    CC-BY-SA
Author:          Hendrik Kleinwächter
Creator:         LaTeX with hyperref
Producer:        LuaTeX-1.16.0
CreationDate:    Sun Aug 27 13:58:19 2023 BST
ModDate:         Sun Aug 27 13:58:19 2023 BST
Custom Metadata: yes
Metadata Stream: no
Tagged:          no
UserProperties:  no
Suspects:        no
Form:            none
JavaScript:      no
Pages:           167
Encrypted:       no
Page size:       595.276 x 841.89 pts (A4)
Page rot:        0
File size:       59180712 bytes
Optimized:       no
PDF version:     1.5
2023-08-28 16:57:06 +02:00
cedounet
28ac60770a Recompress huge photo (#200)
* Recompress huge photo

from 19 M to 3.2 M... without any obvious degradation.

command:

magick images/sourdough-starter.jpg -strip -interlace Plane \
  -gaussian-blur 0.05 -quality 85% result.jpg

 19M Aug 26 14:24 images/sourdough-starter.jpg
3.2M Aug 26 14:27 result.jpg

Which in turns reduces book size by 15 Mbyte.

    133M  TheBreadCode-The-Sourdough-Framework.azw3
     67M  TheBreadCode-The-Sourdough-Framework.epub
    133M  TheBreadCode-The-Sourdough-Framework.mobi
     68M  TheBreadCode-The-Sourdough-Framework.pdf

vs:

    149M  TheBreadCode-The-Sourdough-Framework.azw3
     82M  TheBreadCode-The-Sourdough-Framework.epub
    149M  TheBreadCode-The-Sourdough-Framework.mobi
     83M  TheBreadCode-The-Sourdough-Framework.pdf

* Resize more images

---------

Co-authored-by: Hendrik Kleinwaechter <hendrik.kleinwaechter@gmail.com>
2023-08-27 11:15:22 +02:00
Niklas Baumgart
edd2845f86 Fixed Typos (#197) 2023-08-27 11:09:20 +02:00
cedounet
4f831be677 Makefile add missing dependencies (#199)
* Add intro to history chapter

* Improve paragraph breakdown

Hopefully slightly less dense to read.

* Add missing dependencies for Images
2023-08-27 11:01:22 +02:00
cedounet
0bbea33152 History chapter review (#198)
* Add intro to history chapter

* Improve paragraph breakdown

Hopefully slightly less dense to read.
2023-08-27 11:00:59 +02:00
cedounet
d3cd2e7894 Remove unbreakable spaces in supporters list (#194)
That is just too much to ask TeX
2023-08-25 15:51:21 +02:00
cedounet
3f5f752dbd Wrong flowchart (#195)
* Remove unbreakable spaces in supporters list

That is just too much to ask TeX

* Change environnement to Figure for chem equation

This is not a flowchart...
2023-08-25 15:51:04 +02:00
cedounet
c563477773 Restructure preface into logical paragraphs (#192)
Plus some very small changes in the text
2023-08-24 09:43:15 +02:00
Hendrik Kleinwaechter
40d37f0df6 Add flowcharts to menu (#193) 2023-08-24 09:42:56 +02:00
cedounet
35916c15f7 Add a flowchart environnement and its listof (#188)
* Add a flowchart environnement and its listof

So we can more easily access those flowcharts from pdf and website,
rather than looking in the crowded list of figures.

* Update book/troubleshooting/misc.tex

* Temporarily remove list of flow charts from web version

* Update clean target to deal with listofcharts

* Silent KOMA warnings (#190)

No functional change, but less warnings will help to read the logs.
Good idea anyway to use the key/value scheme

Co-authored-by: Cedric <ced@awase.ostal>

* Fix front-page for one sided printing (#189)

As it is manually placed, is prone to break on evry change of the page
geometry...  This one looks good though in today's conditions.

Co-authored-by: Cedric <ced@awase.ostal>

* Enable micro-typographical improvements (#191)

Few people will notice but this actually brings loads of improvements to
line breaking, handing punctuations etc.

* Revert "Temporarily remove list of flow charts from web version"

This reverts commit 9611b250d2.

* Implement listofflowchart for tex4ht

as per michal suggestion:
https://github.com/michal-h21/tex4ebook/issues/114#issuecomment-1688543095

---------

Co-authored-by: Cedric <ced@awase.ostal>
Co-authored-by: Hendrik Kleinwaechter <hendrik.kleinwaechter@gmail.com>
2023-08-24 09:30:38 +02:00
cedounet
8395905042 Enable micro-typographical improvements (#191)
Few people will notice but this actually brings loads of improvements to
line breaking, handing punctuations etc.
2023-08-21 14:59:36 +02:00
cedounet
ed4b607a46 Fix front-page for one sided printing (#189)
As it is manually placed, is prone to break on evry change of the page
geometry...  This one looks good though in today's conditions.

Co-authored-by: Cedric <ced@awase.ostal>
2023-08-21 14:59:23 +02:00
cedounet
de02adb4c7 Silent KOMA warnings (#190)
No functional change, but less warnings will help to read the logs.
Good idea anyway to use the key/value scheme

Co-authored-by: Cedric <ced@awase.ostal>
2023-08-21 14:59:05 +02:00
Hendrik Kleinwaechter
a8dc6dc210 Change flowchart color (#185)
* Change BG color to white

* Fix flowcharts where graphics overlap with text

* Increase border size

* change arrow style

* Allow standalone building of TikZ flowcharts

Useful for reference or website etc..

* Prevent manual hyphenation in TikZ diagrams

A Bit of a manual tweak.. but worth it to look nicer :D

* Add missing file for flowcharts

---------

Co-authored-by: Cedric <ced@awase.ostal>
2023-08-19 16:35:02 +02:00
cedounet
fad30fa1db Remove 2-sided option for pdf (#187)
As per poll and discussion in:
https://github.com/hendricius/the-sourdough-framework/discussions/181

Co-authored-by: Cedric <ced@awase.ostal>
2023-08-19 16:34:28 +02:00
Hendrik Kleinwaechter
591d76666b Fix menu numbers not listing subchapters 2023-08-19 14:34:23 +02:00