Navigation Bar for Support Home Products Order Support Download Links About Contact
[spacer]

Support

Technical Support

Documentation

Single Sourcing

FrameMaker MIF to RTF

HTML Production

HTML Style and Font Mapping

CSS Stylesheet Usage

HTML Tables

HTML Graphics

Splitting HTML Files

HTML Macros

Web Accessibility Initiative

Site Map

Contact Us

HTML Production

HTML Macros

The Mif2Go filter allows you to insert arbitrary HTML code, of your choosing, in many different places in your document. Each macro can call on other macros, and you can “nest” such calls as deeply as you please. This permits you to build a macro library that you can draw on from any of your files.

The macros themselves are stored in the .ini files used by Mif2Go. Normally, you put the macros you are using for a particular project (book) in the mif2htm.ini in its output directory. You can specify a library .ini within mif2htm.ini, and the filter will look there too; this is a good place to put building block macros that you want available for many projects. If you want to modify a macro for a particular file, you just put the special version in a specific .ini named for that file. This gives you total flexibility to construct self-adjusting HTML features in your documents; we used it to generate the left-side navigation bar.

You can have a macro inserted at several places in the HTML: in the <head> after the title (for meta tags), at the start of the <body> (Top, for headers), and at the end of the <body> (Bottom, for footers). You can also put code for framesets between the <head> and <body>, and code to end a noframes section after the end of the <body>. This gives you a very easy way to use FrameMaker documents within HTML framesets.

If you are splitting the file, you also have a corresponding set of macros for split parts. So you can put a “go back” navigation icon in SplitTop, and a “go forward” icon in SplitBottom. The original file uses the FirstTop, and the last part uses the LastBottom.

You can also have a macro used at the start of a particular style (paragraph or character, before and after the start tag), before and after any autonumbering, at the end of the style (before and after the end tag), or as a replacement for the content of the style. This gives you the equivalent of FrameMaker’s Frame Above and Frame Below, but with much more flexibility. You can even construct tables around paragraphs.

For tables and graphics, you can place macros before and after, and in place of, the object. For both, you can define groups using the unique FrameMaker object IDs (which are shown on the FrameMaker status line by Mif2Go when you Shift-click on the object); for tables, you can also assign macros according to the table formats.

Finally, you can use the usual HTML Macro marker to insert a macro wherever else you want one. And within macros, you can use conditionals (if), loops (while, repeat) and even pointers. If you can think of anything more you’d like from a macro system, please let us know; we’ll probably add it.

 
Google


Search WWW Search www.omsys.com

Made with Mif2GoMif2Go