system information:
Windows 7
Emacs 24.5.1 (i686-pc-mingw32)
auctex-11.89.3
TexLive 2015 (full installation from ISO)
I use XeTeX becuase of UTF-8 support, and I can compile .tex into .pdf in Emacs.
While when I tried to preview the equations, emacs reported error like this:
Code: Select all
...
(see the transcript file for additional information)
Output written on _region_.pdf (1 page).
Transcript written on _region_.log.
TeX Output exited as expected with code 1 at Wed May 11 09:07:20
Running `Preview-PDF2DSC' with ``pdf2dsc "_region_".pdf "_region_.prv/tmp9720IXo"/preview.dsc''
Preview-PDF2DSC exited abnormally with code 1 at Wed May 11 09:07:23
PDF2DSC sentinel: Opening input file: no such file or directory, e:/Grant/Latex/eq/_region_.prv/tmp9720IXo/preview.dsc
Then I tried to run the command manually by typing:
Code: Select all
pdf2dsc _region_.pdf _region_.prv/tmp9720IXo/preview.dsc
Code: Select all
Error: /undefinedfilename in (pdf2dsc.ps)
Operand stack:
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push
Dictionary stack:
--dict:1199/1684(ro)(G)-- --dict:0/20(G)-- --dict:78/200(L)--
Current allocation mode is local
Last OS error: No such file or directory
Code: Select all
\documentclass{article}
\usepackage{amsmath}
\begin{document}
Learning \LaTeX
\[
y = x^2+2x+1
\]
\end{document}
Thank you in advance.