From 802e2c200c4db8f8ab9987259bb5dd7c6d1a275d Mon Sep 17 00:00:00 2001
From: Jonas Smedegaard <dr@jones.dk>
Date: Fri, 12 Dec 2025 21:50:57 +0100
Subject: track hyphenation

---
 report.qmd | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

(limited to 'report.qmd')

diff --git a/report.qmd b/report.qmd
index 7637fe2..673e066 100644
--- a/report.qmd
+++ b/report.qmd
@@ -12,6 +12,8 @@ format:
     pdfversion: "2.0"
     pdfstandard: [A-4f, UA-2]
     tagging: on
+    template-partials:
+      - before-title.tex
 
 metadata-files:
   - _actors.yml
@@ -29,6 +31,18 @@ filters:
   - nobreaks
 
 include-in-header:
+# refine hyphenation
+- text: |
+    \usepackage{lua-check-hyphen}
+    \LuaCheckHyphen{compact,whitelist={%
+      hyph_ok_any.txt,%
+      hyph_ok_american.txt,%
+      hyph_ok_danish.txt,%
+    }}
+    \babelhyphenation[danish]{
+      ind-ram-mer % in-drammer
+      videns-etab-ler-ing % viden-setablering
+    }
 # add alt text to embedded image, to aid non-visual rendering
 - text: |
     \renewcommand{\doclicenseImage}[1][]{%
-- 
cgit v1.2.3

