This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] Problem with MathML entities in PDF
- From: "Bob Stayton" <bobs at sagehill dot net>
- To: "Giulio Piancastelli" <gpian at softhome dot net>, <docbook-apps at lists dot oasis-open dot org>
- Date: Wed, 2 Jun 2004 14:18:27 -0700
- Subject: Re: [docbook-apps] Problem with MathML entities in PDF
- References: <40BB915D.4090909@softhome.net>
FOP doesn't do font sets. If you need a character from the Symbol font,
then you need to put the character in an <fo:inline font-family="Symbol">
when using FOP. I'm not sure how you would integrate that into mathml
processing, though.
Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net
----- Original Message -----
From: "Giulio Piancastelli" <gpian@softhome.net>
To: <docbook-apps@lists.oasis-open.org>
Sent: Monday, May 31, 2004 1:11 PM
Subject: [docbook-apps] Problem with MathML entities in PDF
> Hi all,
>
> I'm trying to use some of MathML entities in my DocBook files. I managed
> to have aliases for such entities recognized by using the following
> DOCTYPE declaration:
>
> <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V4.3//EN"
> "file:///C:/Programmi/Xml/DTDs/docbook43/docbookx.dtd" [
>
> <!ENTITY % ent-mmlalias PUBLIC "-//W3C//ENTITIES Aliases for MathML
> 2.0//EN" "C:/Java/Xml/DTDs/mathml2/mathml/mmlalias.ent" >
> %ent-mmlalias;
> ]>
>
> but, when I try to transform the DocBook + MathML entities markup to
> XSL-FO then to PDF I keep seeing other symbols (i.e. '#') in places
> where "fancy" MathML symbols should appear (e.g. the ⋂
> symbol, the ∅ symbol). Has this something to do with fontsets
> used by FOP, which seem to be unable to recognize and display certain
> unicode characters? Is there a workaround so that I can obtain
> mathematical symbols in PDF output format? (When using XHTML as the
> output format, everything works like a charm.)
>
> Best Regards,
> Giulio Piancastelli.
>
>
> To unsubscribe from this list, send a post to
docbook-apps-unsubscribe@lists.oasis-open.org, or visit
http://www.oasis-open.org/mlmanage/.
>
>
>
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.