val.insert(2, from_ascii("{"));
}
docstring rem;
- docstring const cnvtd = Encodings::fromLaTeXCommand(val, rem);
+ docstring const cnvtd = Encodings::fromLaTeXCommand(val, rem,
+ Encodings::TEXT_CMD);
if (!cnvtd.empty()) {
// it did, so we'll take that bit and proceed with what's left
ret += cnvtd;
return authors;
}
- docstring author = operator[]("author");
+ docstring author = convertLaTeXCommands(operator[]("author"));
if (author.empty()) {
- author = operator[]("editor");
+ author = convertLaTeXCommands(operator[]("editor"));
if (author.empty())
return bib_key_;
}