Fun and games with page titles
In our born-digital documents, we're sometimes assuming that the page title will be taken from the teiHeader, and sometimes assuming that it will be the first div/head in the page; this is very confusing for code which is trying to render a title and then provide a TOC as well. I've put a very messy set of rules in place that attempts to render the page title based on what it can guess about the author's intent, but we're going to have to firm up our practice here. I think we need to formalize what we're doing here. For the page title, I think we should be using text/front/head in all situations, even where we have text/group following it. That would put the page title in the text without its being confused with a toc (which would be generated based either on body or on group). I'll have to figure out how best to make the changes smoothly, though.