groff
[Top][All Lists]
Advanced

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

Re: [Groff] groff Image Formats


From: Ralph Corderoy
Subject: Re: [Groff] groff Image Formats
Date: Fri, 19 Oct 2007 09:45:45 +0100

Hi Frank,

> >     $ date | groff >foo.ps
> >     $ ps2epsi foo.ps
> >     $ egrep -n '^%[!%]' foo.epsi
>     
> Here's the (long) output:
> 
> $ egrep -n '^%[!%]' figure9-acrobat.eps
> 1:%!PS-Adobe-3.1 EPSF-3.0
> 3:%%Title: figure9.pdf
> 4:%%Creator: Adobe Acrobat 8.0
> 5:%%For: Administrator
> 6:%%CreationDate: 10/15/2007, 12:12:48 PM
> 7:%%BoundingBox: 0 0 536 152
> 8:%%HiResBoundingBox: 0 0 535.5719 151.2000
> 9:%%CropBox: 0 0 535.5719 151.2000

That's excellent, thanks.  The problem is line 2 doesn't match /^%%/ and
so troff stops reading the comments.  What's the output of

    sed 9q figure9-acrobat.eps

Cheers,


Ralph.





reply via email to

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