ファイルの分割
#for
関数と #include
関数を使って分割されたファイルを読み込みします。
複数のファイルに分割することで項目ごとに編集管理しやすくできます。
// ファイルのパスを配列にする#let chapters = ( "content/text-format.typ", "content/heading.typ", "content/list.typ", "content/codeblock.typ", "content/formula.typ",)
= ここからchaptersが配列順にそれぞれ並ぶ
#for chapter in (chapters) { include(chapter)}