Peter Dyballa <[EMAIL PROTECTED]> 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


_______________________________________________
bug-auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-auctex

Reply via email to