首页 > 解决方案 > \noopsort{} 在 R 降价 bibtex 参考书目 @preamble

问题描述

当我将 R markdown 文档编译成 HTML 或 PDF 时,bibtexnoopsort命令似乎被忽略了;该参数被解析为纯文本,因此{\noopsort{maaten}}{van der Maaten}产生“maatenvan der Maaten”而不是预期的“van der Maaten”。我尝试了一些排列,但无法使其正常工作。

R 降价文件

---
title: "Citing with Noopsort"
csl: https://raw.githubusercontent.com/citation-style-language/styles/master/systematic-biology.csl
link-citations: yes
output: pdf_document
bibliography: REFERENCES.bib
---

Cite @Marten2008

##### References

中文提供文件:

@preamble{ "\newcommand{\noopsort}[1]{} " }

@Article{Maaten2008,
  title = {Title},
  volume = {9},
  pages = {2579-2605},
  year = {2008},
  author = {L.J.P. {\noopsort{maaten}}{van der Maaten} and G.E. Hinton},
  journal = {Journal of Bibliography},
}

输出:

引用 maatenvan der Maaten 和 Hinton (2008)

参考

maatenvan der Maaten LJP,Hinton GE 2008。标题。书目杂志。9:2579–2605

标签: r-markdownbibtex

解决方案


推荐阅读