[xep-support] Question about rendering character references

From: Powell, Todd <Todd.Powell@hq.doe.gov>
Date: Fri Jul 22 2005 - 08:30:02 PDT

Hi,

I'm having a lot of trouble figuring out how to get character references
(e.g. &dgr; for lower-case greek delta) to be rendered in the resulting PDF
from XEP 4.4.

My starting XML file specifies UTF-8 encoding in the <?xml ?> declaration,
and I have a chunk of text with an embedded "&dgr;" in it. The XML file
also includes a DOCTYPE pointing to my DTD, which in turn references the ISO
entity files ("ISOgrk1.pen" in this case). I'm using Microsoft's MSXML4
parser to make an initial pass at the XML file to create the FO.xml file,
and then pushing that through XEP.

What I'm seeing in the FO.xml depends on the encoding I specify the file to
be delivered in. For example:

Encoding = "UTF-8" yields "δ"
Encoding = "UTF-16" yields the actual greek letter in the file
Encoding = "ISO-8859-1" yields "&#948;"

However, in all these cases, when the FO is pushed through XEP, the
character doesn't show in the resulting PDF.

Any suggestions on what I'm doing wrong, or what I need to do to get these
characters to work? I don't know how this may affect things, but I also
need to be able to reference characters from other fonts, too, like
"Symbol", "Wingdings", etc.

Thanks in advance for any help!

Regards,
Todd

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
Received on Fri Jul 22 09:33:06 2005

This archive was generated by hypermail 2.1.8 : Fri Jul 22 2005 - 09:33:07 PDT