Assigning Alternate Text to Abbreviations in Word
Abbreviations are often used in written communication. Using an Abbreviation character style and an AbbreviationTitle marker, you can specify alternate text for abbreviations. For example, if your source document includes an abbreviation such as SS#, you can specify Social Security Number as alternate text for the abbreviation. When you use an AbbreviationTitle marker and Abbreviation character style to specify alternate text for an abbreviation, ePublisher adds the abbreviation alternate text you specify to the title attribute of the abbr tag in the output.
Following is an example of the HTML code produced when you specify Social Security Number as alternate text for SS#.
<th><abbr title="Social Security Number">SS#</abbr></th>
To assign alternate text to abbreviations, your Stationery and template must have the following items configured:
Abbreviation character style
AbbreviationTitle marker type
Your output format must also support this feature. For more information about output formats that support this feature, see “Features Available in Each Output Format” on page 9.
The following procedure provides an example of how to specify alternate text for abbreviations in Microsoft Word source documents using Microsoft Word 2003. Steps for specifying alternate text for abbreviations in Microsoft Word may be different in other versions of Microsoft Word.
To specify alternate text for an abbreviation in a Microsoft Word source document
In your Microsoft Word source document, locate the abbreviation for which you want to specify alternate text.
Apply the AbbreviationTitle character style to the abbreviation text.
Insert your cursor anywhere inside the abbreviation.
On the WebWorks menu, click Markers.
In the Markers field, select AbbreviationTitle from the list of markers.
In the Value field, type the abbreviation alternate text.
Click OK. ePublisher inserts the AbbreviationTitle marker into the abbreviation.
Save your Microsoft Word source document.
Generate output for your project. For more information, see “Generating Output” on page 287.
Verify ePublisher assigned the abbreviation alternate text you specified when it generated output by completing the following steps:
On the View menu, click Output Directory.
In the TargetName folder, open the page that has the abbreviation to which you assigned alternate text in Notepad, where TargetName is the name of your target.
Verify that the alternate text you specified for the abbreviation is included in the abbr tag in the title attribute.