aboutsummaryrefslogtreecommitdiff
path: root/test/golden
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukas@labunix.xyz>2026-08-20 12:54:21 +0200
committerLukasz Kasprzak <lukas@labunix.xyz>2026-08-20 12:54:21 +0200
commit1aeca948c2a2a82bffaaec65077140aa05f7b3f4 (patch)
treebe16ba832413db8d513c6f76a377180f16807e3a /test/golden
parentaaca1304e9d00880b016d14529cf3809bd98fe39 (diff)
downloadcolitur-1aeca948c2a2a82bffaaec65077140aa05f7b3f4.tar.gz
colitur-1aeca948c2a2a82bffaaec65077140aa05f7b3f4.zip
docs(templates): fix groff Build: lines to match check-templates
ordo.ms's own Build: comment omitted -P-pa5 entirely, so the documented command produced A5-sized content on a physical A4 PDF page (595x842pt instead of 419x595pt) -- verified by running the command verbatim and reading pdfinfo. Both .ms Build: lines were also missing -Kutf8 and -t, which the Makefile's check-templates target already carries: without -Kutf8, accented Latin names (e.g. PeƱafort) render as mojibake, confirmed by extracting text from the rendered PDF. Bring both templates/ef/ordo.ms and templates/ef/grid.ms in line with the Makefile's actual invocation (-ms -t -Tpdf -Kutf8 <papersize>), so a user copying the Build: line gets the same result as 'make check-templates'. Updated the two golden fixtures that pin these templates' rendered output byte-for-byte to match. Verified every documented build command (README's two pdflatex invocations, both .ms lines, both .typ lines) by running it verbatim and checking pdfinfo/pdftotext output; no other flavour's Build: line or man page example was affected.
Diffstat (limited to 'test/golden')
-rw-r--r--test/golden/grid-2027.ms2
-rw-r--r--test/golden/ordo-2027.ms2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/golden/grid-2027.ms b/test/golden/grid-2027.ms
index b7539ed..94625ef 100644
--- a/test/golden/grid-2027.ms
+++ b/test/golden/grid-2027.ms
@@ -1,5 +1,5 @@
.\" colitur wall calendar -- groff ms with tbl. flavour: groff
-.\" Build: colitur table --year 2027 --template grid.ms | groff -ms -t -Tpdf -P-pa4l > grid.pdf
+.\" Build: colitur table --year 2027 --template grid.ms | groff -ms -t -Tpdf -Kutf8 -P-pa4l > grid.pdf
.\"
.\" LANDSCAPE, not the ms default portrait: with allbox cells and Latin-less
.\" days falling back to the raw slug (some fallback slugs run past 40
diff --git a/test/golden/ordo-2027.ms b/test/golden/ordo-2027.ms
index fc7c3c5..2952396 100644
--- a/test/golden/ordo-2027.ms
+++ b/test/golden/ordo-2027.ms
@@ -1,5 +1,5 @@
.\" colitur ordo booklet -- groff ms. flavour: groff
-.\" Build: colitur table --year 2027 --template ordo.ms | groff -ms -Tpdf > ordo.pdf
+.\" Build: colitur table --year 2027 --template ordo.ms | groff -ms -t -Tpdf -Kutf8 -P-pa5 > ordo.pdf
.\"
.\" The observed day's own display name is a PLAIN resolved string
.\" (View.of_days, Task 5), not a lang-keyed object -- there is no