[Top][All Lists]

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

[Bug-AUCTeX] 11.86; RefTeX: author field parsed incorrectly

From: Elias Pipping
Subject: [Bug-AUCTeX] 11.86; RefTeX: author field parsed incorrectly
Date: Sat, 19 May 2012 16:03:40 +0200


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

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

@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
    VOLUME = {33(108)},
      YEAR = {1983},
    NUMBER = {2},
     PAGES = {237--261},
      ISSN = {0011-4642},
     CODEN = {CZMJAE},
   MRCLASS = {73T05 (49A29)},
  MRNUMBER = {699024 (84h:73045)},

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.

Best regards,

Elias Pipping

(*) Generated from http://www.ams.org/mrlookup -- searching for "contact
problems with bounded friction coercive case" will do

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)
      (error selected-entries))
    (unless selected-entries (error "Quit"))

    (if (stringp selected-entries)

That first makes sure that s-e isn't a string... and then it makes sure
s-e isn't nil... and then it handles the case where s-e is a
string... I'm confused.

reply via email to

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