diff --git a/dhsn.typ b/dhsn.typ index 15fe0e7..9145844 100644 --- a/dhsn.typ +++ b/dhsn.typ @@ -39,15 +39,16 @@ counter(heading).update(0) set heading(numbering: none) context if query(selector(figure).after(here())).len() > 0 { - show regex("[\n,;.]? *Quelle:.*"): none - show ref: none { - show heading: none - heading(numbering: none)[Anhangverzeichnis] + show regex("[\n,;.]? *Quelle:.*"): none + show ref: none + { + show heading: none + heading(numbering: none)[Anhangverzeichnis] + } + outline(title: "Anhangverzeichnis", target: selector(figure).after(here())) + pagebreak() } - outline(title: "Anhangverzeichnis", target: selector(figure).after(here())) - pagebreak() - set figure(kind: raw, supplement: "Anhang") counter(figure.where(kind: raw)).update(0)