lout-users
[Top][All Lists]
Advanced

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

How to do Conditional Formatting?


From: Michael Koehmstedt, RenPet
Subject: How to do Conditional Formatting?
Date: Thu, 31 May 2012 13:08:44 -0700

Hello,

I'd like to know how conditional formatting could be handled in Lout. Here's some Psuedo C code that demonstrates what I'm after:

if ( canFitOnTheCurrentPage( text ) )
     print( text );
else {
     print( "See attached page" );
     newLine( );
     print( slightlyDifferentText );
}

I have an inkling of how I might be able to accomplish this with a cross-reference symbol and a two-pass run but if someone with experience could give me some advice I'd much appreciate it.

Regards,
Michael Koehmstedt



reply via email to

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