From 7bc2ba0c3311113fe80087f5ed1bebe0009630b1 Mon Sep 17 00:00:00 2001 From: marius Date: Tue, 24 Feb 2026 08:06:21 +0100 Subject: [PATCH] backport addendum-index fix --- dhsn.typ | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) 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)