The texinfo manual states that an @image can be in "anywhere, including
the middle of a paragraph". However, makeinfo 6.0 doesn't allow @image to begin
a paragraph.
For example:
@image{screenshot-1}
This image shows xyz.
or even:
@image{screenshot-1}This image shows xyz.
Is treated the same as:
@image{screenshot-1}
This image shows xyz.
I.e. the same as if the @image were followed by a blank line.
Hence in the generated html the resulting <img> is *before* the <p>,
not inside it. The same problem happens with --docbook.
I worked around it with empty dummy text:
@emph{}
@image{screenshot-1}
This image shows xyz.
Is there a better work-around? Is this a texinfo bug?
Having the image at the start of the paragraph enables floating images
with with css rules like:
img { float: right }
p { overflow: auto}
An example of what I'm trying to achieve is here:
http://domterm.org/Features.html
(This uses the --docbook backend and then uses sed to wrap a link
around the scaled-down image.)
--
--Per Bothner
[email protected] http://per.bothner.com/