fix: allow disabeling statement pages #126

Merged
servostar merged 1 commits from fix/disable-statements into main 2025-04-15 16:00:42 +00:00
4 changed files with 12 additions and 0 deletions

View File

@ -42,6 +42,8 @@
bibliography: none, /* bibliography("refs.bib") */ bibliography: none, /* bibliography("refs.bib") */
glossary: none, glossary: none,
appendices: none, appendices: none,
confidentiality: true,
authorship: true,
), ),
style: ( style: (
header: ( header: (

View File

@ -8,6 +8,10 @@
#let new_confidentiality_statement_page(config) = ( #let new_confidentiality_statement_page(config) = (
context { context {
if not config.thesis.confidentiality {
return
}
pagebreak(weak: true) pagebreak(weak: true)
let thesis = config.thesis let thesis = config.thesis

View File

@ -8,6 +8,10 @@
#let new_declaration_of_authorship(config) = ( #let new_declaration_of_authorship(config) = (
context { context {
if not config.thesis.authorship {
return
}
pagebreak(weak: true) pagebreak(weak: true)
let thesis = config.thesis let thesis = config.thesis

View File

@ -40,6 +40,8 @@
bibliography: bibliography("refs.bib"), bibliography: bibliography("refs.bib"),
glossary: yaml("glossary.yml"), glossary: yaml("glossary.yml"),
appendices: include "appendix.typ", appendices: include "appendix.typ",
confidentiality: false,
authorship: false
), ),
style: ( style: (
header: ( header: (