diff --git a/book/website.cfg b/book/website.cfg index b87e680..85f0dff 100644 --- a/book/website.cfg +++ b/book/website.cfg @@ -1,63 +1,4 @@ \Preamble{xhtml,2,sec-filename,fn-in,fonts,svg,mathml,mathjax,nostyle} -\DeclareGraphicsExtensions{.png,.svg,.jpg,.jpeg,.JPG,.eps,.pdf,.mps} -% fix rendering of degree celsius -\DeclareSIUnit\degreeCelsius{\text{°C}} -\Configure{Gin-dim}{} -\Css{img { - max-width: 100\%; - height: auto; -}} - -\Configure{AddCss}{style.css} -\AddToHook{env/tikzpicture/begin}{\fontfamily{opensans-TLF}\selectfont} -\Configure{@HEAD}{\HCode{ -}} -\ConfigureEnv{titlepage}{\ifvmode\IgnorePar\fi\EndP\HCode{
}}{\ifvmode\IgnorePar\fi\EndP\HCode{
}}{}{} - -% Mini TOC -\Configure{crosslinks+}{% - \bgroup - % container for the page toc - \Configure{tableofcontents}{\IgnorePar\EndP\HCode{\Hnewline}\ShowPar}{}{}% - \TableOfContents[chapter,section,subsection]% Print table of contents before crosslinks - \egroup - \ifvmode\IgnorePar\fi\EndP% - \HCode{
\Hnewline\Hnewline}} -{\ifvmode\IgnorePar\fi\EndP% - \HCode{}}{}{} - -% configuration for TOC on the main page -\Configure{tableofcontents}{\IgnorePar\EndP\HCode{\Hnewline
\Hnewline}\ShowPar}{}{}% - -% close the
element started in \Configure{crosslinks+} -\Configure{@/BODY}{\ifvmode\IgnorePar\fi\EndP\HCode{
}} -% Goatcounter counting - -\renewcommand\listofflowcharts{% -\chapter*{\listoflocname}% -\TableOfContents[loc]% -} -\ConfigureToc{loc}{\HCode{}}{\ }{}{\HCode{
}} - -\ExplSyntaxOn -\def\standaloneenv#1{} -\pend:def\schemestart{\Picture+{}} -\append:def\CF_schemestop{\EndPicture} -\ExplSyntaxOff -\makeatletter -\def\texfourht@tikz@begin{ - \protect\csname nested:math\endcsname% support display math - \Picture+[\csname a:Picture-alt\endcsname]{}% -} -\makeatother \begin{document} \EndPreamble