[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX] Re: Problem with getting preview-latex to work
From: |
Ion Mihai |
Subject: |
[AUCTeX] Re: Problem with getting preview-latex to work |
Date: |
Wed, 18 Oct 2006 10:01:16 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
David Kastrup <dak <at> gnu.org> writes:
>
> Ion Mihai <ialmihai <at> yahoo.com> writes:
>
> > I get the following error message when I try to do 'preview-document'
> > in Xemacs 21.4.19 and AucTeX 11.83 under Windows XP:
> >
> > "Display geometry unavailable: Symbol's function definition is void:
> > display-pixel-width"
> >
> > Also, when I try only 'preview-at-point' I get:
> >
> > "Symbol'sfunciton definition is void:
> > previous-single-char-property-change"
> >
> > Could somebody please explain to me why does
> > this happen and what to do about it ?
>
> You are likely using a version of AUCTeX byte-compiled with GNU Emacs
> (it is conceivable that problems like that could happen also because
> the version of XEmacs used for byte-compilation of the package has
> been too advanced, in that case using byte-compile-file first on
> prv-xemacs.el and then on preview.el should help).
I did byte-compile-file on prv-xemacs.el and preview.el and it seems to have
solved the problem (I don't get those errors anymore) but I get now an error
coming from the Windows API. Here's my output buffer (when I do preview-document
on circ.tex):
Running `Preview-LaTeX' on `circ' with ``latex -ini "&latex" prv_circ.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{circ.tex}"''
This is pdfeTeX, Version 3.141592-1.30.6-2.2 (MiKTeX 2.5) (INITEX)
entering extended mode
latex: Windows API error 123: Syntaxe du nom de fichier, de répertoire ou de
volume incorrecte.
Preview-LaTeX exited abnormally with code 1 at Wed Oct 18 11:02:24
Running `Preview-LaTeX' on `circ' with ``latex
"\nonstopmode\nofiles\PassOptionsToPackage{active,tightpage,auctex}
{preview}\AtBeginDocument{\ifx\ifPreview\undefined\RequirePackage
[displaymath,floats,graphics,textmath,sections,footnotes]{preview}
[2004/11/05]\fi}\input{circ.tex}"''
This is pdfeTeX, Version 3.141592-1.30.6-2.2 (MiKTeX 2.5)
entering extended mode
LaTeX2e <2005/12/01>
Babel <v3.8g> and hyphenation patterns for english, dumylang, nohyphenation,
german, ngerman, french, loaded.
No auxiliary output files.
(circ.texlatex: Windows API error 123: Syntaxe du nom de fichier,
de répertoire ou de volume incorrecte.
Preview-LaTeX exited as expected with code 1 at Wed Oct 18 11:02:25
LaTeX: LaTeX found no preview images
I get something similar when I try only latex :
Running `LaTeX' on `circ' with ``latex "\nonstopmode\input{circ.tex}"''
This is pdfeTeX, Version 3.141592-1.30.6-2.2 (MiKTeX 2.5)
entering extended mode
LaTeX2e <2005/12/01>
Babel <v3.8g> and hyphenation patterns for english, dumylang, nohyphenation,
german, ngerman, french, loaded.
(circ.texlatex: Windows API error 123: Syntaxe du nom de fichier,
de répertoire ou de volume incorrecte.
LaTeX exited abnormally with code 1 at Wed Oct 18 11:37:07
This doesn't happen when I simply type 'latex "\nonstopmode\input{circ.tex}"'
at the DOS prompt (then everything works just fine).
Any idea what's going on ?
Thanks,
Ion