Log in

HCMC Journal

LEMDO 2025-09-22 to 2025-09-26

to : Martin Holmes
Minutes: 655

On Monday, worked on issue #374 and made the PDF build report more helpful for cases where a PDF contains more than on play. Also renamed all the Fair Em facsimile files and folders to FEm_… per SS.

On Tuesday, fixed a build break which was minor fallout from the renaming of facsimiles. Then worked on tickets, including a thorny bug in the PDF rendering which is caused by editors putting notes before punctuation and wanting them to appear after it. Will take time. Implemented a fix for a problem with role list rendering.

On Wednesday, fixed a bug in the fix I did on role list rendering, which was creating invalid TEI in an interim stage, then went back to the issue with repeated text arising from having to move footnotes around punctuation. Even after three hours I did not have a solution, but I had substantially cleaned up the process leading up to the problem processing pass, making it a bit easier to work on the problem. Eventually I discovered that the issue is linebreaks in the text node; if replace() is called on a string with linebreaks, it seems that multiple operations are done, one for each line, and so each piece is output separately. This now being solved, I was left with only one whitespace issue connected to it, which remained a slight puzzle.

On Thursday, I figured out the whitespace issue: outputting with <xsl:value-of separator=""> instead of <xsl:sequence> solves the problem, so it must be the case that <xsl:sequence> in this context was actually outputting a sequence of one empty string and one real string. Lesson learned. Then I worked on a couple of other tickets, including a brand-new one from today, and uploaded three new facsimile collections provided by SS.

On Friday, did some close checking to make sure that what is now being reported on the internal link check for anthologies is actually correct. Found another bug, whereby cast list items being imported into the appendix retained their editorial note attribute, which caused them to be turned into editorial notes, whereas they’re actually not. After fixing that, I did a few more tweaks to facsimile filenames per SS. Then met with JJ to devise a strategy for handling the EMEE taxonomies and generated pages; we made a couple of changes to the existing setup, and then I raised a ticket laying out for myself the additional work to be done next week.