简体   繁体   English

哈佛大学引用r编织中的乳胶

[英]harvard references latex in r sweave

I have the following problem download the LaTeX template, from the UNAL website. 我在UNAL网站上下载LaTeX模板时遇到以下问题。 Descargar aquí la plantilla LaTeX . Descargaraquíla plantilla LaTeX

I understand that the template uses Harvard-style references. 我了解该模板使用哈佛风格的引用。 When using the template with Texmaker, it works correctly. 与Texmaker一起使用模板时,它可以正常工作。 But when using the template in R Sweave. 但是在R Sweave中使用模板时。 In section 5."Citas bibliográficas". 在第5节“ Citasbibliográficas”中。

Por ejemplo: \cite{Caballero-86}, \cite{Dodge-85}, \cite{Conover-81}, \cite{Searle-92}.

I get the following result: 我得到以下结果:

Por ejemplo: (?), (?), (?), (?).

Which should be: 应该是:

Por ejemplo: (Caballero 1986), (Dodge 1985), (Conover et al. 1981), (Searle et al. 1992).

The references section works correctly, as shown in the following image. 引用部分正常工作,如下图所示。 Results 结果

In the .bib file "symposium" there is a duplicate reference. .bib文件“ symposium”中存在重复的引用。 Article "Borges-05" and "Borges-05", 文章“ Borges-05”和“ Borges-05”,

@ARTICLE {Borges-05,
   AUTHOR = {Borges, R.},
   TITLE = {{Survival analysis of patients with peritoneal dialysis}},
   JOURNAL = {Revista Colombiana de Estadistica},
   YEAR = {2005},
   Volume = {28},
   Number = {2},
   Pages = {243-259},
}

@ARTICLE {Borges-05,
   AUTHOR = {Brown, M. and Forsythe},
   TITLE = {{Robust Test for the Equality of Variants}},
   JOURNAL = {Journal of the American Statistical Association}
   YEAR = {1974},
   Volume = {69},
   Number = {346},
   Pages = {364-367},
}

The problem of ? 问题是什么? Is solved by eliminating the second reference. 通过消除第二参考来解决。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM