Re: rel-0-8-1; C-c C-p C-p produces error with babelbib

David Kastrup <[email protected]> Tue, 15 Feb 2005 16:00:42 +0100
Newsgroups gmane.emacs.latex.preview.devel
Message-ID <x5is4t6f6t.fsf__30960.4566813961$1108481126$gmane$org@lola.goethe.zz>
Joachim Schlosser <[email protected]> writes:

> To: [email protected]
> Subject: rel-0-8-1; C-c C-p C-p produces error with babelbib
> X-Reporter-Void-Vars-Found: image-types
> --text follows this line--
> Hi there,
>
> I have a problem regarding the toggle-point command. I am writing a
> multi-file document (linked by \include).
> When toggling e.g. a formula with C-c C-p C-p, I get error messages
> like this:
>
> (4) (error/warning) Error in process sentinel: (error LaTeX found no
>     preview images)
>
> C-c C-p C-b produces the same result.
>
> C-c C-p C-d works like intended.
>
> Minimal example:
>
> \documentclass{article}
> \usepackage[english,german]{babel} %% Deutsch als Sprache
> \usepackage{babelbib} %% Mehrsprachiges Literaturverzeichnis
> \begin{document}
> $M \rightarrow N$
> \end{document}
>
> Comment out babelbib and it works with both C-c C-p C-p and C-b.
>
> I did not find anything meaningful (to me) neither in the web
> nor in groups, but I am sure you can give me a hint to track down the
> error.

It is, uh, some sort of a bug in babelbib (yeah!).  Babelbib announces
itself as

babelbib.sty    2004/04/21 v0.45 babelbib bundle: multilingual bibliographies (
HH)

Now the opening paren is followed by a newline: this does not look
like a file name string to AUCTeX.  Unfortunately, the HH) looks like
the ending of one.  AUCTeX gets confused about what file it is in.

Taking a look at the version string in the source file makes apparent
that it is simply too long for TeX to fit on a single line.

I am copying this report to babelbib.sty's author.  You should ask him
for permission to shorten the version string.  I'd recommend removing
the word "bundle".

Since the version is only output when the format is reloaded by
mylatex.ltx after dumping, you can also reply "n" to the question
"cache format" and the problem should not appear, at a certain speed
penalty.  Maybe it would be prudent to output some special message at
the end of the preamble to resynchronize AUCTeX to the file names in
question.  But then we might get into other problems.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
preview-latex-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/preview-latex-bugs


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click