I'm trying to format my figures such that they float to the next page as
needed. I have two sets of markup for figures, one for a single graphic
and then another with multiple sheets.
<title>this is the title</title>
<title>this is the title</title>
I created a floatloc:
<floatloc floatid="figfloat" floattyp="once" minspace="13pt"<br"/>nomspace="13pt" maxspace="13pt">
I have set this as both a bot and top float on the page descriptions with
<rectopg bind="lleft" chgmkplc="pright" xvjstretch="max"<br"/>topfloat="table-title.top" botfloat="figfloat" >
<rectopg bind="lleft" chgmkplc="pright" xvjstretch="max"<br"/>topfloat="table-title.top figfloat" >
And I use the float on my figure element:
<e-i-c gi="figure" gitype="element">
<charlist inherit="0" charsubsetref="center" block=" noindent"=">
<float flidref="figfloat" width="page" scope="figure" pagetype="afterref">
<savetext textid="tabtitle" conrule="\\">
<usetext source="<ps.figtitle">,tabtitle,</ps.figtitle>" placemnt="after">
Note, The graphic is also boxed with the figure caption appearing below he
graphic and outside this border.
Note that I have a scope of FIGURE on my figure element definition. I'm
not sure why this works and setting it to section or chapter doesn't. When
I use the wrapping elements the figures disappear
My understanding is that scope specifies when something has to be output.
So I thought it would allow more flexibility in final placemenent, but
instead it disappears, while setting it to figure, things work with the
1) When I set the figfloat to topfloat I had an occasion where a table
broke from the previous page as well as a figure being produced. I got the
output but not the way I expected. I got the table continued title, the
figure, the figure title, followed by the remainder of the table.
2) In my single sheet example I have problems when 2 half page graphics
get placed on the same page. I'll get
- the first graphic (boxed)
- start of the second graphic (boxed),
- first figure title about .5in inside the second graphic box
- followed by the second figure title placed properly.
Yet when I use the multisheet markup everything formats properly. I'm
testing right now, so I'm using the same image multiple times, so if it
fits twice on a page in one scenario it should in the second. It's not an
issue with space on the page, there is something about the pre/psot space
that is not beign triggered properly. I've played with pre/post space on
the figure, graphic, and title elements trying to see what is controlling
the space and nothing seems to touch this. I'm getting about a .2inch
after the title before something starts after it, and the top of the image
box seems to occur at different positions depending upon content of the
page. When set in a topfoat area, the top is not consistently at the same
3) This common half page graphic I'm testing with occasionally gets a
larger bounding box and reduced into the lower left corner. I get about 1
inch of space on top and to the right. The bounding box is taking more
space than it should as well. There are no scaling attributes set or
4) In the multisheet version, if the two graphics are larger than a page
(together) the next sheet is not pushed to a new page. Maybe I shoudl be
using two fullpage samples and that would fix this, but I was expecting
the second graphic to float to the next page as there is not room on the
current page to complete it. Is this maybe related to the floattyp="once"
setting? I'll see if 2 fullpage images format properly.
Any ideas or insights would be appreciated.