Work on TOC rendering
Posted by mholmes on 02 May 2011 in Activity log
Started working on rendering of TOC code, as described here. These are the changes I've made:
- I made substantial edits to Le Bon Mariage, Ville-Thierry and Le Blanc to fix minor inconsistencies and missing attributes.
- I added a special handler for
<ref type="pageNum">which processes a TOC page number into a link to the<fw>containing that page number. Note, though, that none of the<fw>tags in question actually has an@xml:idattribute yet, with the exception of one that I added to Le Bon Mariage for testing. I'll probably try to automate the addition of those attributes. - I added an appropriate CSS ruleset for the page numbers.
Basically everything seems to be working, although the page width of the Ville-Thierry is still wrong; I need to work on that a little. But someone else will take over the markup of that document at some point, so it could be left to them.