Identifying And Renaming Graphic And Equation Elements; Exporting Graphic And Equation Elements - Adobe 65030365 - FrameMaker - PC Developer's Manual

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

Advertisement

19
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
equation elements. For additional ways to modify the translation of graphics and equations,
see the cross-references at the end of each section.
For a summary of read/write rules relevant to translating graphics, see "Graphics" on
page 358. For a summary of read/write rules relevant to translating equations, see
"Equations" on page 357. For a list of the formatting properties associated with translating
graphics and equations, see "Text of default graphics and equations declarations" on
page 300.

Identifying and renaming graphic and equation elements

If you create or update your EDD from an existing DTD, or if you want to rename elements
on import or export, you must use a rule to identify which markup elements correspond to
graphic or equation elements in FrameMaker. To do so, use one of these rules:
element "gi" is fm graphic element ["fmtag"];
element "gi" is fm equation element ["fmtag"];
where gi is a generic identifier and the optional fmtag argument allows renaming the
element. If fmtag is not specified, the name remains the same in the two representations.
For example, to specify that the markup element pict corresponds to the graphic element
Picture in FrameMaker, use this rule:
element "pict" is fm graphic element "Picture";
For information on the rules used in this example, see "element" on page 376, "is fm
equation element" on page 420, and "is fm graphic element" on page 422.

Exporting graphic and equation elements

FrameMaker supplies several rules for modifying the software's behavior when exporting a
graphic or equation element. These rules are explained in later sections of this chapter.
They occur as subrules of a rule that also indicates the type of graphic or equation being
exported. There are three rule constructions for this purpose:
element "gi" {
is fm equation element ["fmtag"];
writer equation { subrules }
}
element "gi" {
is fm graphic element ["fmtag"];
writer facet "facet" { subrules }
}
element "gi" {
is fm graphic element ["fmtag"];
writer anchored frame { subrules }
}
Structure Application Developer's Guide
309

Advertisement

Table of Contents
loading

This manual is also suitable for:

Framemaker 7.1

Table of Contents