groff
[Top][All Lists]
Advanced

[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 19:20:45 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

I should add: I read that passing -p to grops can change the paper size,
so PS must support it. I wonder though whether it supports setting it
throught the .device command or another "raw passthrough" command.

On Wed, Jan 26, 2011 at 07:16:08PM +0100, Cedric Sodhi wrote:
> On Wed, Jan 26, 2011 at 07:02:29PM +0100, Werner LEMBERG wrote:
> > >> 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 [...]
> > 
> > Compile what?  Example, please.  The error indicates a macro problem.
> > 
> > > And when I add the .device instruction I get 
> > > 
> > > grops:<standard input> (<standard input>):
> > > 19: X command without `ps:' tag ignored
> > 
> > I told you that the stuff I've sent to the list works with -Tdvi only.
> > It's not possible to change the paper size within a document if you
> > use -Tps.  For grops, you have to specify the physical paper
> > dimensions on the command line (for example, `-P-pa4' as an argument
> > to `groff').
> > 
> > 
> >     Werner
> 
> Sorry, I mixed up what output device I'm actually using. I wonder why it
> doesnt work with ps, though. Is that a shortcoming of grops? PS itsself
> should support that, should it not? Sorry for randomly guessing. I think
> if PS does per se not support different paper sizes I will have to
> change to DVI, just have to see how to convert it to PDF afterwards.



reply via email to

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