Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Common Desktop Environment: Help System Author's and Programmer's Guide > Chapter 3 Writing a Help Topic

Including Special Characters

» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

Many special characters and symbols are available within DocBook. You display a particular character by entering the appropriate entity reference.

Refer to Chapter 5 “Summary of Special Character Entities” for a complete list of the available characters.

To Include a Special Character

  1. Refer to Chapter 5 “Summary of Special Character Entities” to determine the entity name for the character you want to display.

  2. Determine which ISO entity file contains the special character, and add the following two lines among your other entity declarations (where entity-name is a meaningful name to you):

    <!entity & ISOset PUBLIC "ISOsetpublicID">
    % ISOset;
  3. Wherever you want to display the special character, enter its entity reference:

    &entity-name;

Examples

To entity for the copyright symbol (©) is included in the ISO numeric set, so you must first include the ISO numeric entities (at the top of your help volume with your other entity declarations) as shown here:

<!ENTITY % ISOnumeric PUBLIC "ISO 8879-1986//ENTITIES Numeric and Special Graphic//EN">
%ISOnumeric;

Then you can place the following entity reference where the copyright symbol is to appear:

&copy;

To display the uppercase Greek letter sigma (∑), you must first include the ISO Greek entities (at the top of your help volume with your other entity declarations) as shown here:

<!ENTITY % ISOgreek PUBLIC "ISO 8879-1986//ENTITIES Greek Symbols//EN">
%ISOgreek;

Then you can place the following entity reference where the sigma character is to appear:

&Sigma;

As with any entity, case is not significant in the entity names for special characters.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.