This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[docbook-apps] Including character sets


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]