Public bug reported:

Binary package hint: auctex

I installed emacs 23.2.1 and auctex, an emacs extension for
writen/compiling latex. Also installed gs 9.01. Using kubuntu natty. All
installations from kubuntu repository.

Using the preview-latex feature in emacs I get an invalidfileaccess error. The 
bug seems to be corrected in
http://lists.gnu.org/archive/html/bu.../msg00017.html
and
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=610714

but I do't know how to apply the patch from
http://lists.gnu.org/archive/html/bu.../msg00017.html. This is the
output from emacs with the error:

gs -dOutputFile\=\(_region_.prv/tmp3086MfS/pr1-3.png\) -q -dSAFER -dNOPAUSE 
-DNOPLATFONTS -dPrinted -dTextAlphaBits\=4 -dGraphicsAlphaBits\=4 
-sDEVICE\=png16m -r94.1897x94.1727
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 gsave 0.933608 0.890639 0.738293 
setrgbcolor clippath fill grestore }{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 [(_region_.prv/tmp3086MfS/preview.ps)(r)file]aload exch dup 0 
setfileposition 54521()/SubFileDecode filter cvx .runandhide aload pop dup dup 
55385 setfileposition 216()/SubFileDecode filter cvx<<>>preview-do
Error: /typecheck in --setfileposition--
Operand stack:
   --nostringval--   (_region_.prv/tmp3086MfS/preview.ps)   (r)   (r)   (r)   
55601   55601   55601   55385
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:1163/1684(ro)(G)--   --dict:0/20(G)--   --dict:79/200(L)--
Current allocation mode is local
Current file position is 30
GS<9>

I thought it should be submitted as a bug to launchpad.

** Affects: auctex (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: auctex emacs gs preview-latex

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/789608

Title:
  emacs auctex latex-preview invalidfileaccess error and gs

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to