Re: @PageSplit symbol
[email protected] (Ludovic Courtès)
| Newsgroups | gmane.comp.type-setting.lout |
|---|---|
| Message-ID | <[email protected]> |
Hello, Jeff Kingston <[email protected]> skribis: > A while ago (actually it was a year ago, but I'm too ashamed to > admit it) there were a few postings on the list about how to print > an object in one form if it was all able to fit on the current page, > but in a different form if it was partly on one page and partly on > the next. I promised to write something. Here it is. I have no > plans to put the implementation in the next release, but you can > find it at the end of this email. Nice. Perhaps it would still be useful to have it in the distribution though? [...] > {@PageOf @Tag".prev"} @Case > { > {@PageOf @Tag".next"} @Yield @Unsplit > else @Yield { @SplitA @DP @SplitB } > } Interesting trick. :-) So .prev and .next are the previous/next objects in the vertical concatenation where the @PageSplit invocation appears, right? Thanks, Ludo’.