Code Samples: Tables or Graphic Frame?

Steve Rickaby srickaby at wordmongers.demon.co.uk
Tue Feb 6 08:42:54 PST 2007


At 11:29 -0500 6/2/07, Neil Tubb wrote:

>Just wondering how everyone else handles code samples. I generally just
>put them in a big one-cell table, which works well...unless the code
>sample runs into the next page. I could just put it all in graphic
>frame, but I like the control a table offers (and how it converts to
>HTML via ePub Pro). Any thoughts on this?

Text insets. Anything else is hopeless across page boundaries.

At 11:32 -0500 6/2/07, Rick Quatro wrote:

>What advantage do you get by putting the code in a table? Are you putting a background color or shading behind the code? Thanks.

We had a design that used a ruled border around code samples. The only way I could find to do this in FrameMaker was with a one-celled custom table. Although it looked quite nice, we gave up in the end because of the page boundary issue.

-- 
Steve



More information about the framers mailing list