aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--before-title.tex2
-rw-r--r--hyph_ok_american.txt9
-rw-r--r--hyph_ok_any.txt4
-rw-r--r--hyph_ok_danish.txt60
-rw-r--r--report.qmd14
6 files changed, 90 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 759fb99..a8579b5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
**/*.quarto_ipynb
_site/
_LIB
+*.uhy
diff --git a/before-title.tex b/before-title.tex
new file mode 100644
index 0000000..a12bb98
--- /dev/null
+++ b/before-title.tex
@@ -0,0 +1,2 @@
+% refine hyphenation
+\babelhyphenmins{3}{3}
diff --git a/hyph_ok_american.txt b/hyph_ok_american.txt
new file mode 100644
index 0000000..6b297e7
--- /dev/null
+++ b/hyph_ok_american.txt
@@ -0,0 +1,9 @@
+con-stants
+contractarian-ism
+contractu-alism
+copy-right
+founda-tion
+innova-tion
+jurispru-dence
+obli-gations
+philosophi-cal
diff --git a/hyph_ok_any.txt b/hyph_ok_any.txt
new file mode 100644
index 0000000..952e2dd
--- /dev/null
+++ b/hyph_ok_any.txt
@@ -0,0 +1,4 @@
+cappe-len
+chop-ra
+httpssourceabcdefghijklmnopqr-stuvxyzæøådkcopyleft
+stan-ford
diff --git a/hyph_ok_danish.txt b/hyph_ok_danish.txt
new file mode 100644
index 0000000..ce68ea3
--- /dev/null
+++ b/hyph_ok_danish.txt
@@ -0,0 +1,60 @@
+aktø-rers
+balka-nisering
+begrænsnin-ger
+bern-erkonventionen
+beva-rel-sen
+bevidsthe-dens
+bre-deste
+bru-gere
+copy-right
+der-med
+egen-interesser
+ende-lige
+fanger-nes
+forbed-ringer
+frem-syn
+fæl-leder
+gen-fortælling
+gen-nem
+glide-baneargument
+impli-kationer
+implikatio-nerne
+indehol-dende
+innova-tion
+klas-siske
+kombi-nation
+kom-mer
+konse-kventialisme
+konsekven-tialister
+kontraktarianis-men
+licen-ser
+license-ring
+luk-kede
+moral-filosofiske
+obstru-ering
+oriente-ret
+ovenstå-ende
+pragma-tiske
+prin-cip
+pro-blematiseres
+program-koden
+ratio-nale
+reciproci-tet
+repræsente-rer
+rettighe-derne
+samfun-det
+sam-menhænge
+software-programmer
+source-software
+stem-mer
+sub-stans
+til-stand
+ubegrun-dede
+udbre-delse
+udtøm-mes
+udvæl-gelsen
+util-fredsstillende
+utili-taristisk
+vurderin-gen
+vurde-ringer
+ønskeba-seret
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][]{%