Subject: XHTML <-> abw conversion question
From: Tomas Frydrych (tomas@frydrych.uklinux.net)
Date: Tue Oct 16 2001 - 17:07:50 CDT
How well can we represent AW document in XHTML? Are there
any significant features that we cannot save correctly?
The reason I ask is that RTF is not best for passing bidi documents
to Word. When Word imports RTF document, its bidi algorithm
depends solely on the \ltrch and \rtlch tokens. The problem is that
bidi properties of text cannot be described adequately by mere two
character types. To create the RTF file we have to convert all the
characters the visual direction of which is context-sensitive to \ltrch
or \rtlch, which requires making assumptions about the final layout
of the text that cannot be granted (e.g., the end reader might have
a slightly different font installed than the author and that might
result in different linebreaking).
In contrast, when Word opens an XHTML document, it uses a
Unicode-based algorithm to do the layout. From this point of view it
would be much more suitable format to use to pass docs to Word.
Tomas
This archive was generated by hypermail 2b25 : Tue Oct 16 2001 - 17:08:35 CDT