Unless I'm missing something, this is a major omission. I can't find any
mention of bidi, rtl, or anything else related to directionality.
Unicode codepoints have inherent directionality, which sort of solves
the problem for languages such as Arabic and Hebrew, but for languages
such as Japanese which can be written in various directions, there is
definitely a need to be able to handle this. You could use something
like @rend="rtl", or you could use the Unicode directionality flag
U+202A: LEFT-TO-RIGHT EMBEDDING (LRE)
U+202B: RIGHT-TO-LEFT EMBEDDING (RLE)
U+202D: LEFT-TO-RIGHT OVERRIDE (LRO)
U+202E: RIGHT-TO-LEFT OVERRIDE (RLO)
U+202C: POP DIRECTIONAL FORMATTING (PDF)
but I think that's a poor solution from the point of view of processing.
advises using markup instead of, or in addition to, CSS to indicate
directionality. HTML has the @dir attribute, and I'm a little surprised
that there's no xml:dir we could adopt.
On 12-01-13 05:34 AM, Christian Wittern wrote:
> Dear fellow TEIers,
> This might sound strange, coming from me, but today for the first time I
> felt the need to indicate the directionality of the writing of a text (as
> there is a mixture of directionality: top/down and left/right vs left/right
> top/down). I remember vaguely, a few years ago when we discussed this, it
> was thought this could/should be done with @rend and CSS. Now while looking
> at the new material in 11.2.2 I see the following sentence:
> <quote>Depending on the directionality of the writing system used, this
> might be any combination of top- down and left to right, or vice versa.</quote>
> But there is no other mentioning of directionality in the whole Guidelines
> and certainly no indication of how this should be done. Does anybody have
> any idea about this?
> Enough for today, good night,