Commit Graph

372 Commits

Author SHA1 Message Date
Xavier Antoviaque
0a3eb3ec99 Fix typo: "The future of human [b]read" (#153) 2023-07-15 09:59:52 +02:00
cedounet
999f085875 Update README.md (#152)
typo on directory
2023-07-15 09:59:35 +02:00
Hendrik Kleinwaechter
17f2e6b505 Fix duplicate method and nav issue 2023-07-14 17:02:08 +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
5662b42eb5 Close menu upon click inside 2023-07-14 15:02:19 +02:00
Hendrik Kleinwaechter
d7e53ed8dc Fix table overflowing on mobile 2023-07-14 14:37:32 +02:00
Hendrik Kleinwaechter
54f12e3407 Add missing TLD 2023-07-14 14:24:29 +02:00
Hendrik Kleinwaechter
41d5cb2d9f Add canonical for duplicate content 2023-07-14 14:14:21 +02:00
Hendrik Kleinwaechter
5203def7a7 Fix low level menu anchors removed
This fixes an issue with too many anchors being removed
2023-07-14 14:01:48 +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
Hendrik Kleinwaechter
46ab05048e Fix Docker workflow issues (hopefully) (#143)
This hopefully fixes some of the issues of the docker workflow building
the book and website
2023-07-09 15:05:30 +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
cedounet
3ae735c4bb Update README (#140)
- Need latexmk
- How to get limited help on build instuctions
2023-07-09 12:56:25 +02:00
Hendrik Kleinwaechter
acace08de1 Change into folder 2023-07-08 12:07:44 +02:00
Hendrik Kleinwaechter
eda0975d84 Tag with 'latest' 2023-07-08 11:24:25 +02:00
Hendrik Kleinwaechter
3b5187042f Build image only on main 2023-07-08 10:55:44 +02:00
Hendrik Kleinwaechter
c7e9366de4 Change entry point 2023-07-08 10:53:38 +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
f2ac5a37f7 Fix dir names 2023-07-03 16:36:21 +02:00
Hendrik Kleinwaechter
ef373f308d Fix dir name 2023-07-03 16:18:19 +02:00
Hendrik Kleinwaechter
0822ba81df Fix bucket name 2023-07-03 11:23:08 +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
ab608c7311 Remove building sans-serif ebook in CI (#135)
They are not needed as you can change the font in your reader.
Closes: https://github.com/hendricius/the-sourdough-framework/issues/131
2023-06-30 11:48:32 +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
cedounet
4637c29a37 Use Siunitx package for dealing with units (#129)
It is complicated :
[1] The International System of Units (si), https://www.bipm.org/en/
measurement-units/.
[2] International System of Units from nist, http://physics.nist.gov/cuu/Units/
index.html.

And one will never get it right (space or not, half-space?) nor
consistent so using that instead.

I am not sure how times and hours, when to write digits and when in
letter so I did not change much..

Did not touch the tables as ebooks on github actions seems to break when
you look at them funny.

Co-authored-by: Cedric <ced@awase.ostal>
2023-06-28 20:30:12 +02:00
Hendrik Kleinwaechter
0614fe7d8f Fix export figures (#127)
This fixes the export figures command
2023-06-27 14:31:08 +02:00
cedounet
5731a49828 Remove superflous equal sign (#126)
and traling spaces while at it
2023-06-27 11:22:25 +02:00
Hendrik Kleinwaechter
123ec73cea Use locally built tex4ebook 2023-06-27 11:21:59 +02:00
cedounet
05c33a76b6 Use input figs (#123)
* 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.
2023-06-27 11:07:19 +02:00