Features
Provides DITA map and topic authoring commands as well
as enhanced DITA features.
DITA-FMx is a plugin and set of structure applications
that let you create and edit DITA XML files in FrameMaker. The version
currently available supports DITA 1.0 and is only available for
FrameMaker 7.2. A version that supports DITA 1.1 for FrameMaker
7.2 and 8.0 is under development. DITA-FMx is provided by a collaboration
of efforts from Leximation and Silicon Publishing.
Documentation last updated: 23 August
2007
Supports plugin versions: import/export v.0.01; authoring
support v.0.01
DITA-FMx
is made up of two plugin components, one that provides import/export
processing (ditafmx_app_72.dll) and one that provides
general authoring support (ditafmx_72.dll). The following
describes the features provided by each component.
- DITA Map Support
- A
structure application is provided for DITA map development. This structure
application provides support for topic references and relationship
tables (topicref and reltable elements). Through the import/export client
and read/write rules, the resulting DITA map file is completely DITA-compliant,
although within FrameMaker some additional elements have been added
to provide proper FrameMaker interaction. These elements have an
“fm-” prefix.
- On the opening of a DITA map file, all topicref elements are
processed to include a new “fm-topicreflabel” element that contains
a locked text range. This text range typically displays the title
(navtitle attribute), but if the referenced file is not available,
the label “FILE NOT FOUND” is added. If there is no navtitle attribute
value, the filename (href attribute) of the referenced file is displayed.
When you double click the inset, the referenced file opens for editing.
These labels are formatted with a character style named “DITA-Topicref,”
you can change the color and formatting of topicrefs by modifying
the character style definition in the template file.
- Conref Support
- Content references can be placed to reuse elements from the
same file or other files on the same file system. If enabled (through
the Options command) on the opening of a file, the content of any
conrefed elements is resolved and displayed as a locked text range
(similar to a text inset).
- Xref Support
- On the opening
of a file, all xref elements are resolved and displayed as a locked
text range. The auto-loading functionality may be enabled/disabled
with the Options command.
- When an xref element is inserted (from the element catalog),
the Reference Manager dialog displays allowing you to select the
target element for the xref. Unless you enter text in the Alternate
Xref Text field, the xref text will match that of the target element.
The External Xref button lets you create an xref to an external
file.
- The plugin handles both DITA-based and FM-based cross-refs,
for more information see Setting up to use Cross-References.
- Output Support
- The Generate
Output command provides the ability to run a specific target
in an Ant script to generate output through the DITA Open Toolkit. One
option lets you use a provided Ant script to generate output based
on the current file (a topic or map), or another option lets you
select a target in an Ant script that you provide. For more information
see, Generate Output.
- Options
- An Options command provides the ability to
specify the structure applications for the opening of DITA map and
DITA topic files, as well as enable/disable various DITA-FMx options.
- Context-sensitive Help on DITA elements
- You can get context-sensitive help for DITA authoring by pressing Alt+F1.
The DITA Reference will display the topic that relates to the element
type currently selected. If you have added elements through specialization,
you can add information about your elements to the CHM file (the
source is provided in the DITA Open Toolkit).
- Specialization
- DITA-FMx
should fully support specialization (or at least not hinder it). If
you have a specialized data model, you will need to make the parallel changes
to your DITA EDD and r/w rules. The only effect of specialized elements
is with regard to element names, and the only place the plugin operates
solely on element names is with the processing of tables (and in this
case, additional table elements can be defined in the ditafmx.ini file). In all other cases, the plugin
processes elements based on their class name, so it *should* properly
handle specialized elements. Since the conref feature only operates
at the attribute level, it shouldn’t care if an element has been
specialized or not. The processing of xref and topicref elements is
done based on the class value, so those should be fine.
- Import/Export Processing
- Table
Support. Pre-parses the imported file to count the number of columns
in tables that have no column number attribute (required by FrameMaker
to display a table). By default this supports reltable and simpletable
elements, but can be extended to handle other table elements as
specified by the user (in the ditafmx.ini). The column number
data is used during the actual import of the file into FrameMaker
to properly display those tables. This functionality may be enabled/disabled
by the user with the Options command.
- Indexterm Support. On import, the plugin converts indexterm
elements to a FrameMaker-compatible format. DITA specifies that
index subentries are defined by nested indexterm elements. This
feature collapses nested indexterm elements into a single semicolon-delimited
string within the top-level indexterm element which can be properly
interpreted by FrameMaker and converted into an Index marker. This
functionality keys off of the value of the class attribute, allowing
it to work for specialized instances of the indexterm element. On
export, the Index markers are converted back to valid nested indexterm
elements. This functionality may be enabled/disabled by the user
with the Options command.
- Special Reltable Support. On import, the plugin converts
reltable/topicmeta elements to reltable/fm-reltablemeta elements
(to allow for proper mapping to a FrameMaker TableTitle object).
Converts back to valid DITA topicmeta elements on export.
- Reference Support. All references (topicrefs, conrefs,
and xrefs) are represented in FrameMaker as locked text ranges,
similar to text insets. These text ranges are not linked to text
flows but are used as a means to lock a region of text and allow
the user to click on the object. In order to maintain valid DITA
files, the plugin converts these text ranges to the appropriate
XML structure on export.