mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 02:28:35 +00:00
Consider biblatex author -> bookauthor mapping in preview
This commit is contained in:
parent
43ee724fcf
commit
ce27f5beca
@ -1295,6 +1295,10 @@ docstring BibTeXInfo::getValueForKey(string const & oldkey, Buffer const & buf,
|
||||
// to booktitle. Same for subtitle etc.
|
||||
if (biblatex && prefixIs(key, "book"))
|
||||
ret = (*xr)[key.substr(4)];
|
||||
// likewise, author is maped onto bookauthor
|
||||
else if (biblatex && contains(key, ":bookauthor"))
|
||||
ret = xr->getValueForKey(subst(key, "bookauthor", "author"),
|
||||
buf, ci, xr_dummy, maxsize);
|
||||
if (!ret.empty())
|
||||
// success!
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user