lout-users
[Top][All Lists]
Advanced

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

Re: A solution and a question


From: Jeff Kingston
Subject: Re: A solution and a question
Date: Thu, 05 Dec 2002 14:24:34 +1100

It sounds like you basically need a strut with your headers
and footers: an object that ensures that they always occupy
the kind of space they would if they had ascenders and
descenders.  My usual strut is

def @Strut { 0.5w @VShift 1f @High }

(this is from memory, it gives 0.5f above and below the mark)

and I use it like this:

    address@hidden @DotSep @MinorTitle & @Strut}

or whatever.

I had to make a book with a double-page spread on the centre
two pages recently.  You canhave a two-page FullPage figure
anchored a bit earlier, with nothing in it but white vertical
space.  That will make the pages blank.  Then, if they are
pages 50 and 51, say, you can alter the running headers to

   @RunningOddTop { @PageNum @Case { 50 51 } @Yield ""
                    else @Yield <the usual header> }

NB syntax not quite right.  This turns off running headers
on the centrefold pages.  So this way you can get two
absolutely blank pages, which you can replace by your
double-page spread in production.  That's what I did anyway.

If you want to somehow munge it all into one PostScript file
then you are going to need to break your diagram into
two bits using some other tool and @IncludeGraphic each
fragment separately.  I can explain how to fool Lout
into letting them occupy the usually inaccessible margins.
It would be a bit fiddly but could be done.

The whole thing could probably be packaged up in Lout,
taking advantage of PostScript's clipping capability
(not presently used anywhere in Lout) to format the
diagram twice but show only half each time, and then
putting each half into the full page figure aforementioned.


Jeff


reply via email to

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