[Date Prev][Date Next] [Thread Prev][Thread Next]
[Date Index] [Thread Index] [New search]

Re: Using FM filename as HTML <title> with Mif2Go



On Fri, 13 Jun 2003 12:20:58 -0400, "Peter Desjardins" 
<pdesjardins@oakgroup.com> wrote:

>I want to use my Framemaker filenames as the <title>s for 
>HTML files that I am generating with Mif2Go.
>
>The user's guide indicates that this is possible but I am 
>not getting the syntax correctly (I guess).  I've tried 
>various combinations of the code in the guide but none 
>have worked yet.
>
>Can someone tell me what to put in mif2htm.ini so that the 
><title> is the filename of the Framemaker source file?

Sure.  Use a predefined macro variable in the Title setting:

[HTMLOptions]
Title=<$$_currbase>

to get the filename without the extension, or:

Title=<$$_currfile>

if you want the HTML extension too, as in "yourfile.htm".

There's a lengthy table of available predefined macro vars
in the User's Guide, par. 22.2.5, "Using predefined macro 
variables".  Note that the macro language also allows you
to combine and reformat these variables as you wish.

HTH!

-- Jeremy H. Griffith, at Omni Systems Inc.
  (jeremy@omsys.com)  http://www.omsys.com/

** To unsubscribe, send a message to majordomo@omsys.com **
** with "unsubscribe framers" (no quotes) in the body.   **