]> git.lyx.org Git - lyx.git/blobdiff - src/BiblioInfo.cpp
installer: further preparation
[lyx.git] / src / BiblioInfo.cpp
index dfc29bb3309e9e4dd04d067f479860842c6587f8..3298990a00d4e8a7486efa6c1f8eba3f2d094d69 100644 (file)
@@ -682,6 +682,8 @@ docstring BibTeXInfo::getValueForKey(string const & oldkey, Buffer const & buf,
                        ret = label_;
                else if (key == "modifier" && modifier_ != 0)
                        ret = modifier_;
+               else if (key == "numericallabel")
+                       ret = cite_number_;
                else if (key == "abbrvauthor")
                        // Special key to provide abbreviated author names.
                        ret = getAbbreviatedAuthor(buf, false);
@@ -983,7 +985,7 @@ void BiblioInfo::makeCitationLabels(Buffer const & buf)
 {
        collectCitedEntries(buf);
        CiteEngineType const engine_type = buf.params().citeEngineType();
-       bool const numbers = (engine_type == ENGINE_TYPE_NUMERICAL);
+       bool const numbers = (engine_type & ENGINE_TYPE_NUMERICAL);
 
        int keynumber = 0;
        char modifier = 0;