I am currently trying to set up AuCTeX in emacs, but I'm encountering difficulty in getting the preview feature to work. For reference, I'm using Windows 7 64-bit, GNU Emacs 24.3.1, AuCTeX 11.87.7 (installed via the package manager), and GhostScript v8.71 32-bit (because I saw from previous questions that later versions had some bugs with the preview feature).

I have installed the relevant dlls to allow for PNG display, but now I am getting an error that:

Preview-LaTeX exited as expected with code 1 at Sun Oct 5 01:21:33 LaTeX: LaTeX found no preview images

This is from the default circ.tex file included as a test, and Ghostscript is indeed running, and the images are definitely being rendered and being saved in either a pdf (when I try it in pdftex mode) or a dvi (when I try it with pdftex mode turned off), but they aren't showing up in the buffer, nor does it seem like emacs even recognizes that the files were created. I've browsed through multiple help questions regarding this issue, but I haven't found a solution that works for me. Any help would be appreciated, and please let me know if you require any additional information.

closed as unclear what you're asking by Romain Picot, Werner, user36296, user13907, Zarko Jan 2 '16 at 20:13

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • Welcome to TeX.SX! – user31729 Oct 5 '14 at 6:55
  • Can you view a *.png file in a buffer all by itself -- e.g., just open it like you would any other file and display it as an image? This is a test without using AUCTeX just to see if the *.png images can be displayed properly by Emacs. – lawlist Oct 6 '14 at 3:32
  • what version of the dll files do you have? I have libpng16-16.dll and zlib1.dll which I have recently downloaded from here. After a couple of errors, I finally got the preview-latex feature to work. (I've recently had a similar problem) – WobblyWindows Sep 8 '15 at 10:14

Browse other questions tagged or ask your own question.