Can I create multiple output files with touying, e.g. first and second half of a presentation?

I am using touying to create slides for my course this winter semester. Currently I have multiple files, one for each chapter. However, for ease of use and convenience, I want to work on a single .typ file, and add something like

== break file here

so that when I compile it, it creates two files/sets of slide.

Is this possible? If I want to go this route currently, I have to open the large PDF and then ‘re-print’ as PDF with the page numbers I want.

You probably want to read this post,

It sounds possible to configure compilation to output parts of a document as long as they are probably indicated. Something like

#let part = int(sys.inputs.at("part", default: "0"))
// header
#if part == 0 or part == 1 {
  // part 1
} else if part == 0 or part == 2 {
  // part 2
}

Then you would compile with

typst c test.typ --input=part=1

for part 1 for example