Skip to main content
July 8, 2011

FrameMaker, DITA, xrefs: I could tell you, but…

Modifying FrameMaker cross-reference formats: it’s basic and one of the cool things about FrameMaker. But not if you’re editing DITA files using FrameMaker 9 or 10.

For some reason, known only to the FrameMaker developers, the special DITA Cross-Reference dialog is missing the Edit Format button. Huh? So how do you add new cross-reference formats?  It’s a secret.  I could tell you, but…



But it’s my job to solve these mysteries — to bring these things to light.

Actually, there are two ways to create new cross-reference formats for DITA docs.

To create new cross-reference formats that are available for all new DITA docs:

  1. Find the file C:Program FilesAdobeFrameMaker9 (or 10)StructurexmlDITAappDITA-Topic-FMtopic.template.fm and open it in FrameMaker.
  2. Choose Special > Cross-Reference.  When the Cross-Reference dialog appears, click the Edit Format button.
  3. Define the formats you’ll need, clicking Add after each one.
  4. Click Done.
  5. Save the file.

Now when you create a new DITA document (with DITA > New DITA File), the new cross-reference formats will be available to you.

To add new cross-reference formats to existing DITA documents:

  1. Make a copy of one of your existing DITA documents (call it something like xref_formats.dita).
  2. Open the new file in FrameMaker.
  3. In the structure view, right-click on the root element (<topic>, <concept>, <task>, or whatever) and choose Clear. (This deletes the entire content of the document.)
  4. Choose Special > Cross-Reference. When the Cross-Reference dialog appears, click the Edit Format button.
  5. Define the formats you’ll need, clicking Add after each one.
  6. Click Done.
  7. Save the file.

Now you can import the cross-reference formats from the xref_formats.dita file into your existing docs.