auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] Problems with preview-latex from AUCTeX-11.84


From: David Kastrup
Subject: Re: [AUCTeX] Problems with preview-latex from AUCTeX-11.84
Date: Wed, 31 Oct 2007 21:46:01 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux)

Tassilo Horn <address@hidden> writes:

> when I hit `C-c C-p C-d' in a document I'm writing right now to preview
> it, I'm asked if I want to cache the preamble wich I answer with y.
> Then I get this error:
>
> Debugger entered--Lisp error: (args-out-of-range [(1 5522) (5523 54) (5577 
> 55) (5632 57) (5689 8)] 124)
>   signal(args-out-of-range ([(1 5522) (5523 54) (5577 55) (5632 57) (5689 8)] 
> 124))
>   preview-reraise-error()
>   preview-gs-filter(#<process Preview-Ghostscript> "GS>")
>
> In the buffer *~/path/to/thesis output* I have:
>
> Preview-LaTeX exited as expected with code 1 at Wed Oct 31 09:51:34
> Running `Preview-PDF2DSC' with ``pdf2dsc thesis.pdf 
> thesis.prv/tmp3224bfv/preview.dsc''
> Error: /typecheck in --known--
> Operand stack:
>    4   (\()   (0)   --dict:5/5(L)--   --nostringval--
> Execution stack:

[...]

> Last OS error: 2
> Current file position is 8071
> GPL Ghostscript 8.60: Unrecoverable error, exit code 1
>
> Preview-PDF2DSC exited abnormally with code 1 at Wed Oct 31 09:51:34
> Running `Preview-Ghostscript' with ``gs 
> -dOutputFile\=\(thesis.prv/tmp3224bfv/pr1-\%d.png\) -q -dSAFER -dNOPAUSE 
> -DNOPLATFONTS -dPrinted -dTextAlphaBits\=4 -dGraphicsAlphaBits\=4 
> -sDEVICE\=png16m -r86.6357x84.3017''
> Ghostscript filter: Args out of range: [(1 5522) (5523 54) (5577 55) (5632 
> 57) (5689 8)], 124
>
> What's the culprit here?

Your PDF file contains garbage.  This breaks pdf2dsc, and the resulting
incomplete Pseudo-PostScript file contains only 5 marked pages rather
than 124 or more.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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