Table of Contents

Previous

Next


Using Text in External Files to Assign Long Descriptions to Images in FrameMaker

Assign long descriptions to images using external files when you have image descriptions that exceed 255 characters or if you want to use image descriptions in external text files to assign long descriptions to images.

To assign a long description to an image, your Stationery and template must have the ImageLongDescText marker type configured. 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 8.

The steps you use to assign long descriptions to image varies based on the version of Adobe FrameMaker you use. If you use Adobe FrameMaker 6.0, you use the ImageLongDescByRef marker. If you use Adobe FrameMaker 7.0 or later, you use an object attribute you create for the anchored frame to assign a long description to an image.

To assign a long description to an image using an external file in an Adobe FrameMaker source document

  1. Create a .txt file that contains each image long description.

  2. Place each image long description text file in a folder in the ProjectName\Formats\TargetName\Files folder for your project, where ProjectName is the name of your ePublisher project and TargetName is the name of your target.

For example, place the each image long description in the following location:

ProjectName\Formats\TargetName\Files\longdescriptions\imagelongdescr'iption.txt

where ProjectName is the name of your ePublisher project, TargetName is the name of your target, longdescriptions is the name of the folder where you placed the image long description, and imagelongdescription is the name of the .txt file that contains the image long description.

  1. In your Adobe FrameMaker source document, locate the anchored frame for the image to which you want to assign a long description.

  2. If you are using Adobe FrameMaker 6.0, complete the following steps:

  3. On the Graphics menu, click Tools to display the graphic tools palette.

  4. Click the Text Frame icon.

  5. Drag the cursor over the portion of the image where you want to insert the text frame that will contain the ImageLongDescByRef marker.

  6. In the Create New Text Frame window, in the Number field, type 1, and then click Set.

  7. Click outside the image, and then insert your cursor in the text frame.

  8. On the Special menu, click Marker.

  9. In the Marker Type field, select ImageLongDescByRef from the drop-down list.

  10. If the ImageLongDescByRef marker type is not on the list, check with the Stationery designer to obtain the name of the marker type the Stationery designer created to support this functionality and then use the marker type specified by the Stationery designer. For more information, refer to “Implementing Online Features in FrameMaker” on page 81.

  11. In the Marker Text field, type the path to the .txt file that contains the long description you want to assign to the image.

For example, type:

./longdescriptions/imagelongdescription.txt

where longdescriptions is the name of the folder where you placed the image long description, and imagelongdescription is the name of the .txt file that contains the image long description.

  1. Click New Marker.

  2. If you are using Adobe FrameMaker 7.0 or later, complete the following steps:

  3. Select the anchored frame that contains the image to which you want to assign a long description using an external file.

  4. On the Graphics menu, click Object Properties.

  5. Click Object Attributes.

  6. In the New or Changed Attribute area, in the Name field, type ImageLongDescByRef.

  7. In the Definition field, type the path to the .txt file that contains the long description you want to assign to the image.

For example, type:

./longdescriptions/imagelongdescription.txt

where longdescriptions is the name of the folder where you placed the image long description, and imagelongdescription is the name of the .txt file that contains the image long description.

  1. Click Add.

  2. Click Set.

  3. Click Set again to close the window.

  4. Save your Adobe FrameMaker source document.

  5. Generate output for your project. For more information, see “Generating Output” on page 300.

  6. In Output Explorer, verify ePublisher assigned the long description to the image using the long description in the external file when it generated output by completing the following steps:

  7. On the View menu, click Output Directory.

  8. In the TargetName\ProjectName folder, open the page that contains the image to which you assigned the long description using an external file in Notepad and verify that the longdesc attribute references the external text file that contains the long description for the image, where TargetName is the name of your target, and ProjectName is the name of your project.

ePublisher/2009.1/Help/03.Preparing_and_Publishing_Content/01.070.Preparing_FrameMaker_Files (last edited 2009-05-01 02:13:26 by TonyMcDow)