I didn't realize you were using TEI Lite. @rend is the next best thing,
On 15-05-19 04:44 PM, Michael Joyce wrote:
> Thanks Martin. Your assumptions are all correct.
> Using the @type on <head> was a shortcut to make the rendering a
> little easier - probably shouldn't do that I guess.
> @style doesn't seem to be defined in the TEI Lite guidelines so I
> chose @rend. But I can define the few styles we'll need, I think.
> 1. http://www.tei-c.org/release/doc/tei-p5-exemplars/html/tei_lite.doc.html
> On Tue, May 19, 2015 at 4:15 PM, Martin Holmes <[log in to unmask]> wrote:
>> Hi Michael,
>> If I understand you correctly, you're creating individual TEI files for each
>> story -- is that right?
>> If so, I think it means you're treating each story as an individual
>> document, and the title of the story belongs in the <titleStmt> in the
>> header (along with the author of the story, if known). Information about the
>> newspaper itself would belong in the <sourceDesc>.
>> Incidentally, I think the CSS code belongs in @style, not @rend; @rend
>> usually contains project-defined tokens, while @style is expected to have
>> Finally, I wonder if you need @type on <head> at all -- isn't it always the
>> case that the first head is the main title and a subsequent head is a
>> On 15-05-19 02:45 PM, Michael Joyce wrote:
>>> My collection of documents contains newspaper articles. We're not
>>> interested in the entire newspaper, or even a complete page - just
>>> individual article.
>>> They often have a title and subtitle printed in them. So far, we've
>>> been using markup like this:
>>> <div type='article'>
>>> <head rend="text-transform:uppercase;" type="h1"> Oscar Wilde Arrested.
>>> <head type="h2"> The Jury Finds Him Guilty of the
>>> Charges by the Marquis of Queensbery. </head>
>>> <p>London, Apr. 3.—The case of Oscar Wilde against the
>>> Marquis of Queensberry for
>>> libel was brought to a close this morning in a
>>> verdict in favor of the
>>> The @rend attribute contains CSS properties, and the @type attribute
>>> is meant to denote the level of the title. I initially decided to put
>>> them in the document body's div because that's where they appear in
>>> the printed page. But now I'm not sure, and I'm second guessing
>>> Is it better to put the title and subtitle in the titleStmt element in
>>> the header? Right now we're including the newspaper name and date
>>> there (which might not be the best place for them).