This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: representing and rendering symbol characters
- To: Erik Hennum <erik dot hennum at informix dot com>, docbook-apps at lists dot oasis-open dot org
- Subject: Re: DOCBOOK-APPS: representing and rendering symbol characters
- From: Jirka Kosek <jirka at kosek dot cz>
- Date: Fri, 02 Feb 2001 11:06:06 +0100
- References: <4.0.2.20010201114713.00a00270@osprey.mp.informix.com><200102020051.QAA10892@osprey.informix.com>
Erik Hennum wrote:
> However, Netscape 4.7 on Windows doesn't render Α
>
> In fact, in my test document, Netscape 4.7 seems to render
> less than half of the generated Unicode characters. Internet
> Explorer 5.5 seems only a little better. For instance, neither
> seems to render any of the Unicode characters generated
> from iso-amsn.ent.
I this case, the easiest way would be use entities in XML, and at the
start of XML file redefine it replace with tags to insert corresponding
pictures. Once there will be better support for Unicode in browsers, you
will just switch off your declarations.
Do something like this:
<!DOCTYPE book PUBLIC "..." "..." [
<!ENTITY % myentities SYSTEM "myent.ent">
%myentities;
]>
<book>
... Use common entities like &Agr; ...
</book>
myent.ent File:
<!ENTITY Agr "<inlinemediaobject>
<imageobject>
<imagedata format='eps' fileref='Agr.eps'/>
</imageobject>
<imageobject>
<imagedata format='gif' fileref='Agr.gif'/>
</imageobject>
</inlinemediaobject>">
-----------------------------------------------------------------
Jirka Kosek
e-mail: jirka@kosek.cz
http://www.kosek.cz