Ralf Angeli | 2 Oct 20:17 2005
Face
Picon

Re: 11.81; 11.81 lock-up

* Jan-Ake Larsson (2005-09-29) writes:

> When editing a large(ish) file, pressing C-k on a row with a preview
> (?) caused a lockup. Pressing C-g will return the cursor. This has
> occurred in several files. After 'quit any command will cause a
> lockup. Luck that C-x C-s saves before the lockup occurs. Reloading
> the file into the same buffer resets.

Cool!  You found a way to let the kernel kill XEmacs. (c:  If you
leave it running instead of typing `C-g' it will eventually suck up
all memory and get killed.  (At least in my case where I tested it
with a version of circ.tex the content of which I copied and pasted
several times into the buffer.)  It is related to stuff like that:

(let (arg pos)
  (dotimes (i 100000)
    (setq arg (concat arg "foo\n")))
    (while (setq pos (string-match "\\s<.*[\n\r][ \t]*" arg pos))
      (setq arg (replace-match "" t t arg 0))))

But that's only a symptom ...

> Shortened backtrace:
>
> Debugger entered--Lisp error: (quit)
>   preview-canonical-spaces("....")
>   mapcar(preview-canonical-spaces ("...." "$\\pact i$"))
>   preview-relaxed-string=("...." "$\\pact i$")
>   byte-code("..." [text ov extent-object buffer-substring-no-properties extent-start-position
extent-end-position 0 preview-delete extent-property preview-state disabled
(Continue reading)

Yadin Goldschmidt | 3 Oct 01:51 2005
Picon

preview-latex with cygwin, xemacs and tetex 3 does not work

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. 
David Kastrup | 3 Oct 10:26 2005
Picon
Picon

Re: preview-latex with cygwin, xemacs and tetex 3 does not work

"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
Ralf Angeli | 3 Oct 15:10 2005
Picon

11.81; preview-latex not activated for XEmacs

Does for anybody else preview-latex fail to be activated after a
simple
./configure --with-xemacs
make
make install
?

I get an auto-autoloads.el file in
/usr/share/xemacs21/site-packages/lisp/auctex which includes only
autoloads for AUCTeX, not for preview-latex.  In
/usr/share/xemacs21/site-packages/lisp/auctex there is no
auto-autoloads.el file.

The `make install' call will descend into the "preview" directory and
eventually call `make install-metadata'.  But this call will
update/install only AUCTeX's auto-autoloads.el.  In contrast, if you
do this by hand, i.e. change into the "preview" directory and call
`make install-metadata' yourself, an auto-autoloads.el file will be
created in /usr/share/xemacs21/site-packages/lisp/preview.  I don't
know if such a file is actually supposed to be created or if the
preview-latex autoloads should be added to AUCTeX's auto-autoloads.el.

In case anybody else is seeing this and this is not just a fault on my
side, the bug is pretty severe because the call to
 (add-hook 'LaTeX-mode-hook #'LaTeX-preview-setup)
will be missing and the other documented way of activating
preview-latex by loading preview-latex.el will not work because such a
file is not present for XEmacs.

I guess the machinery worked at some point of time because I haven't
(Continue reading)

Ralf Angeli | 3 Oct 15:28 2005
Picon

Re: 11.81; preview-latex not activated for XEmacs

* Ralf Angeli (2005-10-03) writes:

> I get an auto-autoloads.el file in
> /usr/share/xemacs21/site-packages/lisp/auctex which includes only
> autoloads for AUCTeX, not for preview-latex.  In
> /usr/share/xemacs21/site-packages/lisp/auctex there is no
                                         ^^^^^^
                                         That should have been
                                         "preview" of course.

> auto-autoloads.el file.

--

-- 
Ralf
Ralf Angeli | 3 Oct 15:18 2005
Face
Picon

Re: 11.81; 11.81 lock-up

* Ralf Angeli (2005-10-02) writes:

> A way to fix this might be to check in `preview-check-changes' if the
> extent is detached and delete it in case it is.

I checked in such a fix.

--

-- 
Ralf
Jan-Ake Larsson | 3 Oct 16:17 2005
Picon
Picon

Re: Re: 11.81; 11.81 lock-up

Ralf Angeli wrote:
> I checked in such a fix.

Problem solved, thanks!
/JÅ
Peter Dyballa | 3 Oct 21:44 2005
Picon

11.81; Strange language 'German'

Hello!

Creating a preview fails because of language 'German':

Emacs  : GNU Emacs 23.0.0.1 (powerpc-apple-darwin7.9.0, X toolkit,  
Xaw3d scroll bars)
  of 2005-10-03 on Latsche.local
Package: 11.81

Run buffer contents:

Running `Preview-LaTeX' on `_region_' with ``pdflatex   
"\nonstopmode\nofiles\PassOptionsToPackage{active,tightpage,auctex}{prev 
iew}\AtBeginDocument{\ifx\ifPreview\undefined\RequirePackage[displaymath 
,floats,graphics,textmath,sections,footnotes]{preview}[2004/11/ 
05]\fi}\input{_region_.tex}"''
This is pdfeTeX, Version 3.141592-1.30.3-2.2 (Web2C 7.5.5)
  \write18 enabled.
entering extended mode
LaTeX2e <2003/12/01>
Babel <v3.8d> and hyphenation patterns for british, french, ngerman,  
nohyphenat
ion, loaded.

No auxiliary output files.

(./_region_.tex  !name(circ.tex)
(/usr/local/teTeX/share/texmf.tetex/tex/latex/base/article.cls
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
(/usr/local/teTeX/share/texmf.tetex/tex/latex/base/size10.clo))
(Continue reading)

Picon

‚±‚Á‚¿‚̃AƒhƒŒƒX‚©‚烁[ƒ‹‚µ‚Ä‚Ý‚Ü‚µ‚½

xĂ߂

-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________

Ralf Angeli | 4 Oct 10:11 2005
Picon

Re: 11.81; Strange language 'German'

* Peter Dyballa (2005-10-03) writes:

> Creating a preview fails because of language 'German':
[...]
> Running `Preview-LaTeX' on `_region_' with ``pdflatex   
> "\nonstopmode\nofiles\PassOptionsToPackage{active,tightpage,auctex}{prev 
> iew}\AtBeginDocument{\ifx\ifPreview\undefined\RequirePackage[displaymath 
> ,floats,graphics,textmath,sections,footnotes]{preview}[2004/11/ 
> 05]\fi}\input{_region_.tex}"''
[...]
> Package babel Warning: No hyphenation patterns were loaded for
> (babel)                the language `German'
> (babel)                I will use the patterns loaded for \language=0  
> instead.

It doesn't fail here.  That's just a warning.  Maybe the installation
of your TeX system is broken.  I'd check that with a minimal example
file and a regular LaTeX run, not preview-latex.

[...]
> No file _region_.aux.
> Preview: Fontsize 10pt
> Preview: PDFoutput 1
>   !name(circ.tex) !offset(-17)
> ! You can't use `\raise' in vertical mode.
> \put (#1,#2)#3->\ <at> killglue \raise
>                                    #2\unitlength \hb <at> xt <at>  \z <at>  {\kern  
> #1\unitle...
> l.40   \put(0,0){\line(0,1){\ones}}

(Continue reading)


Gmane