groff
[Top][All Lists]
Advanced

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

Re: [Groff] MM - top and bottom


From: Alejandro Lopez-Valencia
Subject: Re: [Groff] MM - top and bottom
Date: Wed, 01 Jan 2003 08:48:32 -0500

At 03:59 p.m. 31/12/2002 +0100, Daniele Furlan wrote:
Hello everybody, I'm new in list.

I occasionally used groff + macros on Linux and BSD system. I
always preferred G(t)roff over TeX/LaTeX for it's more terse
and more integrated with Unix. IMHO.

Now I've began to use it more often and so I need some help...
:-)

My first question in list: how change top and bottom margins
with mm macros?

There is a VM macro but I don't know how to use it and every
test is failed leaving my page always the same... :-(

That sounds like a bug. Hmmm. Yup I can confirm it. It is a bug.

The FreeBSD system, on which I usually work, runs groff 1.17.2.

Same here with last Sunday's CVS snapshot. :(

Let's see... This *works*.

.de TP
.sp 25v
..
.de BS
.sp 25v
..
.P
This is a test
.P
This is a test
.P
This is a test.
.P
Header size is \n[pg*header-size]
.P
Footer size is \n[pg*footer-size]

Wait a sec... This works too:

.VM 25v 25v
.P
This is a test
.P
This is a tst
.P
This is a test.
.P
Header size is \n[pg*header-size]
.P
Footer size is \n[pg*footer-size]

For some reason, the macro definition of "VM -T" isn't working. Definitely a bug[1].

Remember that if you use .VM instead of .VM -T, you are using relative movements, thusly the actual margins are top = 25v + 7v and the bottom is 25v + 5v. Unlike .VM -T you need to do margin resetting by yourself (that is, .VM -25v -25v).

Thanx and Happy New Year!

Equally.


reply via email to

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