Page-spanning box [was: Re: @Font trumps @B & @I (which is a pity)]
Mark Summerfield <[email protected]>
| Newsgroups | gmane.comp.type-setting.lout |
|---|---|
| Organization | Qtrac Ltd. |
| Message-ID | <20101013092908.7cbed812@dino> |
Hi Ludo', On Tue, 12 Oct 2010 21:33:12 +0200 [email protected] (Ludovic Courtès) wrote: > Hi Mark, > > Mark Summerfield <[email protected]> writes: > > > However, whenever I use @VSChar{} lout outputs a warning: > > > > no value for context variable `scopeState', using the empty string > > > > I solved this by enclosing the whole para in: > > > > {scopeState @Yield @Null}@SetContext{ > > ... # Used @ScopedBold & @ScopedItalic > > } > > > > But what I'd really like to do is set the scopeState globally for > > the whole document. > > I think this can be solved either by modifying ‘docf’ or perhaps by > doing the initial ‘@SetContext’ in the ‘@PageEnclose’ parameter of > ‘@DocumentSetup’. Thanks! On a new topic: d'you know if it is possible to have a page-break-spanning box? I have a definition, let's call it @Get, that reads in lines from external files via @Pipe. So I have this kind of thing: @LD @Box @Get{....} But sometimes this is too big for the page & lout scales; what I'd really like is for the box to span the page break. I've also tried @LD @Tbl aformat{@Cell A} { @Rowa A{@Get{...}}} but tables won't break inside a row. I've got a workaround but it isn't as convenient as a page-break-spanning box would be. :-) -- 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