groff
[Top][All Lists]
Advanced

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

Re: [Groff] including images


From: Matthias Czapla
Subject: Re: [Groff] including images
Date: Tue, 27 Apr 2004 21:18:21 +0200
User-agent: Mutt/1.3.28i

On Tue, Apr 27, 2004 at 02:07:27PM -0500, Robert Goulding wrote:
> On Apr 27, 2004, at 1:33 PM, Matthias Czapla wrote:
> >On Sun, Apr 25, 2004 at 08:44:09PM -0500, Robert Goulding wrote:
> >>Quoting Matthias Czapla <address@hidden>:
> >>>Im new to troff and really like it. I know about pic to construct
> >>>pictures but I wonder if there is a way of including arbitrary images
> >>>in the document.
> >>
> >>Look at 'man groff_tmac' and search for .PSPIC, a macro for including 
> >>EPS
> >>images.
> >
> >Thanks, that works great! Is there documentation about the arguments
> >available? I dont grasp the code completely.
> 
> It's pretty straightforward.
> 
> .PSPIC foo.eps
> 
> will include the file, centred on the page, at fullsize.  If you want 
> it left-aligned instead, you can write
> 
> .PSPIC -L foo.eps
> 
> If you want it to be scaled to a width of 3i and right-aligned, then:
> 
> .PSPIC -R foo.eps 3i
> 
> (if you state both width and height, groff will scale the graphic 
> uniformly so that it doesn't exceed either value; it won't 'stretch' it 
> in a particular direction, which is what one might expect).

Ah, thats exactly what has been confusing me. Thank you very much.

Matthias


reply via email to

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