I am compiling (typesetting) a fairly long latex document (5000 lines) using the 'LaTeX' and 'TeX and DVI' options under the typeset menu. The typesetting process seems to complete successfully (no latex errors) but then fails to generate the associated pdf file. Here is the error message at the tail end of the console:
### ps2pdf13 /tmp/altpdflatex.1899-1312759856/Ch4_Reconstructed.ps /tmp/altpdflatex.1899-1312759856/Ch4_Reconstructed.pdf
GPL Ghostscript 8.71: ./psi/iscan.c(333): Can't refill scanner input buffer!GPL Ghostscript 8.71: Unrecoverable error, exit code 255
### FAILED to generate /tmp/altpdflatex.1899-1312759856/Ch4_Reconstructed.pdf ()
Any advice would be greatly appreciated. Thank you.
TeXShop ⇒ Trouble generating PDF
-
- Posts: 7
- Joined: Sat Sep 05, 2009 5:16 am
Trouble generating PDF
Last edited by justinkearns on Wed Aug 10, 2011 4:15 pm, edited 1 time in total.
-
- Posts: 7
- Joined: Sat Sep 05, 2009 5:16 am
Re: Trouble generating PDF
I managed to resolve this problem myself, or so I think. By a process of trial and error, I determined that certain figures were being placed outside of the page boundaries and causing the pdf generator to choke. Perhaps this experience may help others avoid the same problem.