Elias Pipping | 19 May 2012 16:03

11.86; RefTeX: author field parsed incorrectly

Hello,

I'm on GNU Emacs 24.0.97.1 and AUCTeX 11.86. I use the version of RefTeX
that comes with emacs.

I'm looking at the following bibtex entry(*):

 <at> article {MR699024,
    AUTHOR = {Jaru{\v{s}}ek, Ji{\v{r}}{\'{\i}}},
     TITLE = {Contact problems with bounded friction coercive case},
   JOURNAL = {Czechoslovak Math. J.},
  FJOURNAL = {\v Cehoslovackaja Akademija Nauk. \v Cehoslovacki\u\i\
              Matemati\v ceski\u\i\ \v Zurnal. Czechoslovak Mathematical
              Journal},
    VOLUME = {33(108)},
      YEAR = {1983},
    NUMBER = {2},
     PAGES = {237--261},
      ISSN = {0011-4642},
     CODEN = {CZMJAE},
   MRCLASS = {73T05 (49A29)},
  MRNUMBER = {699024 (84h:73045)},
MRREVIEWER = {N. Gass},
}

If I paste that into an empty buffer and call

  (assoc "author" (reftex-parse-bibtex-entry nil (point-min) (point-max)))

from my understanding the following should be returned:
(Continue reading)

Tassilo Horn | 10 Apr 2013 16:52
Picon
Gravatar

Re: 11.86; RefTeX: author field parsed incorrectly

Elias Pipping <pipping <at> lavabit.com> writes:

Hi Elias,

> I'm looking at the following bibtex entry(*):
>
>  <at> article {MR699024,
>     AUTHOR = {Jaru{\v{s}}ek, Ji{\v{r}}{\'{\i}}},
>
> If I paste that into an empty buffer and call
>
>   (assoc "author" (reftex-parse-bibtex-entry nil (point-min) (point-max)))
>
> from my understanding the following should be returned:
>
>   ("author" . "Jaru{\\v{s}}ek, Ji{\\v{r}}{\\'{\\i}}")
>
> instead I get
>
>   ("author" . "Jaru{\\v{s}}ek, Ji{\\v{r}}{\\'{\\i")
>
> with two curly brackets at the end missing.

Hm, it cut off leading and trailing {}.  Not sure why, it doesn't make
any sense to me, so I've changed that in Emacs bzr.

> PS (off-topic): While reading parts of the reftex source code, I came
> across the following lines in reftex-do-citation:
>
>     (when (stringp selected-entries)
(Continue reading)


Gmane