auctex
[Top][All Lists]
Advanced

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

[AUCTeX] [Fwd: Problems with preview]


From: Erik Frisk
Subject: [AUCTeX] [Fwd: Problems with preview]
Date: Fri, 21 Oct 2005 12:20:53 +0200
User-agent: Mozilla Thunderbird 1.0.2 (X11/20050322)

Should these bug-reports be sent to address@hidden or address@hidden

Regards,
        Erik

-------- Original Message --------
Subject: Problems with preview
Date: Fri, 21 Oct 2005 09:55:10 +0200
From: Erik Frisk <address@hidden>
To: address@hidden

Yesterdat, I tried to install auctex under XP and XEmacs and ran into
some problems. First, preview-latex.el wasn't generated, but I saw that
this bug was fixed in CVS (maybe my home-fix for this was incorrect and
the source of my problems. I did a make preview-latex.el and proceeded).

The install procedure worked alright and no glitches apart from a MULE
related thing. I had to comment out two MULE parts in the Makefile (I
ran make that comes with msys) since they produced an error.


Anyway, my real problem came with preview-latex. When previewing I get
the message:

  Preview-DviPS exited abnormally with code 1 at Fri Oct 21 08:39:39
  DviPS sentinel: Opening input file: No such file or directory,
  c:\home\erik\tmp\_region_.prv\tmps3Aka1\preview.ps

which I assume is related to the following message in the compile log:

  Preview-LaTeX exited as expected with code 1 at Fri Oct 21 08:39:38
  Running `Preview-DviPS' with ``dvips -Pwww _region_.dvi -o
  _region_.prv\\tmps3Aka1/preview.ps''
  This is dvips(k) 5.94b Copyright 2004 Radical Eye Software
  (www.radicaleye.com)
  ' TeX output 2005.10.21:0839' -> _region_.prvtmps3Aka1/preview.ps
  c:\usr\tex\miktex\miktex\bin\dvips.exe: ! couldn't open PostScript
  file

Unfortunately, I do not remember exactly what my configure call looked
like, but it was straight out of the manual.

Any ideas of what I may have done wrong?

Regards,

        Erik


Emacs  : XEmacs 21.4 (patch 13) "Rational FORTRAN" [Lucid]
(i586-pc-win32) of Sun May 25 2003 on TSUNAMI
Package: 11.81

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

Output from running `GSWIN32C.EXE -h':
AFPL Ghostscript 8.51 (2005-04-18)
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: 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 jpeggray laserjet lbp8 lj250
   ljet2p ljet3 ljet3d ljet4 ljet4d ljetplus m8510 mswindll mswinpr2 necp6
   nullpage 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 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 uniprint
Search path:
   . ; C:\usr\ghostscript\gs8.51\lib ; C:\usr\ghostscript\fonts ;
   C:\usr\ghostscript\gs8.51\Resource ; c:/gs/gs8.51/lib ;
   c:/gs/gs8.51/Resource ; c:/gs/fonts
For more information, see c:/gs/gs8.51/doc/Use.htm.
Report bugs to address@hidden, using the form in Bug-form.htm.

(setq
 AUC-TeX-version "11.81"
 LaTeX-command-style '(("" "%(PDF)%(latex) %S%(PDFout)"))
 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 "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}\\input{%t}\"")
 preview-required-option-list '("active" "tightpage" "auctex"
                                (preview-preserve-counters "counters"))
 preview-preserve-counters nil
 preview-default-option-list '("displaymath" "floats" "graphics")
 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-f
ormat-name ".ini \\5")
                             )
  preview-undump-replacements '(("\\`\\([^ ]+\\)\\(\\( -\\([^
\"]\\|\"[^\"]*\"\\)*\\)*\\).*\\input{\\([^}]*\\)}.*\\'" "\\1 \"&" pr
eview-format-name "\" \\5")
                               )
 preview-auto-cache-preamble 'ask
 )

---------------------------------------------------------------------
Erik Frisk                            email:         address@hidden
Dept. of Electrical Engineering         tel:            +46 13 285714
Linköping University                    fax:            +46 13 282035
S-581 83 Linköping
SWEDEN                               http://www.fs.isy.liu.se/~frisk/


--
---------------------------------------------------------------------
Erik Frisk                            email:         address@hidden
Dept. of Electrical Engineering         tel:            +46 13 285714
Linköping University                    fax:            +46 13 282035
S-581 83 Linköping
SWEDEN                               http://www.fs.isy.liu.se/~frisk/




reply via email to

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