bug-auctex
[Top][All Lists]
Advanced

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

[Bug-AUCTeX] [Florian Lindner] Re: Problem with preview-latex


From: David Kastrup
Subject: [Bug-AUCTeX] [Florian Lindner] Re: Problem with preview-latex
Date: Sun, 14 Jan 2007 19:50:59 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (gnu/linux)

Forwarding this problem mail.  My personal guess would be that $HOME
is not set up properly when he "opens Emacs".

This could happen if he sets it up via a shell profile or
autoexec.bat.  Instead, under NT-derived Windows systems, one needs to
do this using something like the recipe for "PATH" from
INSTALL.windows:

     If the configuration script failed to find all required programs,
     make sure that these programs are in your system path and add
     directories containing the programs to the `PATH' environment
     variable if necessary.  Here is how to do that in W2000/XP:

       1. On the desktop, right click "My Computer" and select
          properties.

       2. Click on "Advanced" in the "System Properties" window.

       3. Select "Environment Variables".

       4. Select "path" in "System Variables" and click "edit".  Move
          to the front in the line (this might require scrolling) and
          add the missing path including drive letter, ended with a
          semicolon.

Of course, this recipe needs to get adjusted to "HOME" instead.

Maybe that would help.

--- Begin Message --- Subject: Re: Problem with preview-latex Date: Sun, 14 Jan 2007 18:42:56 +0100
Am Samstag, 13. Januar 2007 13:15 schrieb David Kastrup:
> The following message is a courtesy copy of an article
> that has been posted to gnu.emacs.help as well.
>
> Florian Lindner <address@hidden> writes:
> > David Kastrup wrote:
> >> Florian Lindner <address@hidden> writes:
> >>> I've tried to use preview latex to use on a newly started document. It
> >>> works on other documents but somehow does not like this one:
> >>>
> >>> I used C-c C-p C-d to preview the entire document but preview-latex
> >>> only displays error symbols next to the formulas.
> >>
> >> Please use
> >>
> >> M-x preview-report-bug RET
> >>
> >> for reporting problems.
> >
> > Done.
>
> No bug report made it through to the list apparently, so it might be a
> good idea to repeat the process.
>
> There have been some problems with automoderation of SPAM recently, I
> don't know whether this might be related to your report not arriving.

Ok, I've tried again.
Subject is "Preview not generated"
I sent it but don't think that it was sent correctly since I have no MTA set 
up and no SMTP server configured for emacs. Here is report:


To: address@hidden
Subject: 11.83; Preview not generated
MIME-Version: 1.0
--text follows this line--

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

I press C-c C-p C-d to generate all preview images. Instead of the images 
there appears only a error symbol next to the formula.
Although it sound weird I think it depends how Emacs in invoked. It works when 
I open emacs from the command line with "emacs document.tex". It does not 
work when I first open just emacs and then open the document with C-x C-f.
My email is address@hidden if you need further information.

Emacs  : GNU Emacs 21.4.1 (i686-pc-linux-gnu)
 of 2006-12-14 on horus
Package: 11.83

Run buffer contents:

Running `Preview-LaTeX' on `Nachrechnung' with ``latex -ini "&latex" 
prv_Nachrechnung.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{Nachrechnung.tex}"''
This is pdfeTeX, Version 3.141592-1.30.5-2.2 (Web2C 7.5.5) (INITEX)
entering extended mode
(./prv_Nachrechnung.ini
LaTeX2e <2003/12/01>
Babel <v3.8d> and hyphenation patterns for american, french, german, ngerman, 
b
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto, 
e
stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk, 
polis
h, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish, 
tur
kish, ukrainian, nohyphenation, loaded.
(/usr/share/texmf/tex/latex/carlisle/mylatex.ltx)
(/usr/share/texmf/tex/latex/tools/.tex File ignored))
No auxiliary output files.

(./Nachrechnung.tex (/usr/share/texmf/tex/latex/koma-script/scrartcl.cls
Document Class: scrartcl 2004/09/16 v2.9t LaTeX2e KOMA document class
(/usr/share/texmf/tex/latex/base/fleqn.clo)
(/usr/share/texmf/tex/latex/koma-script/scrlfile.sty
Package scrlfile, 2004/09/16 v2.9t LaTeX2e KOMA package
                  Copyright (C) Markus Kohm

) (/usr/share/texmf/tex/latex/base/size11.clo)
(/usr/share/texmf/tex/latex/koma-script/typearea.sty
Package typearea, 2004/09/16 v2.9t LaTeX2e KOMA package
                  Copyright (C) Frank Neukam, 1992-1994
                  Copyright (C) Markus Kohm, 1994-2002

)) (/usr/share/texmf/tex/latex/base/fontenc.sty
(/usr/share/texmf/tex/latex/base/t1enc.def))
(/usr/share/texmf/tex/generic/german/ngerman.sty v2.5e 1998-07-08)
(/usr/share/texmf/tex/latex/base/inputenc.sty
(/usr/share/texmf/tex/latex/base/utf8.def
(/usr/share/texmf/tex/latex/base/t1enc.dfu)
(/usr/share/texmf/tex/latex/base/ot1enc.dfu)
(/usr/share/texmf/tex/latex/base/omsenc.dfu)))
(/usr/share/texmf/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/usr/share/texmf/tex/latex/amsmath/amstext.sty
(/usr/share/texmf/tex/latex/amsmath/amsgen.sty))
(/usr/share/texmf/tex/latex/amsmath/amsbsy.sty)
(/usr/share/texmf/tex/latex/amsmath/amsopn.sty))
(/usr/share/texmf/tex/latex/base/t1cmtt.fd)
(/usr/share/texmf/tex/latex/base/t1cmss.fd) )
Beginning to dump on file prv_Nachrechnung.fmt
 (format=prv_Nachrechnung 2007.1.14)
7470 strings of total length 96139
75781 memory locations dumped; cur...

[...]

        ...dTextAlphaBits\=4 -dGraphicsAlphaBits\=4 -sDEVICE\=png16m 
-r114.025x112.668''

Preview-Ghostscript finished at Sun Jan 14 18:37:46
Running `Preview-Ghostscript' with ``gs -dOutputFile\=\(.
\) -q -dSAFER -dNOPAUSE -DNOPLATFONTS -dPrinted -dTextAlphaBits\=4 
-dGraphicsAlphaBits\=4 -sDEVICE\=png16m -r114.025x112.668''

Preview-Ghostscript finished at Sun Jan 14 18:37:46
Running `Preview-Ghostscript' with ``gs -dOutputFile\=\(.
\) -q -dSAFER -dNOPAUSE -DNOPLATFONTS -dPrinted -dTextAlphaBits\=4 
-dGraphicsAlphaBits\=4 -sDEVICE\=png16m -r114.025x112.668''

Preview-Ghostscript finished at Sun Jan 14 18:37:46
Running `Preview-Ghostscript' with ``gs -dOutputFile\=\(.
\) -q -dSAFER -dNOPAUSE -DNOPLATFONTS -dPrinted -dTextAlphaBits\=4 
-dGraphicsAlphaBits\=4 -sDEVICE\=png16m -r114.025x112.668''

Preview-Ghostscript finished at Sun Jan 14 18:37:46
Running `Preview-Ghostscript' with ``gs -dOutputFile\=\(.
\) -q -dSAFER -dNOPAUSE -DNOPLATFONTS -dPrinted -dTextAlphaBits\=4 
-dGraphicsAlphaBits\=4 -sDEVICE\=png16m -r114.025x112.668''

Preview-Ghostscript finished at Sun Jan 14 18:37:47
Running `Preview-Ghostscript' with ``gs -dOutputFile\=\(.
\) -q -dSAFER -dNOPAUSE -DNOPLATFONTS -dPrinted -dTextAlphaBits\=4 
-dGraphicsAlphaBits\=4 -sDEVICE\=png16m -r114.025x112.668''

Preview-Ghostscript finished at Sun Jan 14 18:37:47
Running `Preview-Ghostscript' with ``gs -dOutputFile\=\(.
\) -q -dSAFER -dNOPAUSE -DNOPLATFONTS -dPrinted -dTextAlphaBits\=4 
-dGraphicsAlphaBits\=4 -sDEVICE\=png16m -r114.025x112.668''

Preview-Ghostscript finished at Sun Jan 14 18:37:47
Running `Preview-Ghostscript' with ``gs -dOutputFile\=\(.
\) -q -dSAFER -dNOPAUSE -DNOPLATFONTS -dPrinted -dTextAlphaBits\=4 
-dGraphicsAlphaBits\=4 -sDEVICE\=png16m -r114.025x112.668''

Preview-Ghostscript finished at Sun Jan 14 18:37:47
Running `Preview-Ghostscript' with ``gs -dOutputFile\=\(.
\) -q -dSAFER -dNOPAUSE -DNOPLATFONTS -dPrinted -dTextAlphaBits\=4 
-dGraphicsAlphaBits\=4 -sDEVICE\=png16m -r114.025x112.668''

Preview-Ghostscript finished at Sun Jan 14 18:37:47
Running `Preview-Ghostscript' with ``gs -dOutputFile\=\(.
\) -q -dSAFER -dNOPAUSE -DNOPLATFONTS -dPrinted -dTextAlphaBits\=4 
-dGraphicsAlphaBits\=4 -sDEVICE\=png16m -r114.025x112.668''

Preview-Ghostscript finished at Sun Jan 14 18:37:48
Running `Preview-Ghostscript' with ``gs -dOutputFile\=\(.
\) -q -dSAFER -dNOPAUSE -DNOPLATFONTS -dPrinted -dTextAlphaBits\=4 
-dGraphicsAlphaBits\=4 -sDEVICE\=png16m -r114.025x112.668''

Preview-Ghostscript finished at Sun Jan 14 18:37:48

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

Output from running `gs -h':
GPL Ghostscript 8.54 (2006-05-17)
Copyright (C) 2006 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 hl1240 hl1250 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 ps2write 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:
   . : /home/florian/.fonts : /usr/share/ghostscript/8.54/lib :
   /usr/share/ghostscript/8.54/Resource :
   /usr/share/fonts/default/ghostscript/
For more information, see /usr/share/doc/ghostscript-gpl-8.54/html/Use.htm.
Report bugs to address@hidden, using the form in Bug-form.htm.

(setq
 AUC-TeX-version "11.83"
 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
 )




Regards,

Florian



--- End Message ---

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

reply via email to

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