ravenous_typst/main.typ

60 lines
2.1 KiB
Plaintext

//----- Load the main document configuration -----
#import "/setup/setup.typ": build-config, chapter-enabled, config_main, disable-warnings
#show: config_main
//----- Apply the warning policy from data/config/build.yaml -----
#if not build-config.warnings { disable-warnings() }
//----- Front matter -----
#if chapter-enabled("title") { include "chapters/title.typ" }
#if chapter-enabled("acknowledgements") {
include "chapters/acknowledgements.typ"
}
// Keep the edition information before the table of contents. The final break
// also guarantees that the first enabled content chapter starts on a new page.
#if chapter-enabled("title") {
outline(title: "Table des matières")
pagebreak(weak: false)
}
//----- Core rulebook chapters -----
#if chapter-enabled("presentation") {
include "chapters/introduction/presentation.typ"
}
#if chapter-enabled("geography") {
include "chapters/introduction/geography.typ"
}
#if chapter-enabled("hunters-and-calamities") {
include "chapters/introduction/hunters_and_calamities.typ"
}
#if chapter-enabled("predation") {
include "chapters/introduction/predation.typ"
}
#if chapter-enabled("origins") { include "chapters/origines.typ" }
#if chapter-enabled("schools") { include "chapters/schools/schools.typ" }
#if chapter-enabled("crafting") { include "chapters/artisanat.typ" }
//----- Additional chapters planned for later integration -----
#if chapter-enabled("races") { include "chapters/races.typ" }
#if chapter-enabled("rules") { include "chapters/rules/rules.typ" }
#if chapter-enabled("creation") { include "chapters/creation.typ" }
#if chapter-enabled("character_sheet") {
include "chapters/character_sheet.typ"
}
#if chapter-enabled("faq") { include "chapters/faq.typ" }
#if chapter-enabled("master-screen") { include "chapters/master_screen.typ" }
#if chapter-enabled("experience-gains") {
include "chapters/experience_gains.typ"
}
#if chapter-enabled("game-master-help") {
include "chapters/game_master_help.typ"
}
#if chapter-enabled("bestiary") { include "chapters/bestiaire.typ" }
// Tests
// #include "symbol_test.typ"