aboutsummaryrefslogtreecommitdiff
path: root/templates/ef/grid.ms
diff options
context:
space:
mode:
Diffstat (limited to 'templates/ef/grid.ms')
-rw-r--r--templates/ef/grid.ms25
1 files changed, 25 insertions, 0 deletions
diff --git a/templates/ef/grid.ms b/templates/ef/grid.ms
new file mode 100644
index 0000000..0ec2fb3
--- /dev/null
+++ b/templates/ef/grid.ms
@@ -0,0 +1,25 @@
+.\" colitur wall calendar -- groff ms with tbl. flavour: groff
+.\" Build: colitur table --year 2027 --template grid.ms | groff -ms -t -Tpdf > grid.pdf
+.\"
+.\" Day label falls back to the slug when the day carries no Latin name (most
+.\" temporal days, and most sanctoral entries, which are Latin-less in the
+.\" shipped data) -- see ordo.tex's own comment for why the fallback is
+.\" written as a name-section wrapping a plain var and its inverse, rather
+.\" than a single dotted lookup and its inverse.
+.\"
+.\" Every cell also carries a last flag, true on the seventh of its row: tbl
+.\" needs the tab separator BETWEEN columns, not after the last one, and the
+.\" engine has no unless-last construct, so the flag comes from data.
+.TL
+Calendarium {{year}} \(bu {{rite}}
+{{#months}}
+.SH
+{{name.la}}
+.TS
+allbox;
+c c c c c c c
+l l l l l l l.
+Dom Lun Mar Mer Iov Ven Sab
+{{#weeks}}{{#days}}{{#in_month}}{{dom}} {{#name}}{{la}}{{^la}}{{slug}}{{/la}}{{/name}}{{/in_month}}{{^last}} {{/last}}{{/days}}
+{{/weeks}}.TE
+{{/months}}