Translating Internal Text Entities As Text Insets - Adobe 65030365 - FrameMaker - PC Developer's Manual

Structure application developer's guide
Hide thumbs Also See for 65030365 - FrameMaker - PC:
Table of Contents

Advertisement

17
M o d i f i c a t i o n s t o t h e d e f a u l t t r a n s l a t i o n
text insets that update manually. Authors can select these text insets to change this setting
through the user interface.
An author can manually import markup fragments into a document as text insets. When
exporting to markup, FrameMaker might not have entity declarations for such user-created
text insets. In the absence of entity declarations, FrameMaker generates entity declarations
with entity names of ti1, ti2, etc.

Translating internal text entities as text insets

By default, on import FrameMaker translates internal text entities either as variables or as
plain text. You can choose to have it instead import a text entity as a FrameMaker text inset.
You may do so if the FrameMaker cannot import the entity as a variable. For example, the
entity might contain too many characters, or (for SGML) it might contain SGML elements.
To import a text entity as a FrameMaker text inset, use one of these forms of the
is fm text inset rule:
entity "ename" is fm text inset fname;
entity "ename"
is fm text inset "fname" in body flow "flowname";
entity "ename"
is fm text inset "fname" in reference flow "flowname";
where ename is the entity name, fname is a file path to a FrameMaker document, and
flowname is a flow in the FrameMaker document. This rule translates the entity ename as
a text inset. The inset is a reference to the flow named flowname in the document named
fname.
For example, assume you have this entity declaration:
<!ENTITY copyrt
"COPYRIGHT (c) 1500-1995 OLD GUYS CORPORATION
The source code contained herein is our very own.
You can't use it unless we say so.">
To import copyrt as a text inset that references a flow named Copyright on the reference
page of an existing FrameMaker document named copyrt.fm, use this rule:
entity "copyrt"
is fm text inset "copyrt.fm" in reference flow "Copyright";
The source file can be of any document type that FrameMaker can filter automatically.
Typically, such files will be FrameMaker documents or text files, although you can use files
created by other word processing systems. Also, a FrameMaker text inset is always the
entire contents of a flow or file.
Structure Application Developer's Guide
265

Advertisement

Table of Contents
loading

This manual is also suitable for:

Framemaker 7.1

Table of Contents