本文介绍了如何从Endnote库(.enl)中引用R Markdown中的引用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有什么想法可以从Endnote库(.enl)中引用R Markdown中的引用吗? 网页表示有可能,但我无法使其正常工作.

Any ideas how to cite references in R Markdown from Endnote library (.enl)? This webpage says it's possible but I can't get it to work.

如果我导出.enl(在此处可用)中,我会压缩将.enl和data文件夹)放入.xml(可在此处使用), :

If I export the .enl (available here, I zipped the .enl and data folder) into .xml (available here), it works:

---
title: "test"
author: guys
output: pdf_document
bibliography: Library_short.xml
---  

something something dark side... [@Marshall1989]

# References

如果我将库转换为.bib,也可以使它工作(在此处):

I can also make it work if I convert the library into .bib (available here):

---
title: "test"
author: guys
output: pdf_document
bibliography: Library_short.bib
---

something something dark side... [@RN1]

# References

但这并不方便,因为每次我在Endnote中添加引用时,都必须将.enl库导出到xml或bib中.谢谢

But it's not convenient, because every time I add a ref in Endnote I would have to export the .enl library into xml or bib.Thanks

推荐答案

我发现的一种方法,可能方便也可能不方便的方法是,将Endnote中的引用简单地复制并粘贴到R标记上,在该标记上会出现寄生引用. ,例如{Stevenson,2014#566}.当将其编译为Word文档时,您只需单击Word中的更新引文和参考书目即可.这适用于一次性报告,但是如果您要提交大量报告,我会发现这很不方便.

One method that I found, which may or may not be convenient is to simply copy and paste the reference from Endnote onto the R markup where the paranthetical citation would happen, such as {Stevenson, 2014 #566}. When it is compiled as a word document, you can simply click on update citations and bibliography in Word. This works for one-off reports, but I'd find it inconvenient if you are trying to make a number of reports.

这篇关于如何从Endnote库(.enl)中引用R Markdown中的引用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-20 03:50