Using hyperref package breaks emacs preview
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
auctex (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
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\
GS>{DELAYSAFER{
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:
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{
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
PackageArchitec
ProcEnviron:
LANGUAGE=
LC_CTYPE=
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: auctex
Uname: Linux 2.6.32-13-generic i686
1. Probably upstream problem. lists.gnu. org/mailman/ listinfo/ bug-auctex )
Confirmed in Debian sid (auctex 11.85-1, emacs 23.1+1-6, tex-common 2.07).
(should search/report on the auctex list http://
2. Workaround:
check "pdf mode" (Gnu Emacs: under Command/TeXing options, or use C-c C-t C-p )
this allows you to keep the hyperref package (commenting it out as suggested by Adrian interferes with revision-control etc.).