Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

34 Automating Mif2Go conversions > 34.8 Renaming output files for automated systems > 34.8.4 Using paragraph formats to name output files > 34.8.4.2 Including FrameMaker variables in output file names


34.8.4.2 Including FrameMaker variables in output file names

To construct HTML or XML output file names based in part on the values of FrameMaker variables present in the document you are converting, you might have to employ additional Mif2Go macros to make variable values comply with the requirements for Mif2Go file names. This is because the following options described in §34.8.4.1 Constructing file names based on paragraph content have no effect on content derived from FrameMaker user variables:

UseRawName

KeepFileNameSpaces

ChangeFileNameSpaces

FileNameSpaceChar

For example, to replace spaces in the content of a FrameMaker user variable, you might have to use a macro such as the following to transform the variable value to a string that is acceptable for inclusion in a file name:

<$$newval = ($$myspecialvar replace " " with "-")>

See also:

§28.3.5 Treating FrameMaker user variables as macro variables

§28.3.6 Using some FrameMaker system variables as macro variables

§28.6.5 Specifying substrings in expressions

§34.8.4.5 Specifying a file-name prefix or suffix



34 Automating Mif2Go conversions > 34.8 Renaming output files for automated systems > 34.8.4 Using paragraph formats to name output files > 34.8.4.2 Including FrameMaker variables in output file names