This is my latex file .  I can use xelatex to compile it to pdf . But I can
not preview math environment in it .

> \documentclass[11pt]{article}
> \usepackage{fontspec}
> \usepackage{xunicode}
> \usepackage{xltxtra}
> \setmainfont[Mapping=tex-text]{LiHei Pro}
> \begin{document}
> kjhkljh
> \XeTeX $\int$
> \[\int\sum\]
> \end{document}
>
When I preview $\int$ in xelatex environment, I get the below error :

> gs -dOutputFile\=\(_region_.prv/tmp17941MEi/pr1-1.png\) -q -dSAFER
> -dNOPAUSE -DNOPLATFONTS -dPrinted -dTextAlphaBits\=4 -dGraphicsAlphaBits\=4
> -sDEVICE\=png16m -r145.534x145.407
> GS>{DELAYSAFER{.setsafe}if}stopped pop/.preview-BP
> currentpagedevice/BeginPage get dup null eq{pop{pop}bind}if
> def<</BeginPage{currentpagedevice/PageSize get dup 0 get 1 ne exch 1 get 1
> ne or{.preview-BP 0.184314 0.309804 0.309804 setrgbcolor clippath fill
> 0.980392 0.921569 0.843137 setrgbcolor}{pop}ifelse}bind/PageSize[1
> 1]>>setpagedevice/preview-do{[count 3 roll save]3 1 roll dup length 0
> eq{pop}{setpagedevice}{ifelse .runandhide}stopped{handleerror quit}if aload
> pop restore}bind def /GS_PDF_ProcSet GS_PDF_ProcSet dup maxlength dict copy
> dup begin/graphicsbeginpage{//graphicsbeginpage exec 0.980392 0.921569
> 0.843137 3 copy rg RG}bind store end readonly store
> [(_region_.prv/tmp17941MEi/preview.dsc)(r)file]aload exch dup 0
> setfileposition 453()/SubFileDecode filter cvx .runandhide aload pop dup
> dup 453 setfileposition 49()/SubFileDecode filter cvx<<>>preview-do
> Error: /invalidfileaccess in --file--
> Operand stack:
>    --nostringval--   (_region_.prv/tmp17941MEi/preview.dsc)   (r)
> Execution stack:
>    %interp_exit   .runexec2   --nostringval--   --nostringval--
> --nostringval--   2   %stopped_push   --nostringval--   --nostringval--
> %loop_continue   --nostringval--   --nostringval--   false   1
> %stopped_push   .runexec2   --nostringval--   --nostringval--
> --nostringval--   2   %stopped_push   --nostringval--
> Dictionary stack:
>    --dict:1164/1684(ro)(G)--   --dict:0/20(G)--   --dict:79/200(L)--
> Current allocation mode is local
> Last OS error: 2
> Current file position is 712
> GS<3>
>
How to do with it ?
Thanks
---------- Forwarded message ----------
From: waterloo <[email protected]>
Date: 2012/1/22
Subject: Does preview of auctex support xetex now ?
To: [email protected]


Does preview of auctex support xetex now ?
Thanks
_______________________________________________
auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex

Reply via email to