handle_bibliography | R Documentation |
if bibliography exists in bibtex format then (filename.bib) bibtex file will be preferred. else this function will generate a minimal bibliography
handle_bibliography(article_dir, override_mode = FALSE, log_rebib = FALSE)
article_dir |
path to the directory which contains tex article |
override_mode |
force use parser and ignore BibTeX bibliography. |
log_rebib |
option to enable log files for rebib |
bibliography links the bibtex file with latex source code or generates a minimal bibtex file from embedded bibliography and links that file to the latex file
dir.create(your_article_folder <- file.path(tempdir(), "exampledir"))
example_files <- system.file("article", package = "rebib")
x <- file.copy(from = example_files,to=your_article_folder,recursive = TRUE)
your_article_path <- paste(your_article_folder,"article",sep="/")
rebib::handle_bibliography(your_article_path)
unlink(your_article_folder,recursive = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.