bug-auctex
[Top][All Lists]
Advanced

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

[Bug-AUCTeX] Re: Letterspacing breaks preview?


From: Andreas Matthias
Subject: [Bug-AUCTeX] Re: Letterspacing breaks preview?
Date: Thu, 05 Apr 2007 23:42:45 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Ralf Angeli wrote:

> * Ralf Angeli (2007-04-03) writes:
> 
>> * Ralf Angeli (2007-04-03) writes:
>> 
>>> * David Kastrup (2007-04-03) writes:
>>> 
>>>> Again.  This is really a nuisance.  Did you already check in the
>>>> change that just relied on a closing paren and nothing else?
>>> 
>>> No.  Would the bug go away if I did?
>>> 
>>> If you want to check, just search for "[ >]" in tex-buf.el and remove
>>> that as well as the enclosing group from the regexp in
>>> `TeX-parse-error'.
>> 
>> Uh, I mean in `preview-parse-messages' of preview.el.
> 
> Since I cannot reproduce the bug, I am depending on input by people
> who can.  Without it I am not able to fix it.

It would make things easier for me if you could provide me a patch
instead of descriptions what to remove, insert, etc. since I
always feel a bit clumsy while fumbling with elisp.

So this is what I did with your description:


address@hidden src $ diff -c auctex-cvs-orig/preview/preview.el 
auctex-cvs/preview/preview.el
*** auctex-cvs-orig/preview/preview.el  2007-02-09 08:15:48.000000000 +0100
--- auctex-cvs/preview/preview.el       2007-04-05 23:04:43.000000000 +0200
***************
*** 2674,2680 ****
  \\(?:/+\\(?:\\.+[^()\r\n{} /]*\\|[^()\r\n{} ./]+\
  \\(?: [^()\r\n{} ./]+\\)*\\(?:\\.[-0-9a-zA-Z_.]*\\)?\\)?\\)*\\)\
  )*\\(?: \\|\r?$\\)\\|\
! )+\\([ >]\\|\r?$\\)\\|\
   !\\(?:offset(\\([---0-9]+\\))\\|\
  name(\\([^)]+\\))\\)\\|\
  ^Preview: \\([a-zA-Z]+\\) \\([^\n\r]*\\)\r?$" nil t)
--- 2674,2680 ----
  \\(?:/+\\(?:\\.+[^()\r\n{} /]*\\|[^()\r\n{} ./]+\
  \\(?: [^()\r\n{} ./]+\\)*\\(?:\\.[-0-9a-zA-Z_.]*\\)?\\)?\\)*\\)\
  )*\\(?: \\|\r?$\\)\\|\
! )+\r?$\\|\
   !\\(?:offset(\\([---0-9]+\\))\\|\
  name(\\([^)]+\\))\\)\\|\
  ^Preview: \\([a-zA-Z]+\\) \\([^\n\r]*\\)\r?$" nil t)



`preview-buffer' then yields:

error in process sentinel: preview-reraise-error: LaTeX found no preview images
error in process sentinel: LaTeX found no preview images


Ciao
Andreas





reply via email to

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