On Fri, Jul 24, 2009 at 08:20:24PM +0000, brian m. carlson wrote:
> The file in question, which is attached, is a one-page poem[0].  Using
> the former method correctly produces one page.  Using pdfroff creates
> two pages, which AFAICT are identical.

Okay, I've looked into this, and it seems the following happens:

* pdfroff processes the input for TOC formatting and puts it in a file.
* It then processes the input for body formatting and writes that to a
  different file.
* Finally, it pipes both files through a sed script and into
  Ghostscript.

The problem here is that both files are identical.  If I use --emit-ps
to bypass the PS to PDF conversion (using Ghostscript), then I can see
that the output basically consists of two concatenated PostScript files;
the line immediately after the first "%%EOF" is another
"%!PS-Adobe-3.0".

I'm not sure how to fix this, since I'm not sure exactly how it was
supposed to work in the first place.  Hopefully this is helpful.

-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 713 440 7475 | http://crustytoothpaste.ath.cx/~bmc | My opinion only
OpenPGP: RSA v4 4096b 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187

Attachment: signature.asc
Description: Digital signature

Reply via email to