[tei-council] @style /rend/rendition coexistence

Sebastian Rahtz sebastian.rahtz at it.ox.ac.uk
Fri Oct 5 14:41:43 EDT 2012


On 5 Oct 2012, at 19:08, Lou Burnard <lou.burnard at retired.ox.ac.uk>
 wrote:

> 1. An element's style can be specified generically using the <rendition> 
> element. i.e. if I find a <foo> AND  there's a  <rendition> is supplied 
> within <tagUsage ident="foo">, then that's the default
> 
agreed. this is the fallback if none of rend/edition/style are found

> Unless...
> 
> 2. ... <foo rendition="#something"> means that the rendition supplied by 
> <rendition xml:id="something"> over-rides (or complements?) any default.

I would say overrides. The tagsDecl one is an alternative to the whole scheme.
> 
> or
> 
> 3. ... <foo style="text:style whatever"> works in the same way i.e. any 
> default is over-ridden (or complemented?)
I would say it overrides the default, and complements the context
> 
> or
> 
> 4. ... <foo rend="wibble"> is entirely independent of any rendition 
> rules inherited from <rendition>. My applications Just Have To Know what 
> wibbled text is and deal accordingly.

I would say @rend, @rendition and @style are mutually complementary
to the extent possible.

> 
> If that's so...
> 
> A. What does
> 
> <foo rendition="#something" style="something else"> mean?
> 
> Is it illegal? or does it mean that "#something" and "something else" 
> have to be unified,
yes,that

> B. What does
> 
> <foo style="something else" rend="wibble"> mean?
> 
> By rule 4, we Just Don't Know. But we don't feel brave enough to outlaw 
> it. Or do we?
> 
I would  say you unify it as best you can

> Outstanding questions.
> 
> -- What does "unification" mean if the expressions come from different 
> languages? (e.g FO and CSS)
you do the best you can. in the same way you interpret colour changes
on a black and white output

> 
> -- Where do we specify the language in which @style values are expressed ?


ah, now you're talking. we have to have a decl for it somewhere. i thought we
discussed that at F2F?
--
Sebastian Rahtz      
Director (Research Support) of Academic IT Services 
University of Oxford IT Services
13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431



More information about the tei-council mailing list