Hello,
I have different kind of outlines and I would like to have different outline.entry styles based on the kind of outline it is.
#outline(title: "Inhaltsverzeichnis", indent: 2em)
= Abbildungsverzeichnis
#outline(title: none, indent: 2em, target: figure.where(kind: image))
= Tabellenverzeichnis
#outline(title: none, indent: 2em, target: figure.where(kind: table))
If it is the default out line I would like to apply the following, otherwise it should use the default.
#show outline.entry.where(level: 1): it => {
strong[
#v(2em, weak: true)
#it.body
#h(1fr)
#it.page
]
}
I tried #show outline.where(kind: heading).entry.where
but it doesn’t work. How can I achieve this?