groff
[Top][All Lists]
Advanced

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

Re: [Groff] patch for pdfroff


From: Zvezdan Petkovic
Subject: Re: [Groff] patch for pdfroff
Date: Sun, 13 Aug 2006 14:02:21 -0400
User-agent: Mutt/1.4.2i

On Mon, Jul 31, 2006 at 12:14:08AM +0100, Keith Marshall wrote:
> > The problem with this sed script was that it would delete EVERYTHING
> > from the `%%Page: n n' marker record for a new page, down to the first
> > line of PostScript code following the associated `%%EndPageSetup'
> > marker, if it matched the regular expression `0 *Cg *EP' ANYWHERE
> > within that line range.  Clearly, this was too greedy a match
> > specification, which could remove page headers where they should have
> > been retained, potentially even leading to an invalid PostScript output
> > stream.
> >
> > I've now tightened the requirement...
> 
> But not tightly enough, for it failed my `teapot' test,  to the extent 
> that sed would hang, or segfault, while trying to parse the embedded EPS 
> photographic images.  This too is now fixed in CVS.

First of all sorry for not responding earlier.
I was on a vacation and couldn't test the new version of pdfroff script.

I checked it out today with and without --no-kill-null-pages option.
It produces the same PostScript file which is good.  The pictures are
preserved and they show up on slides.

Looks good.

Best regards,

        Zvezdan Petkovic




reply via email to

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