[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX] preview-latex does not show any pictures
From: |
coolbeaver |
Subject: |
[AUCTeX] preview-latex does not show any pictures |
Date: |
Wed, 23 Feb 2011 02:52:41 -0800 (PST) |
Hi @all,
First of all, i have already searched in various forums and ducomentation
files to get rid of the problem, but somehow nothing did solve the problem ,
so here we go.
I use Windows with GNU Emacs 23.1 installed on the machine and a obviously
working auctex running (auctex was installed as in the tutorial by running
the "make" and "make install" commands.) PDF Files as well as DVI output
files can be generated without any problems. I also have added the necessary
lines to the .emacs file as described in the tutorial to load auctex und
preview-latex.
The problem arises when i try to get preview pictures rendered in source by
preview-latex.
I have the actual Ghostscript (version 9.01) installed and the PATH variable
set.
The file used for testing is an unmodified version of "circ.tex".
I alos tried this for different picture types such as PNG, PNM, ... and i
have also additionally installed the libpng and zlib into the bin directory
of GNU emacs.
The problem is, after running the "preview for document" command i see no
preview pictures but "no-entry" error signs in the source code. Clicking
with mouse button 3 resuts in the following Post-script error message:
"GSWIN32C.EXE" "-dOutputFile=(circ.prv/tmp2436cuI/pr1-34.png)" "-q"
"-dSAFER" "-dNOPAUSE" "-DNOPLATFONTS" "-dPrinted" "-dTextAlphaBits=4"
"-dGraphicsAlphaBits=4" "-sDEVICE=png16m" "-r70.5947x70.56"
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 [(circ.prv/tmp2436cuI/preview.dsc)(r)file]aload exch
dup 0 setfileposition 2755()/SubFileDecode filter cvx .runandhide aload pop
dup dup 3859 setfileposition 54()/SubFileDecode filter cvx<<>>preview-do
Error: /typecheck in --setfileposition--
Operand stack:
--nostringval-- (circ.prv/tmp2436cuI/preview.dsc) (r) (r) (r)
5580 5580 5580 5526 5526 5526 5474 5474 5474 5421 5421
5421 5368 5368 5368 5312 5312 5312 5258 5258 5258 5204
5204 5204 5148 5148 5148 5091 5091 5091 5034 5034 5034
4981 4981 4981 4928 4928 4928 4875 4875 4875 4822 4822
4822 4770 4770 4770 4717 4717 4717 4665 4665 4665 4611
4611 4611 4557 4557 4557 4504 4504 4504 4451 4451 4451
4397 4397 4397 4343 4343 4343 4289 4289 4289 4235 4235
4235 4182 4182 4182 4128 4128 4128 4075 4075 4075 4019
4019 4019 3966 3966 3966 3913 3913 3913 3859
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:1164/1684(ro)(G)-- --dict:0/20(G)-- --dict:79/200(L)--
Current allocation mode is local
Current file position is 29
GS<102>
Compiling process itself ends with the following message:
.......
.......
Preview-LaTeX exited as expected with code 1 at Wed Feb 23 11:18:00
Running `Preview-PDF2DSC' with ``pdf2dsc "circ".pdf
"circ.prv/tmp24362CV"/preview.dsc''
Preview-PDF2DSC finished at Wed Feb 23 11:18:00
Running `Preview-Ghostscript' with ``"GSWIN32C.EXE"
"-dOutputFile=(circ.prv/tmp24362CV/pr1-%d.png)" "-q" "-dSAFER" "-dNOPAUSE"
"-DNOPLATFONTS" "-dPrinted" "-dTextAlphaBits=4" "-dGraphicsAlphaBits=4"
"-sDEVICE=png16m" "-r70.5947x70.56"''
Preview-Ghostscript finished at Wed Feb 23 11:18:09
Unfortunately, i have no idea, what´s really going wrong here, so maybe
someone can lend a hand? ;-)
Thanks in advance,
Franz
--
View this message in context:
http://old.nabble.com/preview-latex-does-not-show-any-pictures-tp30993899p30993899.html
Sent from the Gnu - AUCTeX - General mailing list archive at Nabble.com.
- [AUCTeX] preview-latex does not show any pictures,
coolbeaver <=