This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
RE: Attributes for text direction and language
- From: "Christopher R. Maden" <crism at maden dot org>
- To: docbook at lists dot oasis-open dot org
- Date: Mon, 17 Jun 2002 18:28:04 -0700
- Subject: RE: DOCBOOK: 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-----