Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Preview in AUCTex problem

I'm trying to use emacs+auctex to write my internship report. But I found that the preview feature doesn't work. In fact I have made it work when using ubuntu 10.04, but now I have a new computer with 11.04 and I have problems with preview.

For example:

\documentclass{article}
\begin{document}
 Hello world!
\end{document}

Then I hit C-c C-p C-b for a buffer-wide preview, it tells me:

error in process sentinel: preview-reraise-error: LaTeX found no preview images
error in process sentinel: LaTeX found no preview images

Then in the info output file, it tells me

Preview: Fontsize 10pt )  !name(hello world.tex) !offset(-3)  ) No pages of output. Transcript written on _region_.log.

Preview-LaTeX finished with nothing to show at Fri Jul 22 22:45:58 LaTeX: LaTeX found no preview images

Compiling and other things work well, and I have tried some time re-installing auctex, but still like this. Any help?

Thanks!

like image 662
darkjh Avatar asked Jul 22 '11 20:07

darkjh


1 Answers

As I remember, AUCTeX preview works only for pictures & formulas, etc., and you have none of them.

If you want to see compiled document, then you can use standard compilation/preview sequence, that is run with C-c C-c... You can find more in AUCTeX documentation

like image 131
Alex Ott Avatar answered Oct 15 '22 19:10

Alex Ott