latex preview in emacs-app does not work with pdflatex option

Andre Massing massing at simula.no
Tue Nov 9 04:13:02 PST 2010


Hi there!

After some very helpful comments from the list I could get emacs-app 
running with latex and
preview mode. It seems that there are some gs variants from Mactex and 
macports interfering.
At least with it works for me when I set (kept it as two lines for 
easily uncommenting it):

(setq exec-path (append exec-path '("/usr/local/bin")))
(setq exec-path (append exec-path '("/usr/texbin")))

in my .emacs beside the usual
(require 'tex-site)
(load "auctex.el" nil t t)
(load "preview-latex.el" nil t t)

(When gs from macports was used I did not get any preview, just the 
error indicating stop signs)
Now I have get preview when pdf latex option is turned off. If turned on 
*no* preview pictures
are loaded and just stop signs appear in my buffer (BTW, same problem 
occurs with Aquamacs).
So my question is, whether there is anybody who uses emacs-app from 
macports in combination with mactex and pdflatex mode
and gets a functional preview? Any hints where I could start to debug. 
At least the compile window does not spit out
any error message...

Thanks for any hints!
Cheers,
Andre


More information about the macports-users mailing list