Re: How to do Conditional Formatting?
[email protected] (Ludovic Courtès)
| Newsgroups | gmane.comp.type-setting.lout |
|---|---|
| Message-ID | <[email protected]> |
Hi, "Michael Koehmstedt, RenPet" <[email protected]> skribis: > if ( canFitOnTheCurrentPage( text ) ) > print( text ); > else { > print( "See attached page" ); > newLine( ); > print( slightlyDifferentText ); > } I don’t think this can be achieved in pure Lout. There’s the @CNP symbol, which does a “conditional page break”: macro @CNP { // 3.2v @High //0io //{} } But it’s not as sophisticated as what you’re looking for. Thanks, Ludo’.