lout-users
[Top][All Lists]
Advanced

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

Re: [Q] single specialized header for every page


From: Valeriy E. Ushakov
Subject: Re: [Q] single specialized header for every page
Date: Wed, 20 Dec 1995 14:51:51 +0300 (MSK)

On Wed, 20 Dec 1995, myk melez wrote:

> I'm having difficulties understanding how to generate headers for a
> particular application.  I'm developing a Perl script to automatically
> generate a series of documents.  Each document is identified by a unique id
> number, and I'd like that number in the header of every page of each
> document (along with a page number). Mostly these documents will be job
> openings for the campus I work at.
> 
> From reading the User's Guide it seems that in order to accomplish this I
> need to set @PageHeaders { titles } and enclose my entire document in a
> @Section tag with a @Title tag set to the id number of the file.  This
> seems rather clumsy, and brings up the problem of removing the consequences
> of a section (section numbers, titles, etc.) from the document.

In your "@Use { @DocumentLayout }" clause set
@(Intro)?(Start)?(Odd|Even)(Top|Foot) to appropriate values (and keep 
@PageHeaders Simple)

E.g.
        @Use { @DocumentLayout
          # First page -- footer
          @StartOddFoot {         @Centre {- @PageNum -} @Right @YourID }
          # Ordinary pages -- headers
          @OddTop       {         @Centre {- @PageNum -} @Right @YourID }
          @EvenTop      { @YourID @Centre {- @PageNum -}                }
        }


Best regards!

SY, Uwe.
--------
address@hidden                          |       Zu Grunde kommen
http://www.niif.spb.su/~uwe/            |       Ist zu Grunde gehen


reply via email to

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