我有一个包含长篇引用作品的文本文档(Word或PDF),如何将这些引用作品导出到BibTeX或EndNote中?
我有一个包含长篇引用作品的文本文档(Word或PDF),如何将这些引用作品导出到BibTeX或EndNote中?
C:\Documents and Settings\<username>\Application Data\Microsoft\Bibliography\Sources.xml
。下载元数据提取工具后,我发现它可以捕获特定对象的元数据(文件名、大小、日期等),但不会查看该对象内部的引用并提取它们。
我发现从Word和Pdf文件中爬取引用的最佳解决方案是cb2Bib。
library(RefManageR)
setwd("/your/folder/") # set the folder where the .csv file is
list.files(getwd()) # be sure your .csv file is there
doi<-read.csv("dois.csv", header=FALSE) # pass the file info to the doi object
# get a new .bib file with formatted references
GetBibEntryWithDOI(unlist(doi), temp.file = ("mycitations.bib"), delete.file = FALSE)
# write a .csv
bib<-ReadBib("mycitations.bib")
dfbib<-as.data.frame(bib)
write.csv(dfbib,"table.csv")