mirror of
https://github.com/hendricius/the-sourdough-framework
synced 2025-11-23 19:41:12 -06:00
* 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
137 lines
2.7 KiB
TeX
137 lines
2.7 KiB
TeX
\documentclass[a4paper, 12pt]{book}
|
|
|
|
% General packages
|
|
\usepackage[utf8]{inputenc}
|
|
\usepackage{blindtext}
|
|
\usepackage{graphicx}
|
|
\usepackage{pgfplotstable}
|
|
\usepackage{booktabs}
|
|
\usepackage{filecontents}
|
|
\usepackage{longtable}
|
|
\usepackage{float}
|
|
\usepackage[T1]{fontenc}
|
|
\usepackage{tocloft}
|
|
\usepackage{tex4ebook}
|
|
\usepackage{chemformula}
|
|
\usepackage{booktabs}
|
|
\usepackage{makecell}
|
|
|
|
\renewcommand\theadfont{\bfseries}
|
|
|
|
% Fonts for accessibility
|
|
\ifdefined\isaccessible
|
|
\usepackage{helvet}
|
|
\renewcommand{\familydefault}{\sfdefault}
|
|
\fi
|
|
|
|
% References
|
|
\usepackage[backend=biber]{biblatex}
|
|
\addbibresource{references.bib}
|
|
|
|
% Clickable links in the table of contents
|
|
\usepackage[hidelinks]{hyperref}
|
|
\hypersetup{
|
|
linktoc=all
|
|
allcolors=black
|
|
}
|
|
|
|
% Folders where to search for images
|
|
\graphicspath{
|
|
{images/}
|
|
{troubleshooting/}
|
|
{sourdough-starter/}
|
|
{troubleshooting/crumb-structures/}
|
|
{history/}
|
|
{images/external/}
|
|
{baking/}
|
|
{wheat-sourdough/}
|
|
{wheat-sourdough/shaping/}
|
|
{non-wheat-sourdough/}
|
|
}
|
|
|
|
% Layout rules
|
|
\interfootnotelinepenalty=10000
|
|
\advance\cftsecnumwidth 0.5em\relax
|
|
\advance\cftsubsecindent 0.5em\relax
|
|
\advance\cftsubsecnumwidth 0.5em\relax
|
|
|
|
% Space between paragraphs
|
|
\usepackage[skip=5pt plus1pt, indent=0pt]{parskip}
|
|
|
|
% Caption and figure size below images
|
|
\usepackage{caption}
|
|
\captionsetup[figure]{font=footnotesize}
|
|
|
|
% Basic attributes
|
|
\author{Hendrik Kleinwächter}
|
|
\title{The Sourdough Framework}
|
|
|
|
\begin{document}
|
|
|
|
% Title page
|
|
\begin{titlepage}
|
|
\centering
|
|
\includegraphics[width=\textwidth]{images/cover-page.jpg}
|
|
Version:
|
|
\today
|
|
\end{titlepage}
|
|
|
|
\frontmatter
|
|
|
|
\tableofcontents
|
|
|
|
\chapter{Foreword}
|
|
\input{intro/foreword}
|
|
|
|
\chapter{Preface}
|
|
\input{intro/preface}
|
|
|
|
\chapter{Acknowledgements}
|
|
\input{intro/acknowledgements}
|
|
|
|
|
|
\mainmatter
|
|
|
|
\chapter{The history of sourdough}
|
|
\input{history/sourdough-history}
|
|
|
|
\chapter{How sourdough works}
|
|
\input{basics/how-sourdough-works}
|
|
|
|
\chapter{Making a sourdough starter}
|
|
\input{sourdough-starter/sourdough-starter}
|
|
|
|
\chapter{Sourdough starter types}
|
|
\input{sourdough-starter/sourdough-starter-types}
|
|
|
|
\chapter{Flour types}
|
|
\input{flour-types/flour-types}
|
|
|
|
\chapter{Bread types}
|
|
\input{bread-types/bread-types}
|
|
|
|
\chapter{Wheat sourdough}
|
|
\label{chapter:wheat-sourdough}
|
|
\input{wheat-sourdough/wheat-sourdough}
|
|
|
|
\chapter{Non wheat sourdough}
|
|
\label{chapter:non-wheat-sourdough}
|
|
\input{non-wheat-sourdough/non-wheat-sourdough}
|
|
|
|
\chapter{Baking}
|
|
\label{chapter:baking}
|
|
\input{baking/baking}
|
|
|
|
\chapter{Storing bread}
|
|
\label{chapter:storing-bread}
|
|
\input{storing-bread/storing-bread}
|
|
|
|
\chapter{Troubleshooting}
|
|
\input{troubleshooting/crumb-structures/crumb-structures}
|
|
\input{troubleshooting/misc}
|
|
|
|
\printbibliography
|
|
|
|
|
|
\end{document}
|