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

Re: Making the actual index entries into links?



On Mon, 11 Mar 2002 11:17:21 -0500, "Rajeshwari Godbole" 
<rgodbole@oakgroup.com> wrote:

>I'm using Frame 6.0 and the standard webworks publisher software to
>generate the online help (we have just got mif2go but I've to get this
>done in a couple of days so haven't set up mif2go as yet).

You might want to reconsider that choice.  Mif2Go has a simple solution
for this, but AFAIK WWP Standard does not support on-line help at all...

>The problem I'm having is with the Index. In Frame the index entries
>themselves are not hypertext links but the page numbers following those
>entries are the actual links. When I convert to HTML, I've no use for
>the page numbers and would prefer to have the index entry text as a
>link.

There's a bit of a problem with that.  While many entries may have
only one page number, some will have more.  If you make the entry
itself into the link, you will lose access to all but one (the
first or last) of the multiple-reference entries.  While you could
add another level of indexing to such entries to break them out
into single-reference entries, this would be a manual operation
that could take quite a while... and you might still miss some.

>Short of copy pasting the HREF tag for every entry in the HTML output,
>is there a way I can make Frame create an index without page numbers and
>the index entry text as the link?

What we do in Mif2Go is let you replace the unwanted page numbers
with something else, perhaps a paragraph mark symbol or a graphic.
We use a little "open book" graphic in the Index of our own on-line
docs; see

  http://www.omsys.com/dcl/xhtml/UGIndexA.htm

for an example of this method.  This is how we do it in the
specific .ini for the Users Guide IX file, where zIXpgnum is
the para format for the page number element on the IX file's
reference page:

  [HtmlStyles]
  zIXpgnum=CodeReplace KeepLink

  [HtmlStyleCodeReplace]
  zIXpgnum=<img src="b.jpg" border="0" alt="ref">

If you wanted a para symbol instead of the graphic, you'd use

  zIXpgnum=&#182;

in the second section instead.  Couldn't be much simpler... ;-)

-- 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.   **