
Lee Passey wrote:
The principal work in creating the style sheet was in determining which TEI tags suggested a block presentation, which tags suggested an inline presentation,
TEI does not specify this, and many tags are 'ambivalent' about whether the do represent a block or not. The examples in the TEI specs often use the same tag in a different manner. Most of the time you just have to decide from context, ie. a <figure> inside a <p> is inline, a <figure> insid a <div> is block.
TEI has two tags for quotations, one apparently for long quotations (<quote>) and one apparently for short quotations, (<q>). I opted to treat <quote> as block-level tags (similar to the HTML <blockquote>) and <q> as inline (similar to the HTML <q>).
This is quite a departure from TEI philosphy, which requires that all presentational attributes be segregated into the rend attribute. Also TEI defines a semantical difference between <q> and <quote>. <q> is for direct speech and <quote> is for citation of sources.
While Mr. Perathoner's version of _Alice_ has a fairly complete <teiHeader> section, it did not have a title page;
It does not need a title page. A title page can easily be generated from the data in <teiHeader>.
I set <teiHeader> to "display:none", and added a <titlePage> to the file. I also fixed a small number of abuses of the <p> tag, and changed the tag for block-style quotations from <q> to <quote>. The resulting file can be found at http://www.passkeysoft.com/~lee/alice.xml.
This very much confirms my assertion that you have to tweak the TEI source not indifferently if you want to make it work with CSS. -- Marcello Perathoner webmaster@gutenberg.org