Sebastian Walz 9f7b02e1cd
Tohu vaBohu
2023-04-03 14:38:02 +02:00

31 lines
774 B
Nix

{ context, core, thesis, ... }:
let
inherit(core) indentation;
debug = core.debug ( context ++ [ "backMatter" ] );
in
{ configuration, ... } @ document:
backmatter:
(
[
"{" indentation.more
]
++ [
"\\renewcommand*\\chapterpagestyle{empty}"
"\\pagestyle{empty}"
"\\renewcommand*\\thechapter{}"
"\\renewcommand*\\thesection{}"
"\\renewcommand*\\thesubsection{}"
"\\renewcommand*\\thesubsubsection{}"
]
++ (
if configuration.concise or false
then
[ ]
else
[ "\\newpage\\unrotatePages\\thispagestyle{empty}\\mbox{}" ]
)
++ backmatter
++ [ indentation.less "}" ]
)