*** This bug is a duplicate of bug 543266 *** https://bugs.launchpad.net/bugs/543266
Why is this marked a duplicate of #543266? I can't use pdf mode (because I'm using pstricks in my document), and hyperref breaks my preview on auctex 11.87. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to auctex in Ubuntu. https://bugs.launchpad.net/bugs/524961 Title: Using hyperref package breaks emacs preview Status in “auctex” package in Ubuntu: Confirmed Bug description: Binary package hint: auctex Hi, when using the package hyperref, AUCTeX is no longer able to generate proper preview images within the emacs buffer. Instead, just a "no access" icon is shown. Right-clicking the icon and clicking "Show error" gives the following error output from Ghostscript: ------------------------------------------------------------------ gs -dOutputFile\=\(_region_.prv/tmp2575bLI/pr1-1.png\) -q -dSAFER -dNOPAUSE -DNOPLATFONTS -dPrinted -dTextAlphaBits\=4 -dGraphicsAlphaBits\=4 -sDEVICE\=png16m -r105.324x105.514 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 }{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/tmp2575bLI/preview.ps)(r)file]aload exch dup 0 setfileposition 476950()/SubFileDecode filter cvx .runandhide aload pop dup dup 477403 setfileposition 1400490()/SubFileDecode filter cvx<<>>preview-do Error: /undefined in H.S Operand stack: 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-- --nostringval-- false 1 %stopped_push 1148 --nostringval-- %end_runandhide --nostringval-- Dictionary stack: --dict:1160/1684(ro)(G)-- --dict:0/20(G)-- --dict:76/200(L)-- --dict:130/300(L)-- --dict:19/200(L)-- Current allocation mode is local Last OS error: 2 Preview-Ghostscript finished ------------------------------------------------------------------ When disabling the hyperref package, that is commenting the following line out, \usepackage{hyperref} the preview images are generated properly again. Adrian ProblemType: Bug Architecture: i386 Date: Sat Feb 20 17:58:31 2010 DistroRelease: Ubuntu 10.04 InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha i386 (20100113) Package: auctex 11.85-1ubuntu1 PackageArchitecture: all ProcEnviron: LANGUAGE=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 PATH=(custom, no user) LANG=en_US.UTF-8 SHELL=/bin/bash ProcVersionSignature: Ubuntu 2.6.32-13.18-generic SourcePackage: auctex Uname: Linux 2.6.32-13-generic i686 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/auctex/+bug/524961/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp