[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Setting page and paper size
From: |
Cedric Sodhi |
Subject: |
Re: [Groff] Setting page and paper size |
Date: |
Wed, 26 Jan 2011 18:57:27 +0100 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Wed, Jan 26, 2011 at 05:57:24PM +0100, Werner LEMBERG wrote:
>
> > I think I don't really understand the difference between "papersize"
> > and "physical paper dimensions".
>
> The logical paper dimensions within groff are set with .ll and .pl.
> However, this doesn't take into account how large the `real' paper is
> – you can say
>
> .ll 200c
> .pl 300in
>
> and groff is still happy. The real, physical paper size is only
> relevant for the drivers.
>
Doen't work all that well, when I try to compile I get
<standard input>:20: fatal error:
input stack limit exceeded (probable infinite loop)
And when I add the .device instruction I get
grops:<standard input> (<standard input>):
19: X command without `ps:' tag ignored
Am I missing something?
> > PS: I take it there is no easy way to "manually" set the papersize
> > to X inch x Y inch? I've tried figuring out how papersize.tmac works
> > but it's a little complicated for me to recognize where the "crucial
> > command" takes place in the tmac.
>
> Well, `papersize.tmac' just translates `a4' or `a5l' into proper calls
> to `.ll' and `.pl', nothing else. Of course, you can ignore this
> macro file completely, saying directly
>
> .pl 21c
> .ll 29.7c
> .device papersize=21cm,29.7cm
>
>
> Werner
- [Groff] Setting page and paper size, Cedric Sodhi, 2011/01/26
- Re: [Groff] Setting page and paper size, Werner LEMBERG, 2011/01/26
- Re: [Groff] Setting page and paper size, Cedric Sodhi, 2011/01/26
- Re: [Groff] Setting page and paper size, Werner LEMBERG, 2011/01/26
- Re: [Groff] Setting page and paper size,
Cedric Sodhi <=
- Re: [Groff] Setting page and paper size, Werner LEMBERG, 2011/01/26
- Re: [Groff] Setting page and paper size, Cedric Sodhi, 2011/01/26
- Re: [Groff] Setting page and paper size, Cedric Sodhi, 2011/01/26
- Re: [Groff] Setting page and paper size, Werner LEMBERG, 2011/01/26
- Re: [Groff] Setting page and paper size, Cedric Sodhi, 2011/01/26
- Re: [Groff] Setting page and paper size, Werner LEMBERG, 2011/01/27
- Re: [Groff] Setting page and paper size, Werner LEMBERG, 2011/01/26