【问题标题】:Bibtex authors appearing as dashed lines in references when using bookdown and pandoc使用 bookdown 和 pandoc 时,Bibtex 作者在参考文献中显示为虚线
【发布时间】:2017-10-25 18:17:27
【问题描述】:

我正在使用 Rmarkdown、bookdown 和 pandoc 生成参考部分。我有一个包含 6 个条目的参考部分。其中一个条目没有作者列表,而是显示为:

———. 2004. “Multimodel Inference.” Sociological Methods & Research 33 (2). SAGE Publications: 261–304. doi:10.1177/0049124104268644.

这个的bibtex条目如下所示:

@article{burnham2004,
    author = {Burnham, Kenneth P. and Anderson, David R.},
    day = {01},
    doi = {10.1177/0049124104268644},
    issn = {0049-1241},
    journal = {Sociological Methods \& Research},
    keywords = {mdb-article-2017-06},
    month = nov,
    number = {2},
    pages = {261--304},
    posted-at = {2017-06-05 22:18:23},
    priority = {2},
    publisher = {SAGE Publications},
    title = {Multimodel Inference},
    url = {http://dx.doi.org/10.1177/0049124104268644},
    volume = {33},
    year = {2004}
}

据我所知,这个 bibtex 条目是正确的,是什么导致作者列表不显示?

【问题讨论】:

    标签: r-markdown pandoc bookdown bibliography pandoc-citeproc


    【解决方案1】:

    虚线表示此条目的作者与上一个条目(example)相同,因此省略。这是输出格式为 HTML 时 pandoc 和 pandoc-citeproc 的默认行为。如果您不希望这种行为,您需要提供自己的引用样式(通过 YAML 中的 csl--csl 参数)。请参阅http://pandoc.org/MANUAL.html#citations 了解更多信息。

    【讨论】:

    • 知道非常有用,谢谢。我不熟悉这个约定。这个一般用在什么地方?我从事生物学工作,我认为这不会在我们的领域中使用。
    • 老实说,当我开始使用 Pandoc 时,这也是我第一次看到这种风格。我不知道哪些领域或期刊实际使用了这种风格。
    【解决方案2】:

    Yihui Xie 是正确的,这是一个特定于风格的设置。您可以切换到不使用此类作者替换的 CSL 样式,也可以编辑当前的 CSL 1.0.1 样式并从 <bibliography/> 元素中删除 subsequent-author-substitute 和(可选)subsequent-author-substitute-rule 属性. (另见http://docs.citationstyles.org/en/1.0.1/specification.html#reference-grouping,它还更详细地解释了这种替换是如何工作的)

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2019-08-14
      • 2018-06-20
      • 2016-12-15
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多