lout-users
[Top][All Lists]
Advanced

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

Re: omitting a page number


From: Jeff Kingston
Subject: Re: omitting a page number
Date: Sun, 05 May 2002 10:58:06 +1000

On Fri, 3 May 2002 16:57:56 -0500, Ben Saylor wrote:
  > 
  > Hi,
  > 
  > How can I tell lout to omit the page number on a given page?  I have a
  > document that is to be printed double-sided, and it has a title page, so
  > I want to leave the back of the title page completely blank.

Well, it's not easy, but it can be done.  For example, in the book setup
file there are several options that might determine the value of the page
header on this page, depending what kind of page numbering you are using.
Let's say that the relevant one is

    # @RunningEvenTop  { @I address@hidden @DotSep @MinorTitle} @Right @B 
@PageNum }

You need to get this to behave differently when @PageNum is 2 (or ii it
might be, depending on...).  You can do it like this:

    @RunningEvenTop {
        @PageNum @Case {
            2 @Yield @Null
            else @Yield { ... whatever you normally want ... }
        }
    }
 
  > Also, I would like the first non-blank page after the title page (i.e.
  > page 3) to be numbered 1.  Setting @FirstPageNumber to -1 doesn't seem
  > to work..

Off-hand, I can't think of a way to do this cold.  But if you use the
book setup file you'll find this happens automatically, more or less,
because the introductory page sequence is numbered separately from the
main page sequence.  It could be that you are trying to reinvent the
book setup style, and that by switching to book you will get what you
want plus other good things beyond what you've asked for in this email.

Jeff Kingston




reply via email to

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