Fixes to CSS and XSLT
Posted by mholmes on 14 Apr 2011 in Activity log
Fixed some bugs in CSS and XSLT shown up by Le Bon Mariage:
- Unordered lists had no default text-align, so they were inheriting it from (eg) a parent text front div, meaning they'd end up centred. It's almost always the case that they should be left-aligned, so I made that the default in the CSS.
- Some text paragraphs (those with no @rend attribute) were failing to inherit the default paragraph style from the
<teiHeader>
; this turned out to be a bug in the XSLT, which I fixed. - Marginal (authorial) notes (
<note type="marginal">
) were being treated as editorial notes, and turned into buttons with popups, so I suppressed that (and see below).
Also added handling for the marginal notes, grouping them in with the arguments, because that's the way to handle them IMHO; in some cases too, judging by EGB's markup, it's hard to tell the difference between them. So the argument markup now handles editorial marginal notes.
In the process, I fixed a few typos in the Bon Mariage XML file too.
Note to self: TOCs are still not being handled at all. That's a must-do sometime soon.
This entry was posted by Martin and filed under Activity log.