This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] Including character sets
- From: Aidan Lister <aidanis at gmail dot com>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Sat, 11 Dec 2004 21:55:10 +1100
- Subject: [docbook-apps] Including character sets
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=V15jiXKZSiEBqGlJAtlyT6jtl4rEp8eNVHDUfMKK1iFpzY/QhXjcRqBpsiL1HKwwNbA9na2xp7A803cCuJrcoX2UjyjTSagKFp64zS9mTGJ/azAewMrD/pUYrOUA9TJIUBvSr9OExN7On8I/8EySAP84rqGDEkE/QD8aBH5TjXI=
- Reply-to: Aidan Lister <aidanis at gmail dot com>
Hi list (again),
I'm a little confused on how I should be including character sets. The
docbook manual says:
The %isonum; parameter entity includes the ISO character entities with
the public identifier: etc.
>From this, I assumed I would be able to place %isonum; in my doctype as follows:
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.4CR2//EN"
"http://www.oasis-open.org/docbook/xml/4.4CR2/docbookx.dtd" [
%isogrk3;
%isonum;
]>
This would then include the respective character sets.
However, this did not work - lint threw an error:
article.xml:4: parser warning : PEReference: %isonum; not found
I'm know including it as follows, which works, but I'm always looking
for better ways :)
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.4CR2//EN"
"http://www.oasis-open.org/docbook/xml/4.4CR2/docbookx.dtd" [
<!ENTITY % isogrk3 PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN//XML"
"http://www.w3.org/2003/entities/iso8879/isogrk3.ent">
%isogrk3;
<!ENTITY % isonum PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special
Graphic//EN//XML"
"http://www.w3.org/2003/entities/iso8879/isonum.ent">
%isonum;
]>
Any clarifications appreciated,
Kind regards,
Aidan