DITA-FMx User Guide

Rebuild Variables

Rebuilds variables after conversion to a FrameMaker book.

In order to resurrect variables that have been flattened to text by the map to book conversion process, they must have been first processed with the Prepare Variables command. The Rebuild Variables command locates all ph elements with a keyref attribute value that matches the pattern of “fmvar:VARNAME”, and replaces the content of the ph element with the variable. The variable will added, only if a matching variable definition is found in the file. Because of this you may need to import the variable definitions into the file before running the Rebuild Variables command.

This can also be done automatically during the Map to Book conversion process by selecting the Rebuild Variables option in the Book Build Settings dialog found in the DITA Options dialog.