Commit Graph

11 Commits

Author SHA1 Message Date
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
2b90763107 Make each chapter introduction stand out (#179)
* Add bibliography to the ToC

* Add a list of tables at the end of the document

It needed shorter description that would fit.

* Add list of figures

* Add table of figures

* Fix a typo in short figure description

* Make each chapter introduction stand out

Not written for each chapter yet, but checking if that is something we
want.

* Increase numwidth in list of figures

Prevents over-run of figure number and text

* Use semibold in chapters intro

Looks like a good compromise for now.

* Add comments

* Add color coding to flow charts

This will hopefully allow easier reading by identifying start and end
point more easily
2023-08-18 15:30:51 +02:00
cedounet
104cbcf6ac Add color coding to flow charts (#180)
This will hopefully allow easier reading by identifying start and end
point more easily
2023-08-18 11:31:33 +02:00
cedounet
38ac7c6b11 Add list of table and list of figures (#178)
* Add bibliography to the ToC

* Add a list of tables at the end of the document

It needed shorter description that would fit.

* Add list of figures

* Add table of figures

* Fix a typo in short figure description

* Increase numwidth in list of figures

Prevents over-run of figure number and text
2023-08-18 11:27:16 +02:00
cedounet
9e086fab6c Change chapters heading (#173)
* Implement kaobook style chapter headings

Now supports several style of chapters
- plain (default koma)
- bar adds a gray bar
- lines (a box around it)
- kao

This is totally _inspired_ by the kaobook template:
https://github.com/fmarotta/kaobook/

* Use lines style for chapter by default

As Hendrik indicated...
2023-08-17 15:07:28 +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
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
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
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
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