]> git.lyx.org Git - lyx.git/blobdiff - src/BiblioInfo.cpp
de.po
[lyx.git] / src / BiblioInfo.cpp
index dac2097bb93baeec34705bf3eb44350450b72622..80cafeb3595bf1a60b005084f43bf5c2bf295ac2 100644 (file)
@@ -524,6 +524,12 @@ docstring const BibTeXInfo::getAuthorList(Buffer const * buf,
                        // in this case, we didn't find a "(",
                        // so we don't have author (year)
                        return docstring();
+               if (full) {
+                       // Natbib syntax is "Jones et al.(1990)Jones, Baker, and Williams"
+                       docstring const fullauthors = trim(rsplit(remainder, ')'));
+                       if (!fullauthors.empty())
+                               return fullauthors;
+               }
                return authors;
        }