From caee726e6bf81502c6c2f3bdc8043ce3102b1bf8 Mon Sep 17 00:00:00 2001 From: marius Date: Tue, 24 Feb 2026 08:00:55 +0100 Subject: [PATCH] Fix Anhangverzeichnis --- dhsn.typ | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dhsn.typ b/dhsn.typ index 92385df..dd52915 100644 --- a/dhsn.typ +++ b/dhsn.typ @@ -39,6 +39,7 @@ counter(heading).update(0) set heading(numbering: none) context if query(selector(figure).after(here())).len() > 0 { + { show regex("(\. ).+"): none { show heading: none @@ -46,6 +47,7 @@ } outline(title: "Anhangverzeichnis", target: selector(figure).after(here())) pagebreak() + } set figure(kind: raw, supplement: "Anhang") counter(figure.where(kind: raw)).update(0) @@ -185,7 +187,7 @@ pagebreak() context { - show regex("[. ].+"): none + show regex("(\. ).+"): none show ref: none if query(selector(figure.where(kind: image).before())).len() > 0 { {