Preparation for rendering of Stow
Posted by mholmes on 01 Apr 2014 in Activity log
Today I did some research on the structure of Stow and the size of sections, and sent email to the team laying out some issues we need to discuss, and some suggestions, for how we might chunk and render Stow.
I then went on to make a number of changes to the Stow encoding and to rendering rules in preparation for serious work on this. All the changes below have been made identically in the main Stow file and the Meredith file:
- I've added some
<rendition>
elements to the header for display of marginal labels, page numbers, running headers, catchwords etc. I still have to handle signatures and default paragraph indents. - I've added some basic page dimension CSS to the @style attribute on the main
<text>
element. - I've changed all marginal "notes" to labels (that's what they actually are in almost all cases I can see), and linked them to their rendition elements.
- I've linked all page numbers and running headers to rendition elements.
- I've added handling for choice/sic/corr to the rendering.
- I've fixed up the page-by-page rendering so you can use the showDraft flag in the URL and it will be preserved as you move from page to page. This should make it easier to page through the rendered document while it's still in draft.
- I've eliminated spaces following
<lb/>
tags, since they really shouldn't be there (the idea is that the word is unbroken when indexed).