Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

19 Creating HTML links > 19.6 Linking to other files and other Mif2Go projects > 19.6.3 Enabling links to renamed or relocated files


19.6.3 Enabling links to renamed or relocated files

You might run into situations where the names of FrameMaker files are not usable for HTML files. For example, files on UNIX systems must not have spaces in their names. And for HTML Help, the use of underscores in names seems to manifest defects.

Note:  To stay out of trouble, restrict file names to letters and digits only, no spaces or other characters. See §1.1.2 File, directory, and path names.

If you need to rename HTML files after Mif2Go produces them, you must tell Mif2Go the names (and possibly the file paths) to use for the renamed files in links. This step is essential if any links exist between the renamed files and other files in the project, or other files in another directory. For example:

[XrefFiles]

; original filename (no ext) = html filename (no ext, path OK)

Code1 = ../codes/federal/Code1

Cover = 00begin

Note:  Even if you rename a file in [XrefFiles], Mif2Go goes by the original FrameMaker name in all other sections of the configuration file.

Entries in [XrefFiles] replace the href link to the file named on the left of the equals sign (base name) with the path and name on the right. Therefore you can also use this method to provide paths to files that will be relocated to a directory different from the main project directory.



19 Creating HTML links > 19.6 Linking to other files and other Mif2Go projects > 19.6.3 Enabling links to renamed or relocated files