Bibtex 作者在使用 bookdown 和 pandoc 时在参考文献中显示为虚线
Bibtex authors appearing as dashed lines in references when using bookdown and pandoc
我正在使用 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 条目是正确的,是什么导致作者列表不显示?
虚线表示本条目的作者与上一个条目的作者相同(example), hence omitted. That is the default behavior of pandoc and pandoc-citeproc when the output format is HTML. If you do not want this behavior, you need to provide your own citation style (via csl
in YAML or the --csl
argument). See http://pandoc.org/MANUAL.html#citations 了解更多信息。
Yihui Xie 是正确的,这是一个特定于样式的设置。您可以切换到不使用此类作者替换的 CSL 样式,或者您可以编辑当前的 CSL 1.0.1 样式并删除 subsequent-author-substitute
和(可选)subsequent-author-substitute-rule
属性<bibliography/>
元素。 (另请参阅 http://docs.citationstyles.org/en/1.0.1/specification.html#reference-grouping,其中还更详细地解释了此类替换的工作原理)
我正在使用 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 条目是正确的,是什么导致作者列表不显示?
虚线表示本条目的作者与上一个条目的作者相同(example), hence omitted. That is the default behavior of pandoc and pandoc-citeproc when the output format is HTML. If you do not want this behavior, you need to provide your own citation style (via csl
in YAML or the --csl
argument). See http://pandoc.org/MANUAL.html#citations 了解更多信息。
Yihui Xie 是正确的,这是一个特定于样式的设置。您可以切换到不使用此类作者替换的 CSL 样式,或者您可以编辑当前的 CSL 1.0.1 样式并删除 subsequent-author-substitute
和(可选)subsequent-author-substitute-rule
属性<bibliography/>
元素。 (另请参阅 http://docs.citationstyles.org/en/1.0.1/specification.html#reference-grouping,其中还更详细地解释了此类替换的工作原理)