[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX] 11.85; preview not rendering jpeg images
From: |
Sivaram Neelakantan |
Subject: |
[AUCTeX] 11.85; preview not rendering jpeg images |
Date: |
Tue, 06 Jan 2009 21:37:20 +0530 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/22.2 (windows-nt) |
I tried the builtin example circ.tex and I can't seem to get it to
work. With png and dvipng as preview-image-type, I got errors saying
error in process sentinel: preview-reraise-error: preview-image-type
setting 'png unsupported by this Emacs
Setting it to jpeg, seems to render some black boxes inline (similar
to what you see in the HELLO file when the appropriate fonts are not
there). Of course, clicking on the boxes with mouse2/3 gives the
preview options but it refreshes to the same boxes. This is what I
also see in the *messages* buffer (lots of them).
Error reading JPEG image `(image :file
c:/gnu/elisp/auctex-11.85/preview/circ.prv/tmp4764Dq3/pr3-12.jpeg
:type jpeg :ascent 63)': JPEG parameter struct mismatch: library
thinks size is 464, caller expects 432
Should the jpeg dll be present in the search path for it to render or
is it built into the canonical Emacs 22.2 version?
Emacs : GNU Emacs 22.2.1 (i386-mingw-nt5.1.2600)
of 2008-03-26 on RELEASE
Package: 11.85
Run buffer contents:
Running `Preview-LaTeX' on `_region_' with ``latex -interaction=nonstopmode
"&prv_circ" _region_.tex''
This is pdfTeX, Version 3.1415926-1.40.9 (MiKTeX 2.7)
entering extended mode
(_region_.tex
LaTeX2e <2005/12/01>
Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation, ge
rman, ngerman, french, loaded.
CUSTOMISED FORMAT. Preloaded files:
.
article.cls 2005/09/16 v1.4f Standard LaTeX document class
size10.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
babel.sty 2008/07/06 v3.8l The Babel package
bblopts.cfg 2006/07/31 v1.0 MiKTeX 'babel' configuration
germanb.ldf 2008/06/01 v2.6m German support from the babel system
fontenc.sty
t1enc.def 2005/09/27 v1.99g Standard LaTeX file
inputenc.sty 2006/05/05 v1.1b Input encoding file
latin1.def 2006/05/05 v1.1b Input encoding file
preview.sty 2006/08/25 11.84 (AUCTeX/preview-latex)
prtightpage.def
prauctex.def
prshowlabels.def
t1cmtt.fd 1999/05/25 v2.5h Standard LaTeX font definitions
t1cmss.fd 1999/05/25 v2.5h Standard LaTeX font definitions
.
No file _region_.aux.
Preview: Fontsize 10pt
!name(circ.tex) !offset(21)
! Preview: Snippet 1 started.
<-><->
l.39 \section
{Die gerade Linie}
Preview: Tightpage -32891 -32891 32891 32891
! Preview: Snippet 1 ended.(651269+183455x14483456).
<-><->
l.39 \section{Die gerade Linie}
[1] !name(circ.tex) !offset(437) )
(see the transcript file for additional information)
Output written on _region_.dvi (1 page, 1620 bytes).
Transcript written on _region_.log.
Preview-LaTeX exited as expected with code 1 at Tue Jan 06 21:13:04
Running `Preview-DviPS' with ``dvips -Pwww _region_.dvi -o
_region_.prv/tmp4764URN/preview.ps''
This is dvips(k) 5.96dev Copyright 2007 Radical Eye Software
(www.radicaleye.com)
' TeX output 2009.01.06:2113' -> _region_.prv/tmp4764URN/preview.ps
<C:\Documents and Settings\All Users\Application
Data\MiKTeX\2.7\fonts\pk\ljfour\jknappen\ec\dpi600\ecbx1440.pk>
<C:/MiKTeX2.7/dvips/base/tex.pro><C:/MiKTeX2.7/dvips/base/special.pro>. [1]
Preview-DviPS finished at Tue Jan 06 21:13:04
Running `Preview-Ghostscript' with ``c\:/gnu/gs/gs8.63/bin/gswin32c.exe
-dOutputFile\=\(_region_.prv/tmp4764URN/pr1-\%d.jpeg\) -q -dSAFER -dNOPAUSE
-DNOPLATFONTS -dPrinted -dTextAlphaBits\=4 -dGraphicsAlphaBits\=4
-sDEVICE\=jpeg -r97.536x97.536''
Preview-Ghostscript finished at Tue Jan 06 21:13:04
current state:
==============
(setq
AUCTeX-version "11.85"
LaTeX-command-style '(("" "%(PDF)%(latex) %S%(PDFout)"))
image-types '(png gif tiff jpeg xpm xbm pbm)
preview-image-type 'jpeg
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 "c:/gnu/gs/gs8.63/bin/gswin32c.exe"
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}\"%' %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
-interaction=nonstopmode \"&\\1\" " preview-format-name ".ini \\5")
)
preview-undump-replacements '(("\\`\\([^ ]+\\) .*? \"\\\\input\" \\(.*\\)\\'"
"\\1 -interaction=nonstopmode \"&"
preview-format-name "\" \\2")
)
preview-auto-cache-preamble 'ask
preview-TeX-style-dir nil
)
Output from running `c:/gnu/gs/gs8.63/bin/gswin32c.exe -h':
GPL Ghostscript 8.63 (2008-08-01)
Copyright (C) 2008 Artifex Software, Inc. 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: display
Available devices:
bbox bit bitcmyk bitrgb bj10e bj200 bjc600 bjc800 bmp16 bmp16m bmp256
bmp32b bmpgray bmpmono bmpsep1 bmpsep8 cdeskjet cdj550 cdjcolor cdjmono
declj250 deskjet devicen display djet500 djet500c eps9high eps9mid epson
epsonc epswrite ibmpro ijs jetp3852 jpeg jpegcmyk jpeggray laserjet lbp8
lj250 ljet2p ljet3 ljet3d ljet4 ljet4d ljetplus m8510 mswindll mswinpr2
necp6 nullpage pamcmyk32 pbm pbmraw pcx16 pcx24b pcx256 pcxcmyk pcxgray
pcxmono pdfwrite pgm pgmraw pgnm pgnmraw pj pjxl pjxl300 pkmraw png16
png16m png256 pngalpha pnggray pngmono pnm pnmraw ppm ppmraw ps2write
psdcmyk psdrgb psmono pswrite pxlcolor pxlmono r4081 spotcmyk st800
stcolor t4693d2 t4693d4 t4693d8 tek4696 tiff12nc tiff24nc tiff32nc
tiffcrle tiffg3 tiffg32d tiffg4 tiffgray tifflzw tiffpack tiffsep
txtwrite uniprint
Search path:
. ; c:\gnu\gs\gs8.63\lib ; c:\gnu\gs\fonts ; c:\gnu\gs\gs8.63\Resource ;
%rom%lib/ ; c:/gs/gs8.63/lib ; c:/gs/gs8.63/Resource/Font ; c:/gs/fonts
Initialization files are compiled into the executable.
For more information, see c:/gs/gs8.63/doc/Use.htm.
Please report bugs to bugs.ghostscript.com.
sivaram
--
- [AUCTeX] 11.85; preview not rendering jpeg images,
Sivaram Neelakantan <=