More markup of latest article; XSLT/PDF rendering issues
Continued marking up US's article after getting some clarification on style from DC. This one has some more complex tables in it, in particular with cells spanning multiple rows, so I worked on ways to make those render acceptably. Using the TEI @rows attribute (and @cols) is fine when it comes to XHTML rendering, because they have corresponding attributes that perform the same purpose, so I got that working for XHTML. However, although there are XSL:FO attributes called @number-rows-spanned and @number-columns-spanned, they do not seem to be supported in the ageing version of FOP we're using, so I was forced to try other strategies. My initial approach was to use the @cols attribute to generate additional fo:table-cell elements as appropriate, but for some reason this also crashed the FOP renderer. In the end, I was forced to code in empty cells following each of the cells in question, and abandon the use of @cols and @rows in the markup. This is disappointing, but might be overcome with FOP 1.0, which we may be able to build into Cocoon in future, following the work done by RvdB, based on our build scripts.
I'm about half-way through the document now.