]> git.lyx.org Git - features.git/blobdiff - src/frontends/controllers/biblio.C
fixes to biblio and insetgraphics from herbert; disable LAYOUT_PARAGRAPH when needed
[features.git] / src / frontends / controllers / biblio.C
index 82ed0aebc0abec929aed8b042d8c849969235a40..a973c6e84370936495ebc3ad1d1c82eab294b686 100644 (file)
@@ -266,9 +266,10 @@ string const getInfo(InfoMap const & map, string const & key)
                media = parseBibTeX(it->second, "institution");
 
        ostringstream result;
-       result << author;
+       if (!author.empty())
+               result << author << ", ";
        if (!title.empty())
-               result << ", " << title;
+               result << title;
        if (!booktitle.empty())
                result << ", in " << booktitle;
        if (!chapter.empty())