Hi! I am new to typst, and I am using it under Windows (win11), with latest typst. I am using typst with touying (metropolis theme) and want to split slide groups into subfiles.
This is the intended file layout:
| main.typ
|
+---config
| settings.typ
\---slides
01_inhalt.typ
90_beispiele.typ
99_zusammenfassung.typ
I would like to have something like this as main.typ:
#include "config/settings.typ"
#include "slides/01_inhalt.typ"
#include "slides/90_beispiele.typ"
#include "slides/99_zusammenfassung.typ"
With each of the slides/*.typ using an import on settings.typ:
#import "../config/settings.typ": *
#show: metropolis-theme
#show: show-theorion
// content
But the changes to the metropolis theme from settings.typ seem not to appyl to the slides generated by the subfiles.
The settings.typ is (in parts), e.g.:
#let accents = (
a1: rgb("#0088BB"), // blue / primary
a1l: rgb("#66B3E6"), // lighter blue / lighter primary
a2: rgb("#BB3300"), // red
a3: rgb("#FA7D19"), // orange
a4: rgb("#97BE0D"), // green
a5: rgb("#FFC000"), // yellow
a6: rgb("#93117E"), // violett
d1: rgb("#1E1E1E"), // dark grey (as black substitution)
l1: white, // background
d2: rgb("#A6A6A6"), // grey / muted
l2: rgb("#FFFF66"), // light yellow / code block background
hy: rgb("#A6A6A6") // hyperlinks / muted by design
)
// ...
#show: metropolis-theme.with(
aspect-ratio: "4-3",
colors: brand-colors,
footer: self => self.info.institution,
config-info(
title: [MYTITLE],
author: [Christoph],
date: [2025-12-15],
institution: [My Institution]
),
config-colors(
primary: accents.a1,
primary-light: accents.a1l,
secondary: accents.a1,
neutral-lightest: accents.l1,
neutral-dark: accents.d1,
neutral-darkest: accents.d1
)
)
Probably, I would need to provide you with my settings.typ (I could, if necessary). But lets skip over my specific settings. Instead:
I wanted to ask openly what your general recommendations for large touying slide set project would be?