Fail to preview formulae

Bug #592509 reported by antoniodefelice
This bug report is a duplicate of:  Bug #543266: preview latex fails with pdflatex. Edit Remove
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
auctex (Debian)
New
Unknown
auctex (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: auctex

This bug is similar (maybe a copy) to #524961 (however, at least explicitly I never refer to the package hyperref).

Anyhow, the bug is as follows:

latex preview fails to show equations, it refers to a ghostscript error:

"gs -dOutputFile\=\(_region_.prv/tmp27896eDb/pr23-6.png\) -q -dSAFER -dNOPAUSE -DNOPLATFONTS -dPrinted -dTextAlphaBits\=4 -dGraphicsAlphaBits\=4 -sDEVICE\=png16m -r110.752x108.452
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/tmp27896eDb/preview.ps)(r)file]aload exch dup 0 setfileposition 222179()/SubFileDecode filter cvx .runandhide aload pop dup dup 228517 setfileposition 653()/SubFileDecode filter cvx<<>>preview-do
Error: /undefined in H.S"

However, latex-preview succeeds to show inline equations, that is LaTeX mathematical formulae in the form $$.

But it does fail to show the groups \begin{equation} \end{equation}

This is true at least for the class article, revtex4-1, and so on. This is a really annoying bug, becuase many people using Linux/Ubuntu use everyday emacs/LaTeX.

I tried to --purge and reinstall TeX, ghostscript, with no success, evidently.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: preview-latex-style 11.85-1ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Fri Jun 11 12:38:38 2010
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta amd64 (20100406.1)
PackageArchitecture: all
ProcEnviron:
 LANG=it_IT.utf8
 SHELL=/bin/bash
SourcePackage: auctex

Revision history for this message
antoniodefelice (adefelic-gmail) wrote :
Changed in auctex (Debian):
status: Unknown → New
Revision history for this message
antoniodefelice (adefelic-gmail) wrote :

I have recently removed TeXLive 2009 and installed TeXLive 2010 by myself.

So far it looks like that bug disappeared. Although it is not a patch, but it solved my problems. I will write more here if I find some problems with this.

By the way, I installed TeXLive 2010 by hand following this help:

http://www.fradeve.org/blog/posts/2010/08/installare-texlive-da-ctan-su-ubuntu-lucid/

It is in Italian, but 1) it should be easy to understand what is going on maybe using google-translate. 2) There are tons of similar pages on internet in English.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.