From ccbb4f86bf613c8a5289d207d381776e0a169156 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Wed, 18 Jun 2025 12:19:33 +0200 Subject: use CTAN package lua-check-hyphen; refine hyphenation --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') 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 -- cgit v1.2.3