import Book import Manual.Meta open Verso.Genre Manual open Verso.Genre.Manual -- The static assets (theme, fonts, KaTeX) follow the setup of -- Peter Pfaffelhuber's course notes, https://github.com/pfaffelh/leancourse. -- Kein eigenes KaTeX mehr: Das aktuelle Verso liefert seinen eigenen -- Mathe-Renderer mit (-verso-data/katex/…); eine zweite Kopie würde -- jede Formel doppelt rendern. open Verso.Output.Html in def staticCss := {{ }} open Verso.Output.Html in def staticJs := {{ }} def main := manualMain (%doc Book) (config := config) where config := { extraFiles := [("static", "static")], extraHead := #[staticCss, staticJs], emitTeX := false, -- Deployt wird nur die Multi-Page-Ausgabe; die -- Single-Page-Ausgabe wäre doppelte Generierungsarbeit. emitHtmlSingle := .no, emitHtmlMulti := .immediately, }