Am Mittwoch, 29. Juli 2009 schrieb brian m. carlson: > On Wed, Jul 29, 2009 at 07:59:33PM +0200, Heinz-Jürgen Oertel wrote: > > > > Hello, > > is someone using gpresent http://www.science.uva.nl/~bobd/useful/gpresent/ > > with groff version 1.20.1 ? > > I'm having difficulties using ps2pdf to convert the generated PS files to > > PDF > > Do you normally have problems with ps2pdf? That is, if you generate a > PS file using groff normally (without gpresent), does ps2pdf work > properly for converting to PDF? Since I don't like the way that > PostScript files look on my viewers, I almost always use something like: > > groff -k -me file | ps2pdf - file.pdf > > and it works just fine. >
ps2pdf is working fine on normal groff generated files. I just checked the output of gs: ------------------------------------------------------------------------------------------- Error: /undefined in tgifdict Operand stack: --nostringval-- Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1921 1 3 %oparray_pop 1920 1 3 %oparray_pop 1904 1 3 %oparray_pop 1787 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- Dictionary stack: --dict:1171/3371(ro)(G)-- --dict:0/20(G)-- --dict:71/200(L)-- --dict:59/120(L)-- --dict:71/200(L)-- Current allocation mode is local Last OS error: 2 Current file position is 9270 GPL Ghostscript 8.62: Unrecoverable error, exit code 1 GPL Ghostscript 8.62: ERROR: A pdfmark destination page 2 points beyond the last page 1. --------------------------------------------------------------------------------------------- I overlooked the first line. It points me to tgif generated EPS picture included in my slides. After removing the .PSPIC line, it worked again. Now I have to discove a bit closer what tgif is producing and do some tests with other tgif files. Thanks Heinz