From 5bd301ef4589f30d0b18899a91df094aec74bf90 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 7 Dec 2023 14:39:21 -0800 Subject: Typst writer/template: support `--toc-depth` as in other writers. Closes #9242. --- data/templates/default.typst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data') diff --git a/data/templates/default.typst b/data/templates/default.typst index 7682c5bea..55864de92 100644 --- a/data/templates/default.typst +++ b/data/templates/default.typst @@ -76,7 +76,7 @@ $endfor$ $if(toc)$ #outline( title: auto, - depth: none + depth: $toc-depth$ ); $endif$ -- cgit v1.2.3