Log in

HCMC Journal

LEMDO 2024-08-26 to 2024-08-30

to : Martin Holmes
Minutes: 195

On Monday, added and tested some Schematron to catch common errors when using CSS flex. On Wednesday, discovered a large number of empty <l> elements which should not exist, so worked with NH to fix them all, then added Schematron to catch them in future. Then I realized that the build process did not fail on Schematron errors; instead, it completed, and only ended up being marked as failed by Jenkins’s log parsing. That’s inefficient, so I’ve tweaked the build so it fails immediately following the Schematron error report.

On Friday, discussed the PDF layout issues with DA, and she’s going to work on a completely standalone LaTeX layout that will reproduce what BGH has asked for; when that’s working, we can figure out how to retro-fit it into the current build. I also worked on the problem of table rendering in the PDF, using Mucedorus as the model. After trying various table packages I got the best (but imperfect) results from the tabulary package; however, with a fixed table-width, it’s never going to be possible to get perfect layout from every table, especially in large tables with wrapping cell content, so I think we may end up refactoring some of this input into list-like formats at build time instead of trying to reproduce actual tables. I also did some preliminary work on issue #197, the requirement to be able to link to taxonomy items in documentation pages, by adding in @xml:id attributes to the table for the taxonomy, and each row for the category.