handle_bibliography {rebib}R Documentation

function to solve bibliography problems

Description

if bibliography exists in bibtex format then (filename.bib) bibtex file will be preferred. else this function will generate a minimal bibliography

Usage

handle_bibliography(article_dir, override_mode = FALSE, log_rebib = FALSE)

Arguments

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

Value

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

Examples

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)

[Package rebib version 0.3.2 Index]