bug-auctex
[Top][All Lists]
Advanced

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

Re: [Bug-AUCTeX] 11.84; conversion of formula to picture fails


From: David Kastrup
Subject: Re: [Bug-AUCTeX] 11.84; conversion of formula to picture fails
Date: Sat, 05 Jan 2008 14:39:08 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux)

Peter Dyballa <address@hidden> writes:

> In Emacs.app, the Cocoa port of GNU Emacs 23.0.60 (http://emacs-
> app.sourceforge.net/), it fails to convert formulas from the preview/
> circ.tex file to pictures. In the _region_ output buffer no error is
> mentioned:
>
>       Output written on _region_.pdf (1 page, 10249 bytes).
>       Transcript written on _region_.log.
>       
>       Preview-LaTeX exited as expected with code 1 at Sat Jan  5 12:45:33
>       Running `Preview-PDF2DSC' with ``pdf2dsc _region_.pdf
> _region_.prv/
> tmp2780XsX/preview.dsc''
>       
>       Preview-PDF2DSC finished at Sat Jan  5 12:45:33
>       Running `Preview-Ghostscript' with ``gs
> -dOutputFile\=\(_region_.prv/
> tmp2780XsX/pr1-\%d.png\) -q -dSAFER -dNOPAUSE -DNOPLATFONTS -dPrinted
> -dTextAlphaBits\=4 -dGraphicsAlphaBits\=4 -sDEVICE\=png16m - 
> r101.344x101.395''
>       
>       Preview-Ghostscript finished at Sat Jan  5 12:45:34
>
> Running in *shell* the (expanded and edited) gs command on
> _region_.pdf I get only the GS> prompt ... but the output file has
> been created:

My guess is that you start Emacs in some manner where gs is not present
in the PATH variable.  When starting a shell, something like ~/.bashrc
is read in and presumably sets the path.  This does not happen, however,
when Emacs starts gs directly without an intervening shell.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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