|
|||||
|
Splitting HTML Files |
Sometimes you may need to split up a FrameMaker file into several parts for HTML use. With Mif2Go, this becomes an easy and very automatic task. You have three ways for indicating where the splits are to occur: • You can split at any page break that is specified for a format, under Pagination properties in the Paragraph designer. Top of Page, Top of Left Page, and Top of Right Page all have the same effect. Turn this method on or off with [HtmlOptions]PageBreaks. • You can split at any use of particular paragraph styles. Indicate the styles before which the file should be split in [HtmlStyles] with the Split property. • You can split at any paragraph break, by putting a Hypertext marker with the command Split (about which FrameMaker will complain) at the start of the paragraph. We used this feature to break up the Frame files used for this site. By default, each part split off is given a unique name consisting of the [FileID] for the original file, plus the internal FrameMaker Unique ID for the first paragraph. This way, the same name will persist even if you make more splits or remove some. The name is also used as the default title. The original file name is retained for the first part (even if it is empty). Most of the time, though, you will not want to use the unique name as the filename or title. So you can map that name to any name you want in [HtmlFiles], and to any title in [Titles]. In addition, you can specify a paragraph from which to get the title by naming its paragraph style in [HtmlStyles] with the Title property; the first paragraph with that style in the split section provides the replacement title (often the same paragraph with the Split property). And you can use markers for both filename and title. What about cross-references? Here’s the best part: Mif2Go automatically changes the name of the file in the HREF to indicate the correct part, even if the file is in another directory. You never have to edit the HTML to make cross-references or hyperlinks right; they already are! | ||||
|
|||||