18.6 Referencing split and extract files
You can use the predefined macro variables listed in Table 18-6 to refer to file names and titles of split and extract files. You can use these variables anywhere in a macro, including within JavaScript sections. They are valid in all parts of a file, including within the base part from which the other parts are split or extracted.
For navigation links between FrameMaker files, use Mif2Go-supplied navigation macros instead; see §18.5 Inserting HTML code in split and extract files.
Table 18-6 Predefined macro variables for splits and extracts
Base name only of the current split part, without extension. |
||
Internal file name of first graphic referenced in an extract |
||
File name of first graphic in an extract, as modified by any [Graphics]ExtrGraphSuffix; use for thumbnails (see §18.7.3 Replacing extracts with links in the parent file) |
||
Current file title, unaffected by extracts, so it can be used in an extract to get the parent file title. |
||
Current extracted-part title; used in a replacement macro for the extract, to reference the extract title.; see §18.7.3 Replacing extracts with links in the parent file. |
||
1 if this is the first split part, otherwise 0; intended for JavaScript use. |
||
1 if this is the last split part; otherwise 0; intended for JavaScript use. |
When the current split part is the first or the last in a FrameMaker file, the following macro variables can also apply to the preceding or following FrameMaker file when you use Mif2Go navigation macros
Note: Predefined macro variables $$_firstsfile and $$_prevsfile are no longer needed, and their use is deprecated; however, existing deployments are not affected, so you can continue to use these variables in macro code.
See §18.5 Inserting HTML code in split and extract files for additional settings you can use for links between FrameMaker files.
> 18 Splitting and extracting files > 18.6 Referencing split and extract files