This bug should be fixed now that auctex 11.86-11ubuntu1 is available in
Raring.
** Changed in: auctex (Ubuntu)
Status: Triaged => Fix Released
--
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/543266
Title:
preview latex fails with pdflatex
Status in GS-GPL - GPL Ghostscript:
Fix Released
Status in “auctex” package in Ubuntu:
Fix Released
Status in “ghostscript” package in Ubuntu:
Fix Released
Status in “auctex” package in Debian:
Fix Released
Bug description:
Binary package hint: auctex
Preview latex does not work on the attached minimum example when using pdf
latex mode in the latest version of lucid it works correctly in karmic and in
ordinary latex mode on lucid. It also fails using the latest version of auctex
from the main auctex page (11.86)
The preview pdf files are generated and converted to dsc however the ghost
script conversion to png does not work.
Please see the following error logs. The error seems to be Error: /typecheck
in --setfileposition-- from gs.
When using preview section this is replaced by Error: /undefined in
copy_trailer_attrs and it still doesn't work.
This might be related to the following debian bug fixed by 8.71~dfsg-2 in
debian:
http://groups.google.com/group/comp.lang.postscript/browse_thread/thread/24ade6df75ea896a?pli=1
The output of c-c c-l is as follows and displays no error:
Running `Preview-LaTeX' on `test' with ``pdflatex -interaction=nonstopmode
"&prv_test" test.tex''
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
restricted \write18 enabled.
entering extended mode
(./test.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang,
noh
yphenation, loaded.
CUSTOMISED FORMAT. Preloaded files:
.
article.cls 2007/10/19 v1.4h Standard LaTeX document class
size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
.
(./test.aux) (/usr/local/share/texmf/tex/latex/preview/preview.sty
(/usr/local/share/texmf/tex/latex/preview/prtightpage.def)
(/usr/local/share/texmf/tex/latex/preview/prauctex.def
No auxiliary output files.
(/usr/local/share/texmf/tex/latex/preview/prauctex.cfg))
(/usr/local/share/texmf/tex/latex/preview/prfootnotes.def)
Preview: Fontsize 10pt
Preview: PDFoutput 1
)
! Preview: Snippet 1 started.
<-><->
l.7 \section
{test1}
Preview: Tightpage -32891 -32891 32891 32891
! Preview: Snippet 1 ended.(608173+0x22609920).
<-><->
l.7 \section{test1}
[1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}]
! Preview: Snippet 2 started.
<-><->
l.9 \section
{test2}
! Preview: Snippet 2 ended.(608173+0x22609920).
<-><->
l.9 \section{test2}
[2] )
(see the transcript file for additional
information)</usr/share/texmf-texlive/f
onts/type1/public/amsfonts/cm/cmbx12.pfb>
Output written on test.pdf (2 pages, 9854 bytes).
Transcript written on test.log.
Preview-LaTeX exited as expected with code 1 at Sun Mar 21 10:04:52
Running `Preview-PDF2DSC' with ``pdf2dsc test.pdf
test.prv/tmp5534zxN/preview.dsc''
Preview-PDF2DSC finished at Sun Mar 21 10:04:52
Running `Preview-Ghostscript' with ``gs
-dOutputFile\=\(test.prv/tmp5534zxN/pr1-\%d.png\) -q -dSAFER -dNOPAUSE
-DNOPLATFONTS -dPrinted -dTextAlphaBits\=4 -dGraphicsAlphaBits\=4
-sDEVICE\=png16m -r115.427x115.564''
Preview-Ghostscript finished at Sun Mar 21 10:04:52
The gs process generates the following error:
As shown by right clicking on the missing preview in emacs.
gs -dOutputFile\=\(test.prv/tmp5534zxN/pr1-2.png\) -q -dSAFER -dNOPAUSE
-DNOPLATFONTS -dPrinted -dTextAlphaBits\=4 -dGraphicsAlphaBits\=4
-sDEVICE\=png16m -r115.427x115.564
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.996109 0.996109 0.996109 setrgbcolor clippath fill 0.0781262
0.0742199 0.0703136 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.0781262 0.0742199 0.0703136
3 copy rg RG}bind store end readonly store
[(test.prv/tmp5534zxN/preview.dsc)(r)file]aload exch dup 0 setfileposition
454()/SubFileDecode filter cvx .runandhide aload pop dup dup 454
setfileposition 53()/SubFileDecode filter cvx<<>>preview-do
Error: /typecheck in --setfileposition--
Operand stack:
--nostringval-- --nostringval-- --nostringval-- 454
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:1160/1684(ro)(G)-- --dict:1/20(G)-- --dict:77/200(L)--
--dict:108/127(ro)(L)-- --dict:288/300(ro)(G)-- --dict:20/25(L)--
Current allocation mode is local
Current file position is 28
GS<4>
To manage notifications about this bug go to:
https://bugs.launchpad.net/gs-gpl/+bug/543266/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp