This commit is contained in:
Jean-Marie Mineau 2025-09-15 10:03:02 +02:00
parent 5686c0b7fa
commit cd6bf3fcbc
Signed by: histausse
GPG key ID: B66AEEDA9B645AD2
2 changed files with 11 additions and 1 deletions

View file

@ -26,6 +26,15 @@
} else {
false
}
#let preliminary = if "preliminary" in sys.inputs {
assert(
sys.inputs.preliminary == "true" or sys.inputs.preliminary == "false",
message: "If --input preliminary=<val> is set, <val> must be 'true' or 'false'",
)
sys.inputs.preliminary == "true"
} else {
false
}
#let (show_cover, show_body, show_abstracts) = {
let show_cover = true
@ -74,6 +83,7 @@
show_cover: show_cover,
show_body: show_body,
show_abstracts: show_abstracts,
preliminary: preliminary,
)
// Preamble