Compare commits

3 Commits
ieee ... main

Author SHA1 Message Date
16ab666f74 Bump acrostiche to v0.7.0 2026-03-04 21:29:18 +01:00
7bc2ba0c33 backport addendum-index fix 2026-02-24 08:06:21 +01:00
78966cecde backport/update dependencies 2026-02-12 08:01:12 +01:00

View File

@@ -1,4 +1,4 @@
#import "@preview/acrostiche:0.6.0": *
#import "@preview/acrostiche:0.7.0": *
#let statement(location, submission-date, gender) = context [
#pagebreak()
@@ -39,6 +39,7 @@
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
{
@@ -48,13 +49,15 @@
outline(title: "Anhangverzeichnis", target: selector(figure).after(here()))
pagebreak()
}
set figure(kind: raw, supplement: "Anhang")
counter(figure.where(kind: raw)).update(0)
[= #supplement <dhsn.addendum>]
body
pagebreak()
} else {
body
}
}
#let dhsn(
topic: "Thema der Arbeit",
@@ -83,6 +86,12 @@
set heading(numbering: (..nums) => nums.pos().map(str).join("."))
set bibliography(style: "harvard-cite-them-right", title: "Literaturverzeichnis")
set document(
title: topic,
author: author,
description: [#subtitle],
date: submission-date,
)
set cite(form: "prose")
show cite: c => {
show "ohne Datum": "o.D."
@@ -202,7 +211,7 @@
}
context {
if (acros.get() != none and acros.get().len() > 0) {
if (_acronyms.final() != none and _acronyms.final().len() > 0) {
{
show heading: none
heading(numbering: none)[Abkürzungsverzeichnis]