bug-auctex
[Top][All Lists]
Advanced

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

[Bug-AUCTeX] Bug ? : reftex is buggy/slow when a double quote is not pai


From: Jean-Philippe Georget
Subject: [Bug-AUCTeX] Bug ? : reftex is buggy/slow when a double quote is not paired to another in an field of a bib entry
Date: Tue, 12 Jun 2007 00:21:21 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

Hi,

I think that I have found a bug after being annoyed a long time with
this point. I have a 170ko file of references for my job. When I was
searching some references of one author withe reftex-citation, I was
sometimes fouding all of them in my file and sometimes it was taking a
very long time and some of the references were lacking.

So here is how one can reproduce the possible bug.

1. create a file.tex with :

\documentclass[a4paper,11pt]{article}
\begin{document}
\bibliography{bibfile}
\end{document}
    
2. In the same directory, create the file bibfile.bib with the
following content (please note the different uses of the '"' in the
field title of each entry):

@Book{xxx1,
  author =       {AAA},
  title =        {B"BB},
  publisher =    {CCC},
  year =         2007,
}


@Book{xxx2,
  author =       {AAA},
  title =        {BBB},
  publisher =    {CCC},
  year =         2007,
}

@Book{xxx3,
  author =       {AAA},
  title =        {B"B"B},
  publisher =    {CCC},
  year =         2007,
}

3. open the file.te with Emacs (with AUCTeX+RefTeX)

4. Do M-x reftex-citation and search for 'aaa'

The result is that you will find the references xx2 and xx3 but not
the entry xx1. If you have paired '"' in all the fields of the entry,
you will find it but, if it is not the case, the entry will be not
recognized.

The side effect for me if when you have several entries in your bib
file, it takes a long time (about 20 s.) to give the "good" entries
and omit some of them that have a "not paired" double quote.

AUCTeX-version's value is "11.83"
GNU Emacs 21.4.1 (Debian/testing)


Jean-Philippe 

PS. Please reply with my adresse in Cc:

 
--
Jean-Philippe Georget - address@hidden
                               ^^^^year





reply via email to

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