Wendat 2026-11-09 to 2026-11-13
to : Martin Holmes
Minutes: 480
On Monday, started work on the actual rendering of the narratives, and immediately encountered a significant difference in approach between the way the examples are rendered and the way we’ve planned to render the narratives; an example gets a single orth and gloss at the top of the page, and then each word in its hyph is rendered as a separate table, whereas the narratives require each bottom-level chunk to have its own form and sense even if it is a multi-word chunk. After getting the forms and senses to render in an interlinear flex-wrapped set of tables, I considered how the sub-elements should be rendered, wondering if they really they need to be nested tables, because although there are forms and senses at the chunk level, there are also forms and senses for each morpheme inside the hyph. Emailed ML to put this on the agenda for Tuesday’s meeting.
After thinking about it overnight, I proposed another approach to rendering the narratives, based on the fact that unlike the egs and the entries, they are expected to be read rather than consulted; then began figuring out the implications of this. By the end of the day, I was able to leverage the existing hyph processing template and suppress the captions with CSS to get some decent output, but I will have to pass some tunneled parameters into the processing to get exactly what I want, and ensure that the original calls to those same templates from eg and entry processing aren’t impacted. Also fixed a bug in the diagnostics. Then in the evening fixed another bug that showed up in the diagnostics.
On Thursday, started elaborating the processing of <hyph>s
so that the same basic template can generate alternative forms of output
for the narrative versus entry/eg case. I got all the levels showing correctly,
and then added controls to turn on and off specific interlinear rows using
pure CSS. Then I added classes to the controls themselves such that some will
not appear at all when you’re at basic or intermediate level, so there’s
less confusing complexity for those users. Finally, I configured the interlinear
rows so that they’re distinguishable by colour and partly by font style, and
wrote to ML to get some input on whether we should store and reload the
checkbox settings. She says we should, so I will go ahead and do that.
On Friday, I implemented @attribute attributes on the interlinear rows, and
fixed a couple of other problems with the style, then implemented the narrative
listing page processing-instruction to give us a working landing-page for the
texts.