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.