Commit Graph

200 Commits

Author SHA1 Message Date
cedounet
b7cb0adc3e New Front page (#172)
* Improve Title page

- Made it full page (almost)
- Added a second page with links to github, license info and hard-copy
  book

* Add an xbb target for the cover page

For some reasons using picture outside float environment confuses the
ebook/dvi building

---------

Co-authored-by: Cedric <ced@awase.ostal>
2023-08-15 18:46:44 +02:00
cedounet
8c2e4a3223 Fonts (#171)
* Use sans-serif font in TikZ, match font for units

I think this makes the diagrams easier to read and also makes unit not
looking weird in the HTML version.  Not sure why match ain't the default

* Use palatino for main serif font

- Andale mono
- SourceSansPro for non-serif

* Disable Andale mono font for typwriter

It is not available on GitHub CI.  Need to find an alternative.
2023-08-15 18:43:41 +02:00
cedounet
261d1fb6de Remove first-line indentation (#170)
Make pragraph indentation as per Hendrik's liking.
2023-08-15 18:41:07 +02:00
Hendrik Kleinwaechter
ca5198f36e Improve wording on aliquot 2023-08-09 12:22:12 +01:00
Hendrik Kleinwaechter
d617aa1d77 Fix flowchart overflow (#169)
This fixes a flowchart having text overlapping elements inside of the
chart.
2023-08-07 22:41:56 +02:00
Hendrik Kleinwaechter
93f7b19717 Fix dough mass. Should be flour mass. (#168)
For some reason I used dough mass. It should be flour mass. This uses
baker's math properly.
2023-08-07 22:19:44 +02:00
cedounet
538df0aa95 Align to hardcover book (#166)
* Align sans-serif font to printed book

- We now use Open Sans
- Also have units in text mode, looks nicer in Sans serif mode at least

See:
https://github.com/hendricius/the-sourdough-framework/pull/158#event-9914405309

* Add colours definition from the printed book

New colors taken from
https://github.com/hendricius/the-sourdough-framework/pull/158#event-9914405309
2023-08-07 22:14:27 +02:00
cedounet
82c23fe8b2 Fix bundle re-run (#165)
* Use standard practices for website build

- Declare your dependencies
- Do not rebuild unless dependencies changed
- Cleanup after yourself
- Document your targets
- COMMANDS in upper case and variables/rules in lowercase

* Prevent bundle install to re-run

Split it into two separate targets one for installing env and one for
actually reworking the html.

* Fix typo in makefile comment

Co-authored-by: Hendrik Kleinwaechter <hendrik.kleinwaechter@gmail.com>

---------

Co-authored-by: Hendrik Kleinwaechter <hendrik.kleinwaechter@gmail.com>
2023-08-07 16:41:39 +02:00
Hendrik Kleinwaechter
0e3f190f5f Improve website font sizes for headings
This improves font sizes for headings. On troubleshooting the section
headers were so small that they could barely be noticed.
2023-08-04 18:35:40 +01:00
Hendrik Kleinwaechter
97e3cb5153 Improve dutch oven instructions (#163)
This improves the dutch oven instructions by adding a flow chart with detailed steps.
2023-08-04 19:23:12 +02:00
cedounet
a8ad6f0a8b Use standard practices for website build (#161)
- Declare your dependencies
- Do not rebuild unless dependencies changed
- Cleanup after yourself
- Document your targets
- COMMANDS in upper case and variables/rules in lowercase
2023-08-04 15:57:08 +02:00
cedounet
4fdfaaf534 Fix clean rule (#160) 2023-08-04 13:24:13 +02:00
cedounet
0fd5f3431a Use Lualatex (#159)
* Use LuaLaTeX instead of pdfTeX

Will allow to use Open Type Fonts in the future

Other less important reasons:
    - Uniform encoding in UTF-8
    - We could maybe use some luaTeX only packages
    - It's more modern, should be better

* Use Tex Gyre Heros as helvetica clone

As it does not seem available by default on the CI machine and might
have some licensing issues.
2023-08-03 21:38:31 +02:00
Hendrik Kleinwaechter
a1f2be37ca Justify text for easier readability 2023-07-28 12:41:42 +02:00
Hendrik Kleinwaechter
7c0735e916 Disable transition (issues on mobile) 2023-07-28 12:37:54 +02:00
Hendrik Kleinwaechter
a571a9141d Mobile design optimisations 2023-07-28 11:21:41 +02:00
Hendrik Kleinwaechter
6d5e681745 Fix desktop/mobile issues 2023-07-27 13:44:00 +02:00
Hendrik Kleinwaechter
ae83208e07 Fix align/color of hamburger icon 2023-07-27 13:13:20 +02:00
Hendrik Kleinwaechter
2320bafe71 Website improvements typo (#158)
* Change style + add robots

* Add video to home & cleanup
2023-07-25 19:07:51 +02:00
Jeppe Vesterbæk
767dd96ae6 Fix double punctuation (#157) 2023-07-25 19:07:40 +02:00
cedounet
7cc71dc6ac Small fixes (#155)
* Fix various typos and references or links

- Misuse of product macro the x sign did not appear
- Use macro for milligrams
- Some refes were without hyperlink for some reason ?
- confusion between section and subsections
- a little grammar.. exact value not absolute, don't think a negative
  amount of flower was ever an option :D

* Use siunitx for temperature everywhere

Apparently some files escaped my script last time, or messed up in git
merge... Anyway fixed now and should be more consistent.

* Simplify Fermentolysis table

I woudl hope this is more clear with less lines.

* Remove double bottomrule

* Fix grammar

* Use correct font familly in preface

Small corrections on font familly and extra space for signature.
TODO: I did not change the paragraph breaking but we might want to
revisit it later.

* Fix wrong percentage range

fixes https://github.com/hendricius/the-sourdough-framework/issues/156
2023-07-21 11:46:33 +02:00
Xavier Antoviaque
0a3eb3ec99 Fix typo: "The future of human [b]read" (#153) 2023-07-15 09:59:52 +02:00
Hendrik Kleinwaechter
12078a9139 Add links to appendix and condense menu 2023-07-14 16:32:15 +02:00
Hendrik Kleinwaechter
105bc9d7a1 Add note to cover page 2023-07-14 15:47:46 +02:00
Hendrik Kleinwaechter
d7e53ed8dc Fix table overflowing on mobile 2023-07-14 14:37:32 +02:00
Hendrik Kleinwaechter
a4f16d7d90 More website goodies (meta tags, open graph images, menu selection) (#151)
* Add description

* Fix margin

* Add og_image

* Mark menu as selected
2023-07-14 13:54:58 +02:00
cedounet
f1788ff780 Reorg troubleshooting (#150)
* Reorganize troubleshooting section

- Classified in subcategories hopefully more logically

* Reorganise troubleshooting section step 2

Now put crust debugging later. I am not sure this is fundamental, but
maybe just showing my lack of experience here...

* Improve table of contents

- Use short ToC entry when needed
- Remove extra space now that we do not have large numbers in
  section names anymore
2023-07-14 13:53:26 +02:00
Hendrik Kleinwaechter
442a3ec032 Add favicon (#149)
* Fix mobile menu

* Link cover page

* Add home link

* Add favicon

This adds a favicon to the book
2023-07-13 17:23:06 +02:00
cedounet
fa91b6f06f Komascript (#148)
* Add chemfig package

Somhow forgot it in chemical equation commit 8004497b

* Change links colors to codeblue

Closes https://github.com/hendricius/the-sourdough-framework/issues/142

* Use KOMA-Script and twosided printing

Because it looks better.  Also gets rid of headers/footers on empty
pages

* Fix tex4ebook and komascript clash

See https://github.com/michal-h21/tex4ebook/issues/110

* Factor out packages into a sty file

Separates style details out of the main file, now that we start having
more and more style-related settings.

* Remove parskip

Not needed with Koma-script

* Remove tocloft package

Not needed with koma-script

* Use tocbasics instead of floats

to please kpmascript internal algorithm

* Add a bit more breathing space in ToC

so they are not stuck together at 11.11 onwards...
2023-07-13 16:32:00 +02:00
Hendrik Kleinwaechter
672ac79234 Fix mobile issues (#147)
* Fix mobile menu

* Link cover page

* Add home link
2023-07-13 16:02:00 +02:00
Hendrik Kleinwaechter
aa78d322d5 Fix titles (#146)
This fixes the default auto generated LaTeX titles for the website
2023-07-13 15:39:42 +02:00
Hendrik Kleinwaechter
1ac6c7b196 Fix build issue 2023-07-11 09:55:28 +02:00
Hendrik Kleinwaechter
d5889a67a1 🎉 Book Website (#145)
* Basic script to modify html output

* Modify HTML of website

* Add makefile

* Compile website in CI

* Improve readme
2023-07-11 09:03:07 +02:00
Hendrik Kleinwaechter
dc2b810743 Add biber version to version output 2023-07-10 18:20:55 +02:00
Hendrik Kleinwaechter
0aa5aab860 Use 2023 docker image as base 2023-07-10 17:55:33 +02:00
Hendrik Kleinwaechter
d1ff67415f Fix more issues with docker build 2023-07-10 10:42:30 +02:00
cedounet
ee7db7b481 Fix links colors (#144)
* Add chemfig package

Somhow forgot it in chemical equation commit 8004497b

* Change links colors to codeblue

Closes https://github.com/hendricius/the-sourdough-framework/issues/142
2023-07-09 20:38:56 +02:00
cedounet
58004497bd Chemical eq (#141)
* Update README

- Need latexmk
- How to get limited help on build instuctions

* Rewrite chemical equation

Write it from scratch rather than a pixalated picture
2023-07-09 12:56:49 +02:00
Hendrik Kleinwaechter
509092c56e Improve website deployment (#139)
* Fix issue of book not building

* add dependencies

* fix

* test make4ht

* fix cmd

* Use own docker image

* Add label

* fix urls

* Add validate command

* build non mac version

* tmp run

* use smaller tex version

* build full
2023-07-08 10:51:23 +02:00
Hendrik Kleinwaechter
62a9e9a000 Style improvements website (#138)
* Improve general CSS for website

* Update github flow
2023-07-07 13:38:56 +02:00
Hendrik Kleinwaechter
cc96559b6b Add book title to website html 2023-07-07 12:30:08 +02:00
Hendrik Kleinwaechter
036031fda8 Fix missing design 2023-07-07 12:14:17 +02:00
Hendrik Kleinwaechter
b5491096b0 Website improvements for book (#137) 2023-07-06 09:01:35 +02:00
Hendrik Kleinwaechter
bcfe67d4df Static HTML Website (alpha version) (#136)
This is a minimal alpha version of the book as static html website. More
stuff needs to be added, but should be okay for a working prototype.
Fixes #128
2023-07-03 09:21:25 +02:00
cedounet
17b5ae5f52 Various clean up (#134)
* Fix reference and grammar

* Remove obsolete package

* Use colored links in pdf, black when printed

We can debate the colors to use of course, I left the defaults in.
There are accessibility concerns with colors...

* Add supporter.csv to the list of TeX source

So we rebuild everytime we add a new supporter.

* Inline the list of supporters

Those guys are awesome, but do they really need to be in a table one per
line over 3 pages?

* Explicit figure location

h rarelly works, so making it clear top is also an option.
2023-06-30 11:47:09 +02:00
cedounet
2582e4c180 Fix reference and grammar (#133) 2023-06-30 11:46:39 +02:00
Hendrik Kleinwaechter
c98600b109 Fix spelling mistake on cover
This fixes a type on the cover page of the book. Fixes #101
2023-06-29 14:34:00 +02:00
Hendrik Kleinwaechter
5d42f86c66 Spelling Fixes
Thanks Roberto von Krammer for the feedback!
2023-06-29 14:25:39 +02:00
Hendrik Kleinwaechter
0664fe5b0e Add note on temperature and milling flour (#132)
This just adds a small note on temperature when milling flour. The
provided source is an interesting read.
2023-06-29 13:48:17 +02:00
Hanso707
cd1130903d Fixed typos and grammar (#130)
* Update sourdough-starter.tex

Fixed 'typo'

* Update sourdough-starter.tex

take 3 days or so -> take about 3 days

* Update sourdough-starter-types.tex

logical mistake

* Update sourdough-starter-types.tex

logic: doesnt make sense to apply the method without any mold

* Update flour-types.tex

grammar

* Update bread-types.tex

grammar

* Update baking.tex

grammar

* Update sourdough-starter-types.tex

recommendation, wording

* Update flour-types.tex

recommendation, wording

* Update wheat-sourdough.tex

recommendation, wording

* Update wheat-sourdough.tex

get rid of repetition of 'hardly' - recommendation, wording

* Update baking.tex

get rid of 'so'
recommendation, wording

---------

Co-authored-by: Hendrik Kleinwaechter <hendrik.kleinwaechter@gmail.com>
2023-06-28 20:32:03 +02:00