[Top][All Lists]

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

Re: How to do Conditional Formatting?

From: Michael Koehmstedt, RenPet
Subject: Re: How to do Conditional Formatting?
Date: Thu, 7 Jun 2012 15:44:53 -0700

I'm at a loss at how I can write a @Case statement that will print the table on the first-run, gather the page numbers, and on the 2nd run test whether it fit on the current page. I have grown up using programming languages where everything is done in one pass, so that is where the conceptual problem is coming from.

On Wed, Jun 6, 2012 at 7:35 PM, Pierre <address@hidden> wrote:
I must be missing something again, but "running Lout twice on the same document." in that context sounds conceptually easy enough, if not automated.

There must be some misunderstanding.

On 2012-06-06 19:12, Michael Koehmstedt, RenPet wrote:
Well, I think I must admit defeat at this point. My conceptual understanding of Lout is just too limited to figure out how to do this even after hours of trying. I'm not even sure what kind of questions to ask really...Jeff, you thought it would be a fun exercise to come up with this, so I think this might be a good opportunity :) Otherwise, I am going to need some more explicit guidance on how this might be done.

What I'm looking for is to be able to invoke something like:

object.tag @CanFitOnCurrentPage optional.object.tag

where if object.tag can fit on the current page it prints that, and if it can't fit on the current page it prints the optional.object.tag (with an empty object being the default).

Much appreciated,

On Fri, Jun 1, 2012 at 10:10 PM, Jeff Kingston <address@hidden> wrote:
> *The big question is, if I have to print Table1 to figure out what page it
> ends up on, how can I "unprint" it and print the alternate Table instead?*

By running Lout twice on the same document.


reply via email to

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