Mif2Go: controlling graphics position

Jim Owens jowens at magma.ca
Thu Nov 13 10:03:26 PST 2008


I'm producing MS HTML Help, and currently trying to position the
graphics using Mif2Go.

In my Frame source, some graphics are anchored "run into para," and
others are anchored "below current line" (with the anchor at the end of
the paragraph). I want each "run into para" graphic placed beside the
para, to the right, and I want each "below current line" graphic placed
below the para, aligned with the left margin.

Accordingly I have added this instruction to the config file:

[GraphAlign]
; place "run-in" graphics to right of para
* = right

and, because I am using a CSS:

[Graphics]
GraphAlignAttributes = Yes

This aligns the "run-in" graphic as I want. But it also causes the
"below" graphic to appear to the right of the paragraph. (Without this
instruction present, it appears below the paragraph as expected.)

The HTML output for the "run-in" graphic is something like:

<p><img src="image.jpg" align="right">Paragraph text</p>

The HTML output for the "below" graphic is something like:

<p>Paragraph text</p><img src="image.jpg" align="right">

The "below" graphic is set outside the <p>Paragraph text</p> element.
However, it is not in its own <p> element. This is true whether or not
the [GraphAlign] instruction is present, even if I explicitly set the
default:

[Graphics]
GraphWrapPara = Yes



How can I achieve the effect I want?




More information about the framers mailing list