This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Attributes for text direction and language


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

At 17:23 17/6/02, HAMILTON,DICK (HP-FtCollins,ex1) wrote:
>I just took at look at the unicode bidirectional algorithm
>as described in: http://www.unicode.org/unicode/reports/tr9/.
>It is very complex and I don't claim to understand it in its
>full glory, but there are codes that provide explicit directional
>information, and the handling of numbers is covered in some
>detail in the algorithm.  I can't say for sure if it will handle
>what you're doing, but since Hebrew was explicitly considered in
>the development of the algorithm, I think there's a good chance
>it will do what you need (if browsers and stylesheets use the
>algorithm).

Embedding the bidi-override characters directly in your content would be a 
bad idea.  Those are really only for text-only use; when you have a 
semantic layer (such as SGML or XML), it's much better to use that.

DocBook probably should add the equivalent of HTML's BDO elements or global 
dir attribute; in the meantime, you could use a generic <phrase> with a 
role attribute.

~Chris
- -- 
Christopher R. Maden, Principal Consultant, crism consulting
DTDs/schemas - conversion - ebooks - publishing - Web - B2B - training
<URL: http://crism.maden.org/consulting/ >
PGP Fingerprint: BBA6 4085 DED0 E176 D6D4  5DFC AC52 F825 AFEC 58DA
-----BEGIN PGP SIGNATURE-----
Version: PGP Personal Privacy 6.5.8

iQA/AwUBPQ6MpKxS+CWv7FjaEQLGWgCg4bvNguQVBmVBoDOk+Hli2kxNK2EAn0gw
B72y/AqAod59F9hJ6W1OGG9l
=m92U
-----END PGP SIGNATURE-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]