Doxygen警告"没有相关的号码"

时间:2015-06-16 06:25:14

标签: doxygen bibtex

我正在使用doxygen 1.8.9.1和bibtex来生成引用列表。看起来doxygen(或bibtex)不支持更长的密钥。

例如,我的bib文件看起来像

@incollection{mcmaster_phenology_,
    title = {The {DSSAT} cropping system model},
    volume = {18},
    journaltitle = {European Journal of Agronomy},
    author = {A, F.},
}

@article{mcmaster_phenology_1,
    title = {The {DSSAT} cropping system model},
    volume = {18},
    journaltitle = {European Journal of Agronomy},
    author = {A, F.},
}

我的text.cs文件看起来

namespace Test
{
    /// <summary>
    /// A test class
    /// </summary>
    /// <remarks>
    /// This is test citation, see \cite mcmaster_phenology_ and 
    /// \cite mcmaster_phenology_1.
    /// </remarks>
    public class TestClass
    {
    }

}

警告信息为:

warning: \cite command to 'mcmaster_phenology_1' does not have an associated number

最终的HTML是

This is test citation, see [1] and [mcmaster_phenology_1].

似乎密钥的最大长度为19个字符。它看起来像我的错误。我该如何解决?感谢任何建议。

0 个答案:

没有答案