Completed text rendering
I have a basic (or rather better than basic) text rendering system in place now. The difficult questions are what type of information should be included or left out (for instance, links to external documents need to have their targets rendered, but links to internal components such as the ids of biblio items need not be included), and how to present information in such a way that it's passably complete and detailed, but not actually in any particular style (because we're going to have only one generic output format for text).
The finished system covers all the tags we've used in the two articles so far, and does a reasonable job, IMHO, of the bibliography. Spacing is rendered quite well, as is punctuation; the routines for handling these will come in handy when I move on to the XHTML, which comes next.