[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] header and footer in a cv with -mom
From: |
Jan-Herbert Damm |
Subject: |
Re: [Groff] header and footer in a cv with -mom |
Date: |
Mon, 14 Sep 2009 11:29:19 +0200 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
Hello,
[I am posting this resulting from an off-list mail to Peter Schaffter; Peters
reply will follow as an answer to myself. Sorry for the mess.]
Peter Schaffter wrote on 19.08.09:
> On Wed, Aug 19, 2009, Jan-Herbert Damm wrote:
> > I am trying to write a CV using groff -mom. I want to have a special Header
> > and Footer to every Page.
> Briefly, HEADERS_AND_FOOTERS allows you to have both headers and
> footers on the same page, and to say precisely what goes in them.
I have just spent several hours trying to get this right. But still can't.
Very probalbly I have overlooked something silly. But being frustrated by now
I'd appreciate it very much if you could have a look at this.
With the following Code I get a Header on page 1 that is messed up after
printing the closing ' " ' for a reason I don't understand.
There is no footer on page 1 and inexplicable header and footer-rules on
subsequent pages.
greetings
jan
GNU groff version 1.20.1
######################## snip from cv.mom #################
.PRINTSTYLE TYPESET
.PAPER A4
.AUTHOR "Jan-Herbert Damm"
.TITLE "Curriculum Vitae"
.DOCHEADER OFF
\#
.L_MARGIN 2c
.R_MARGIN 2c
.T_MARGIN 6P
.B_MARGIN 6P
\#
\#
\##################
\##################
.HEADERS_AND_FOOTERS \
CENTER "\*[SIZE 9]\l'12P'\h'2P'jan-herbert damm - generalist\h'2P'\l'12P'" \
CENTER "\*[SIZE 8]jan-herbert damm, parchimer allee 96, 12359 berlin, 030 21
96 06 15, address@hidden"
\##################
\##################
\#
.START
\########### end snip from cv.mom ############
- Re: [Groff] header and footer in a cv with -mom,
Jan-Herbert Damm <=