bug-auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-AUCTeX] 11.82; image inclusion prevents following previews from bei


From: Christian Faulhammer
Subject: [Bug-AUCTeX] 11.82; image inclusion prevents following previews from being displayed
Date: 13 Jan 2006 12:35:00 +0100
User-agent: OpenXP/3.8.15-91 (Linux)

Remember to cover the basics.  Including a minimal LaTeX example
file exhibiting the problem might help.

_region_.pdf is generated correctly and generating previews at the point
works for the second section command.  But when using C-c C-p C-b the
preview for the first section command and the image is displayed, but the
second heading is not to be seen at all (just the source).  Other PNG
files work perfectly.  So this has to do with the concrete file which has
been converted from a gif source vie ImageMagick's convert.  Both are
available from <URL:http://www.v-li.de/temp/1-1.png> and
<URL:http://www.v-li.de/temp/1-1.gif>

\documentclass{article}
\usepackage{graphicx}

\begin{document}

\section{Test}
 \includegraphics{1-1}
\section{Test 2}
\end{document}

Tests have been done with --no-site-list --no-init-file and AUCTeX and  
preview-latex loaded manually.


Emacs  : GNU Emacs 21.4.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2005-12-05 on luna
Package: 11.82

Run buffer contents:

Running `Preview-LaTeX' on `test' with ``pdflatex -ini "&pdflatex" prv_test.ini 
  
"\nonstopmode\nofiles\PassOptionsToPackage{active,tightpage,auctex}{preview}\AtBeginDocument{\ifx\ifPreview\undefined\RequirePackage[displaymath,floats,graphics,textmath,sections,footnotes]{preview}[2004/11/05]\fi}\input{test.tex}"''
This is pdfeTeXk, Version 3.141592-1.30.4-2.2 (Web2C 7.5.5) (INITEX)
 %&-line parsing enabled.
entering extended mode
(./prv_test.ini
LaTeX2e <2003/12/01>
Babel <v3.8g> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, basque, german, ngerman, spanish, catalan, french, italian, latin,
ukenglish, loaded.
(/mnt/winb/texmf/tex/latex/carlisle/mylatex.ltx)
(/mnt/winb/texmf/tex/latex/tools/.tex File ignored))
No auxiliary output files.

(./test.tex (/mnt/winb/texmf/tex/latex/base/article.cls
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
(/mnt/winb/texmf/tex/latex/base/size10.clo))
(/mnt/winb/texmf/tex/latex/graphics/graphicx.sty
(/mnt/winb/texmf/tex/latex/graphics/keyval.sty)
(/mnt/winb/texmf/tex/latex/graphics/graphics.sty
(/mnt/winb/texmf/tex/latex/graphics/trig.sty)
(/usr/local/texlive/2005/texmf/tex/latex/config/graphics.cfg)
(/mnt/winb/texmf/tex/latex/graphics/pdftex.def))) )
Beginning to dump on file prv_test.fmt
 (format=prv_test 2006.1.13)
5440 strings of total length 72751
51814 memory locations dumped; current usage is 207&50263
3769 multiletter control sequences
\font\nullfont=nullfont
\font\OMX/cmex/m/n/5=cmex10
\font\tenln=line10
\font\tenlnw=linew10
\font\tencirc=lcircle10
\font\tencircw=lcirclew10
\font\OT1/cmr/m/n/5=cmr5
\font\OT1/cmr/m/n/7=cmr7
\font\OT1/cmr/m/n/10=cmr10
\font\OML/cmm/m/it/5=cmmi5
\font\OML/cmm/m/it/7=cmmi7
\font\OML/cmm/m/it/10=cmmi10
\font\OMS/cmsy/m/n/5=cmsy5
\font\OMS/cmsy/m/n/7=cmsy7
\font\OMS/cmsy/m/n/10=cmsy10
\font\OT1/cmr/m/n/12=cmr12
\font\OT1/cmr/m/n/8=cmr8
\font\OT1/cmr/bx/n/10=cmbx10
\font\OT1/cmr/bx/it/10=cmbxti10
\font\OT1/cmr/m/it/10=cmti10
\font\OT1/cmtt/m/n/10=cmtt10
\font\OT1/cmss/m/n/10=cmss10
5716 words of font info for 21 preloaded fonts
64 hyphenation exceptions
Hyphenation trie of length 39421 has 1430 ops out of 35111
  224 for language 12
  26 for language 11
  35 for language 10
  88 for language 9
  21 for language 8
  29 for language 7
  235 for language 6
  207 for language 5
  5 for language 4
  2 for language 2
  377 for language 1
  181 for language 0
No pages of output.
Transcript written on prv_test.log.

Preview-LaTeX finished at...

[...]

        ...y    1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
  keyval.sty    1999/03/16 v1.13 key=value parser (DPC)
graphics.sty    2001/07/07 v1.0n Standard LaTeX Graphics (DPC,SPQR)
    trig.sty    1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg    2001/08/31 v1.1 graphics configuration of teTeX/TeXLive
  pdftex.def    2005/06/20 v0.03m graphics/color for pdftex
        .
No file _region_.aux.
(/usr/local/texlive/2005/texmf/tex/latex/preview/preview.sty
(/usr/local/texlive/2005/texmf/tex/latex/preview/prtightpage.def)
(/usr/local/texlive/2005/texmf/tex/latex/preview/prauctex.def
No auxiliary output files.


(/usr/local/texlive/2005/texmf/tex/latex/preview/prauctex.cfg))
(/usr/local/texlive/2005/texmf/tex/latex/preview/prfootnotes.def)
Preview: Fontsize 10pt
Preview: PDFoutput 1
) (/mnt/winb/texmf/tex/context/base/supp-pdf.tex
(/mnt/winb/texmf/tex/context/base/supp-mis.tex
loading : Context Support Macros / Miscellaneous (2004.10.26)
)
loading : Context Support Macros / PDF (2004.03.26)
)  !name(test.tex) !offset(-3)
! Preview: Snippet 1 started.
<-><->

l.9 \section
            {Test}
Preview: Tightpage -32891 -32891 32891 32891
! Preview: Snippet 1 ended.(647495+0x22609920).
<-><->

l.9 \section{Test}

[1{/usr/local/texlive/2005/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
! Preview: Snippet 2 started.
<-><->

l.10  \includegraphics
                      {1-1}
 1-1.png
<1-1.png, id=8, 602.25pt x 125.46875pt> <use 1-1.png>
! Preview: Snippet 2 ended.(8222699+0x39468959).
<-><->

l.10  \includegraphics{1-1}

[2 <./1-1.png (PNG copy)>]
! Preview: Snippet 3 started.
<-><->

l.11 \section
             {Test 2}
! Preview: Snippet 3 ended.(647495+0x22609920).
<-><->

l.11 \section{Test 2}

[3] )
(see the transcript file for additional information)</mnt/winb/texmf/fonts/type
1/bluesky/cm/cmbx12.pfb>
Output written on _region_.pdf (3 pages, 6391 bytes).
Transcript written on _region_.log.

Preview-LaTeX exited as expected with code 1 at Fri Jan 13 12:24:11
Running `Preview-PDF2DSC' with ``pdf2dsc _region_.pdf 
_region_.prv/tmp12933svM/preview.dsc''

Preview-PDF2DSC finished at Fri Jan 13 12:24:13
Running `Preview-Ghostscript' with ``gs 
-dOutputFile\=\(_region_.prv/tmp12933svM/pr1-\%d.png\) -q -dSAFER -dNOPAUSE 
-DNOPLATFONTS -dPrinted -dTextAlphaBits\=4 -dGraphicsAlphaBits\=4 
-sDEVICE\=png16m -r85.5579x86.3787''

Preview-Ghostscript finished at Fri Jan 13 12:24:15

current state:
==============

Output from running `gs -h':
AFPL Ghostscript 8.53 (2005-10-20)
Copyright (C) 2005 artofcode LLC, Benicia, CA.  All rights reserved.
Usage: gs [switches] [file1.ps file2.ps ...]
Most frequently used switches: (you can use # in place of =)
 -dNOPAUSE           no pause after page   | -q       `quiet', fewer messages
 -g<width>x<height>  page size in pixels   | -r<res>  pixels/inch resolution
 -sDEVICE=<devname>  select device         | -dBATCH  exit after last file
 -sOutputFile=<file> select output file: - for stdout, |command for pipe,
                                         embed %d or %ld for page #
Input formats: PostScript PostScriptLevel1 PostScriptLevel2 PostScriptLevel3 PDF
Default output device: x11
Available devices:
   bbox bit bitcmyk bitrgb bj10e bj200 bjc600 bjc800 bmp16 bmp16m bmp256
   bmp32b bmpgray bmpmono bmpsep1 bmpsep8 cdeskjet cdj550 cdjcolor cdjmono
   cfax cljet5 cljet5c cups deskjet devicen djet500 epswrite faxg3 faxg32d
   faxg4 ijs jpeg jpeggray laserjet lj5gray lj5mono ljet2p ljet3 ljet3d
   ljet4 ljet4d ljetplus nullpage pbm pbmraw pcx16 pcx24b pcx256 pcxcmyk
   pcxgray pcxmono pdfwrite pgm pgmraw pgnm pgnmraw pj pjxl pjxl300 pkm
   pkmraw pksm pksmraw png16 png16m png256 png48 pngalpha pnggray pngmono
   pnm pnmraw ppm ppmraw psdcmyk psdrgb psgray psmono psrgb pswrite pxlcolor
   pxlmono rinkj spotcmyk tiff12nc tiff24nc tiff32nc tiffcrle tiffg3
   tiffg32d tiffg4 tiffgray tifflzw tiffpack tiffsep uniprint x11 x11alpha
   x11cmyk x11gray2 x11gray4 x11mono xcf
Search path:
   . : /usr/share/ghostscript/8.53/lib :
   /usr/share/ghostscript/8.53/Resource :
   /usr/share/fonts/default/ghostscript/
For more information, see /usr/share/ghostscript/8.53/doc/Use.htm.
Report bugs to address@hidden, using the form in Bug-form.htm.

(setq
 AUC-TeX-version "11.82"
 LaTeX-command-style '(("" "%(PDF)%(latex) %S%(PDFout)"))
 image-types '(png tiff jpeg xpm pbm postscript xbm)
 preview-image-type 'png
 preview-image-creators '((dvipng (open preview-gs-open 
preview-dvipng-process-setup) (place preview-gs-place) (close 
preview-dvipng-close))
                          (png (open preview-gs-open) (place preview-gs-place) 
(close preview-gs-close))
                          (jpeg (open preview-gs-open) (place preview-gs-place) 
(close preview-gs-close))
                          (pnm (open preview-gs-open) (place preview-gs-place) 
(close preview-gs-close))
                          (tiff (open preview-gs-open) (place preview-gs-place) 
(close preview-gs-close)))
 preview-dvipng-image-type 'png
 preview-dvipng-command "dvipng -picky -noghostscript %d -o 
\"%m/prev%%03d.png\""
 preview-pdf2dsc-command "pdf2dsc %s.pdf %m/preview.dsc"
 preview-gs-command "gs"
 preview-gs-options '("-q" "-dSAFER" "-dNOPAUSE" "-DNOPLATFONTS" "-dPrinted" 
"-dTextAlphaBits=4" "-dGraphicsAlphaBits=4")
 preview-gs-image-type-alist '((png png "-sDEVICE=png16m") (dvipng png 
"-sDEVICE=png16m") (jpeg jpeg "-sDEVICE=jpeg") (pnm pbm "-sDEVICE=pnmraw")
                               (tiff tiff "-sDEVICE=tiff12nc"))
 preview-fast-conversion t
 preview-prefer-TeX-bb nil
 preview-dvips-command "dvips -Pwww -i -E %d -o %m/preview.000"
 preview-fast-dvips-command "dvips -Pwww %d -o %m/preview.ps"
 preview-scale-function 'preview-scale-from-face
 preview-LaTeX-command '("%l \"\\nonstopmode\\nofiles\\PassOptionsToPackage{" 
("," . preview-required-option-list) 
"}{preview}\\AtBeginDocument{\\ifx\\ifPreview\\undefined"
                         preview-default-preamble "\\fi}\\input{%t}\"")
 preview-required-option-list '("active" "tightpage" "auctex" 
(preview-preserve-counters "counters"))
 preview-preserve-counters nil
 preview-default-option-list '("displaymath" "floats" "graphics" "textmath" 
"sections" "footnotes")
 preview-default-preamble '("\\RequirePackage[" ("," . 
preview-default-option-list) "]{preview}[2004/11/05]")
 preview-LaTeX-command-replacements nil
 preview-dump-replacements '(preview-LaTeX-command-replacements
                             ("\\`\\([^ ]+\\)\\(\\( -\\([^ 
\"]\\|\"[^\"]*\"\\)*\\)*\\)\\(.*\\)\\'" "\\1 -ini \"&\\1\" " 
preview-format-name ".ini \\5"))
 preview-undump-replacements '(("\\`\\([^ ]+\\)\\(\\( -\\([^ 
\"]\\|\"[^\"]*\"\\)*\\)*\\).*\\input{\\([^}]*\\)}.*\\'" "\\1 \"&" 
preview-format-name "\" \\5"))
 preview-auto-cache-preamble 'ask
 )

V-Li

-- 
Fingerprint: 68C5 D381 B69A A777 6A91 E999 350A AD7C 2B85 9DE3
http://www.gnupg.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]