bug-auctex
[Top][All Lists]
Advanced

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

[Bug-AUCTeX] Re: preview-latex with cygwin, xemacs and tetex 3 does not


From: Yadin Y. Goldschmidt
Subject: [Bug-AUCTeX] Re: preview-latex with cygwin, xemacs and tetex 3 does not work
Date: Thu, 6 Oct 2005 15:21:29 -0400

Here is the output of M-x preview-report-bug. There is only one
preview.sty in my path from auctex 11.81.

To: address@hidden
Subject: 11.81; no preview images with cygwin tetex 3 xemacs 21.4.17 auctex
11.81
X-Reporter-Void-Vars-Found: image-types
--text follows this line--

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

preview latex works fine with tetex 2.02 but not tetex 3.0

Emacs  : XEmacs 21.4 (patch 17) "Jumbo Shrimp" [Lucid] (i686-pc-cygwin,
Mule) of Tue May  3 2005 on w2kcikoas
Package: 11.81

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

Output from running `gs -h':
GPL Ghostscript 8.15 (2004-09-22)
Copyright (C) 2004 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
   cljet5 cljet5c deskjet devicen djet500 eps9high eps9mid epson epsonc
   epswrite faxg3 faxg32d faxg4 ibmpro 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
   pngalpha pnggray pngmono pnm pnmraw ppm ppmraw psdcmyk psdrgb psgray
   psmono psrgb pswrite pxlcolor pxlmono spotcmyk stcolor tiff12nc tiff24nc
   tiffcrle tiffg3 tiffg32d tiffg4 tifflzw tiffpack uniprint x11 x11alpha
   x11cmyk x11gray2 x11gray4 x11mono xcf
Search path:
   . : /usr/share/ghostscript/8.15/lib :
   /usr/share/ghostscript/8.15/Resource : /usr/share/ghostscript/fonts
Initialization files are compiled into the executable.
For more information, see /usr/share/doc/ghostscript-8.15/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 "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" "dvips" "counters" "auctex")
 preview-preserve-counters nil
 preview-default-option-list '("displaymath" "floats" "graphics" "textmath"
          "sections" "footnotes" "showlabels")
 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 t
 )

"David Kastrup" <dak at gnu.org> wrote in message
news:address@hidden
> "Yadin Goldschmidt" <yadin at pitt.edu> writes:
>
>> For a long time I used preview-latex 0.91 on windows xp pro+cygwin with
>> xemacs 21.4.17 and tetex 2.02 and everything was fine.
>> Upgrading to tetex 3.03 and recompiling preview-latex it installs fine, 
>> but
>> when previewing a document I get the error message
>> "no preview images" which means something went wrong. The log files do 
>> not
>> show anything wrong, but I can see that the temporary
>> directory with the images was not created. Any clues? Did anyone succeed 
>> to
>> have preview-latex work with that configuration?
>> Downgrading tetex to version 2.02 and recompiling preview-latex make it 
>> work
>> again as before. I used the same latex document in all tests.
>
> My guess would be that you have a version of preview.sty in your
> search path that is too old to work with the current preview-latex.
> But I think that the log files should mention that, or it should be
> apparent from the run buffer you get with C-c C-l.
>
> Incidentally, had you used M-x preview-report-bug RET as mentioned in
> the docs and available from the menus, we'd have gotten more
> information.
>
> The latest version of preview-latex is AUCTeX 11.81, by the way
> (preview-latex now is bundled).
>
> -- 
> David Kastrup, Kriemhildstr. 15, 44793 Bochum








reply via email to

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