lout-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to do Conditional Formatting?


From: Ludovic Courtès
Subject: Re: How to do Conditional Formatting?
Date: Fri, 01 Jun 2012 15:58:46 +0200
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.93 (gnu/linux)

Hi,

"Michael Koehmstedt, RenPet" <address@hidden> 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’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]