cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

EXTERNAL: Continue table in second column

ptc-1908075
1-Newbie

EXTERNAL: Continue table in second column

My curiosity got the better of me, and I had to figure out how to do this with
FOSI. <pause-for-laughter/>

It's relatively easy to do with figure and table in a container element:

<document>...<container><figure><graphic/><caption>...</caption></figure><table>...
</table></container>...

The container element starts a local pageset that has:

- a wide left margin to create space on the left side of the page for the figure
and a column on the right side of the page for the table, and
- a region in the space on the left side of the page that outputs the figure

The e-i-c for figure suppresses and saves #CONTENT to a textid, which is output
from the region. The local pageset is scoped to the container element, so the
global pageset resumes without the figure (on a new page) when the table is
over.

A graphic showing the output is attached. I added this example to the book.

Suzanne Napoleon
www.FOSIexpert.com
"WYSIWYG is last-century technology!"


2 REPLIES 2

Very nice Suzanne, thanks for showing how to do this.

I'll try a similar technique with APP javascript, though I'm
not sure how the images will align with the table when there's
more than one part per page.

Regards,
Richard


Richard,

Multiple graphics within the same figure would not be a problem with the FOSI
approach as long as the graphics all fit on the same page. If they don't and if
each graphic should be output on its own page with the table continuing beside
each one, then that's a different story. I don't know if that is possible. Maybe
with page layout tags and ACL.

Good luck!
Suzanne



----------
Top Tags