Skip to contents

counts/reads Cite inline elements embedded within the latex file

Usage

citation_reader(file_path)

Arguments

file_path

path to the LaTeX file

Value

count of the inline element

Examples

file_path <- system.file("article/example.tex",
                 package = "rebib")
# Only Reads the example.tex for possible citations
cite <- rebib::citation_reader(file_path)
cite
#> $count
#> [1] 2
#> 
#> $references
#> [1] "{R}" "{R}"
#>