diff options
| author | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-08-20 12:54:21 +0200 |
|---|---|---|
| committer | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-08-20 12:54:21 +0200 |
| commit | 1aeca948c2a2a82bffaaec65077140aa05f7b3f4 (patch) | |
| tree | be16ba832413db8d513c6f76a377180f16807e3a /templates/ef/grid.ms | |
| parent | aaca1304e9d00880b016d14529cf3809bd98fe39 (diff) | |
| download | colitur-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 'templates/ef/grid.ms')
| -rw-r--r-- | templates/ef/grid.ms | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/ef/grid.ms b/templates/ef/grid.ms index 7ed483a..b9bd868 100644 --- a/templates/ef/grid.ms +++ b/templates/ef/grid.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 |
