aboutsummaryrefslogtreecommitdiff
path: root/lib/render/emit_csv.mli
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukas@labunix.xyz>2026-08-19 11:35:13 +0200
committerLukasz Kasprzak <lukas@labunix.xyz>2026-08-19 11:35:13 +0200
commita9464100bb02d74c90d585f8334f449b1fefa9d7 (patch)
tree9f70fda32e14c3204895b6f48d1f479283e24bad /lib/render/emit_csv.mli
parent717a6c2032d0df3669333dd52f993e8f84563bc2 (diff)
downloadcolitur-a9464100bb02d74c90d585f8334f449b1fefa9d7.tar.gz
colitur-a9464100bb02d74c90d585f8334f449b1fefa9d7.zip
fix(templates): grid.ms wall calendar dropped four of seven columns
pdftotext -layout of the shipped grid.ms showed only 3-4 of 7 columns and roughly a third of each month's day numbers: tbl's plain columns (no w()) size to their widest single entry and never wrap, so a long fallback slug (some run past 40 characters) forced every column that wide, the table ran far past the page, and whatever fell past the physical edge was gone, not merely ugly. groff exited 0 throughout (warnings, not errors), so make check-templates reported OK on a broken artefact. Fixed both halves. (a) The table now fits: true landscape via gropdf's own -P-pa4l (an in-document Xpapersize=a4l escape was tried and rejected -- it does not rotate the page in this groff), ms's own title macro widened back out after narrowing the line length for the title text (a second, independent way the original lost its width, found by reading s.tmac), and every column rewritten as a genuine tbl text-block (T{/T}, not a plain w() cell -- w() alone does not wrap, confirmed against tbl's own generated troff code) so long, hyphenated slugs wrap at their own hyphens instead of forcing the column wider. (b) check-templates now captures groff's stderr per template and fails the target if it is non-empty, rather than trusting groff's exit code. Verified: 0 warnings (was 12), pdftotext -layout shows all 7 columns and every day number for all 12 months (was 3-4 columns, ~12-23 of each month's day numbers). The golden fixture is regenerated: 0 "{{", 12 month headings, exactly one Ianuarius, and each week's block (now spread across several physical lines by the T{/T} wrap) carries exactly 6 tabs joining its 7 cells.
Diffstat (limited to 'lib/render/emit_csv.mli')
0 files changed, 0 insertions, 0 deletions