bug-auctex
[Top][All Lists]
Advanced

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

Re: [Bug-AUCTeX] Preview-ghostscript exited abnormally; missing resoluti


From: David Kastrup
Subject: Re: [Bug-AUCTeX] Preview-ghostscript exited abnormally; missing resolution values
Date: Sat, 07 Oct 2006 10:31:24 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Tang Hai Tuan Minh <address@hidden> writes:

> Hi,
>
> Preview-latex seems to act up on me this time around and I have no idea what 
> could go wrong (it was working fine on all my other machines before). 
> Preview-latex works the first time after I installed it. However, on 
> subsequent editing sessions, it doesn't work anymore. The error message is as 
> follow.
>
> Preview-DviPS finished at Sat Oct  7 00:56:45
> Running `Preview-Ghostscript' with 
> ``gs -dOutputFile\=\(recurrence_conference.prv/tmp99701bc/pr1-\%d.png\) -q 
> -dSAFER -dNOPAUSE -DNOPLATFONTS -dPrinted -dTextAlphaBits\=4 
> -dGraphicsAlphaBits\=4 -sDEVICE\=png16m -r0x0''
>
> Preview-Ghostscript exited abnormally with code 1 at Sat Oct  7 00:56:45
> -r must be followed by <res> or <xres>x<yres>
>
> Preview-Ghostscript exited abnormally with code 1
>
> I have also attached the complete log along with this e-mail. The current 
> version of Emacs I am using is the XFT branch dated September 24, 2006 from 
> CVS.

It would be my guess that

M-: (face-attribute 'preview-face :height nil 'default) RET

returns "0", which would be clearly an error of the XFT branch.  If
that is the case, please report it to the branch maintainer.

In the mean time, you can try
M-x customize-face RET preview-face RET
and try setting a fixed non-zero integer value for its :height
property (I have the equivalent of 193 on my system, corresponding to
a font that appears to have a height of 19.3 point on-screen).

While preview-latex will then not adapt its image size to changes of
the default font size in your Emacs screens, most people don't
actually change this size.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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