> 1)  If small page size is set with -P-p2i,2i command-line
>     switch for groff, pdf file produced by gs from
>     the resulting eps file is not 2in x 2in, but full
>     letter-size page (see foo_small.eps, foo_small.pdf,
>     full_small.txt in the attached archive).

It usually *does* work, but you're turning that feature off
with "-P-b16".  Try this:

  groff -P-p2i,2i foo >foo.ps
  gs -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile=foo.pdf foo.ps

Another thing to note is that setting the MediaBox in the
PDF-file from the BoundingBox in the PS-file using -dEPSCrop
appears to work only when the "EPSF"-signature is present in
the first line of the PS-file.
However, it does *not* work if the PS-file uses setpagedevice to
set the paper size, so in this case you *will* need the "-P-b16".




_______________________________________________
Groff mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/groff

Reply via email to