summaryrefslogtreecommitdiff
path: root/templates/ef/grid.ms
diff options
context:
space:
mode:
Diffstat (limited to 'templates/ef/grid.ms')
-rw-r--r--templates/ef/grid.ms17
1 files changed, 16 insertions, 1 deletions
diff --git a/templates/ef/grid.ms b/templates/ef/grid.ms
index 2244815..727143b 100644
--- a/templates/ef/grid.ms
+++ b/templates/ef/grid.ms
@@ -78,6 +78,19 @@
.\" 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.
+.\"
+.\" Sigla: each cell also carries the day's Epistle and Gospel references
+.\" (view fields first/gospel), on their own .br line below the day/name
+.\" line and joined by \(bu rather than repeated Ep./Ev. labels -- the
+.\" same compact choice grid.tex makes, and the same separator glyph
+.\" ordo.ms already uses elsewhere in this template family. tbl's own
+.\" w() wrap (see above) takes care of a citation too long for the 1.3i
+.\" column; no template-side line-splitting is needed here the way
+.\" grid.tex needed one for its own fixed-height parbox. Both first and
+.\" gospel are wrapped in their own conditional section (mirroring
+.\" ordo.ms's own idiom) so a day missing either -- none does in the
+.\" shipped EF lectionary, but nothing guarantees a future rite or
+.\" overlay keeps that invariant -- prints no stray separator.
.pl 8.27i
.po 0.3i
.nr LL 10.9i
@@ -95,7 +108,9 @@ cw(1.3i) cw(1.3i) cw(1.3i) cw(1.3i) cw(1.3i) cw(1.3i) cw(1.3i)
lw(1.3i) lw(1.3i) lw(1.3i) lw(1.3i) lw(1.3i) lw(1.3i) lw(1.3i).
{{#weekday_headings}}{{name}}{{^last}} {{/last}}{{/weekday_headings}}
{{#weeks}}{{#days}}T{
-{{#in_month}}\fB{{dom}}\fP \s-2{{name}}\s+2{{/in_month}}
+{{#in_month}}\fB{{dom}}\fP \s-2{{name}}\s+2
+.br
+\s-2{{#first}}{{first}}{{/first}}{{#gospel}}{{#first}} \(bu {{/first}}{{gospel}}{{/gospel}}\s+2{{/in_month}}
{{#last}}T}{{/last}}{{^last}}T} {{/last}}{{/days}}
{{/weeks}}.TE
{{/months}}