预览AUCTex问题

dar*_*kjh 10 emacs latex preview auctex

我正在尝试用emacs + auctex来写我的实习报告.但我发现预览功能不起作用.实际上我在使用ubuntu 10.04时已经使它工作了,但是现在我有了一台11.04的新电脑,我在预览时遇到了问题.

例如:

\documentclass{article}
\begin{document}
 Hello world!
\end{document}
Run Code Online (Sandbox Code Playgroud)

然后我点击Cc Cp Cb进行缓冲区范围的预览,它告诉我:

error in process sentinel: preview-reraise-error: LaTeX found no preview images
error in process sentinel: LaTeX found no preview images
Run Code Online (Sandbox Code Playgroud)

然后在info输出文件中,它告诉我

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
Run Code Online (Sandbox Code Playgroud)

编译和其他的东西工作得很好,我已经尝试了一些时间重新安装auctex,但仍然喜欢这样.有帮助吗?

谢谢!

Ale*_*Ott 8

我记得,AUCTeX预览仅适用于图片和公式等,而你没有.

如果你想看到编译的文档,那么你可以使用标准的编译/预览序列,运行C-c C-c...你可以在AUCTeX文档中找到更多