2011-03-03 85 views

回答

5

如何實現自動化將取決於Endnote可以導入的內容。看來BibTeX導入目前不可能開箱即用,並且需要一些額外的軟件。例如參見:http://www.lib.uts.edu.au/content/faq/how-can-i-import-bibliography-endnote-bibtex-latex-what-about-converting-other-way-endno

閱讀?bibentry並且特別是參數style和詳細信息部分。看看Endnote是否可以以任何這些格式導入數據?我懷疑它,但我從未使用Endnote。

如果沒有,我們可以去BibTeX路線,如果您安裝的東西,允許您將BibTeX導入Endnote。

> utils:::print.bibentry(citation("ggplot2"), style = "Bibtex") 
@Book{, 
    author = {Hadley Wickham}, 
    title = {ggplot2: elegant graphics for data analysis}, 
    publisher = {Springer New York}, 
    year = {2009}, 
    isbn = {978-0-387-98140-6}, 
    url = {http://had.co.nz/ggplot2/book}, 
} 

爲了得到這個伸到傳遞到導入實用程序文件,你可以使用capture.output()

capture.output(utils:::print.bibentry(citation("ggplot2"), style = "Bibtex"), 
       file = "endnote_import.bib") 

其中給出了以下內容的文件:

$ cat endnote_import.bib 
@Book{, 
    author = {Hadley Wickham}, 
    title = {ggplot2: elegant graphics for data analysis}, 
    publisher = {Springer New York}, 
    year = {2009}, 
    isbn = {978-0-387-98140-6}, 
    url = {http://had.co.nz/ggplot2/book}, 
} 

你應該可以使用第三方工具導入。

+0

一旦你關注了Gavin的建議,你可以試試這個[BibTeX到Endnote轉換器](http://sydney.edu.au/engineering/it/~tapted/bib2endnote.html),儘管我沒有使用它,看起來有點老了。 – Laurent 2011-03-04 11:03:19