Need help setting up #outline() in Bundle
Edit: solved
#document("index.html", title: [Home])[
#title()
#set heading(numbering: "1.")
#outline()
#link(<blog>)[Go to blog]
]
#document("chapter-01.html", title: [Blog])[
#title()
Welcome to my blog!
= Heading 01
== Heading 02
=== Heading 03
==== Heading 04
===== Heading 05
This blog also exists as a
#link(<blog-pdf>)[single PDF].
] <blog>
#document("book.pdf", title: [Blog])[
#set heading(numbering: "1.")
#outline()
Welcome to my blog!
= Heading 01
== Heading 02
=== Heading 03
==== Heading 04
===== Heading 05
include "other chapters..."
] <blog-pdf>
#asset(
"favicon.ico",
read("images/favicon.ico", encoding: none),
)
cmd: typst compile main.typ dist --format bundle
The problem I am facing is that the outline produced in index.html contains TOC of both html and pdf. while I only want TOC of appropriate format.