summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2025-06-18 12:19:33 +0200
committerJonas Smedegaard <dr@jones.dk>2025-06-18 13:08:56 +0200
commitccbb4f86bf613c8a5289d207d381776e0a169156 (patch)
tree66843264838edb2ffa2454452aba3271b6fdac7d /Makefile
parent961fd66ffb8f750d028368137ef4a8d44ceb86aa (diff)
use CTAN package lua-check-hyphen; refine hyphenation
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 581cdfc..0e68733 100644
--- a/Makefile
+++ b/Makefile
@@ -21,6 +21,9 @@ offset: $(wildcard tryk/oroeposten_*_offset.qmd)
lint-markdown:
@mdl --ignore-front-matter --style .mdl.rb */*.qmd */*/*.qmd
+lint-hyphenation:
+ @grep -Fxvh -f tryk/hyph_ok_danish.txt tryk/*.uhy
+
$(patsubst %_offset.pdf,%_offset_cmyk.pdf,$(wildcard _site/tryk/*_offset.pdf)):\
%_offset_cmyk.pdf: %_offset.pdf
gs -dSAFER -dBATCH -dNOPAUSE \
@@ -34,4 +37,4 @@ $(patsubst %_offset.pdf,%_offset_cmyk.pdf,$(wildcard _site/tryk/*_offset.pdf)):\
-sDefaultCMYKProfile=/usr/share/color/icc/PSO_Uncoated_ISO12647_eci.icc \
$<
-.PHONY: all preview render publish offset lint-markdown
+.PHONY: all preview render publish offset lint-markdown lint-hyphenation