Re: Is it possible to get the effect of splitting a box across page boundaries?

Mark Summerfield <[email protected]>
Newsgroups gmane.comp.type-setting.lout
Organization Qtrac Ltd.
Message-ID <20110322190603.1b48dbd7@dino>
Hi Jeff,

On Tue, 22 Mar 2011 07:06:22 +1100
Jeff Kingston <[email protected]> wrote:
> Mark,
> 
> I don't think you can do this with the general approach
> you are taking.
> 
> The @Figure and similar symbols do it with their @Enclose
> parameter, or whatever it's called.  Perhaps you could
> try a captionless @SideBar or something with @Enclose,
> targeted to @PageFoot, or perhaps to inline.
[snip]

I'm not sure what you mean!

I tried:

    @Floater @Location{AfterLine}
    @Tbl
    {
    @Rowa A{{@ScopedBold{func}} main() "{"}
    ... 23 other rows ...
    @Rowa A{"}"}
    }

But it would not break across a page boundary:-(

I also tried @Location{Raw} but it made no difference.

I have a manual solution but it is a bit tedious: I have "top" and
"bottom" definitions so I can break up a code snippet that spans a page
into two boxes instead of one.

-- 
Mark Summerfield, Qtrac Ltd, www.qtrac.eu
    C++, Python, Qt, PyQt - training and consultancy
        "Programming in Python 3" - ISBN 0321680561
            http://www.qtrac.eu/py3book.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.