[tei-council] @style /rend/rendition coexistence
James Cummings
James.Cummings at it.ox.ac.uk
Fri Oct 5 15:00:42 EDT 2012
I worry about some of the phrasing (which I realise are just
shorthand discussion here). When we talk about 'overriding' and
'processing' we have to make sure we are clear and consistent
that this is documenting how phenomena appeared in the source,
not how it is to be rendered in any particular output. One may
be taking the source text and generating a word list and want to
exclude words which were originally in italics or red or
something because this has a particular semantics. I only make a
plea that the Guidelines should be fairly agnostic about what a
processor does with rendition documentation. (This is entirely
separate from what Sebastian (and others) choose to implement as
default actions in the conversion stylesheets.)
Consistently pure, ;-)
-James
On 05/10/12 19:08, Lou Burnard wrote:
> Just to make sure we're all on the same page, here are some suggested
> rules on style/rend/rendition usage, to be documented in STGA as part of
> my introduction of @style.
>
>
> 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
>
> Unless...
>
> 2. ...<foo rendition="#something"> means that the rendition supplied by
> <rendition xml:id="something"> over-rides (or complements?) any default.
>
> or
>
> 3. ...<foo style="text:style whatever"> works in the same way i.e. any
> default is over-ridden (or complemented?)
>
> 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.
>
> 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, in just the same way as they would if "something
> else" were the default<rendition> for<foo> and I had supplied just the
> @rendition attribute.
>
> 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?
>
> Outstanding questions.
>
> -- What does "unification" mean if the expressions come from different
> languages? (e.g FO and CSS)
>
> -- Where do we specify the language in which @style values are expressed ?
>
>
>
--
Dr James Cummings, researchsupport at it.ox.ac.uk
Research Support, IT Services, University of Oxford
More information about the tei-council
mailing list