write_tib2bib: Export a BibTeX 'tibble' to a .bib file.

Description Usage Arguments Value Examples

View source: R/write_tib2bib.R

Description

The BibTeX tibble is written to a .bib file.

Usage

1
2
3
4
5
6
7
8
write_tib2bib(
  tib,
  file = tempfile(fileext = ".bib"),
  append = FALSE,
  isformat = TRUE,
  isdelkeywords = FALSE,
  connect_author = c("nothing", "\\\\&", "&", "and")
)

Arguments

tib

tibble, in the format as returned by read_bib2tib.

file

character, file path to write the .bib file.

append

logical, if TRUE the tibble will be appended to an existing file.

isformat

logical, if TRUE the Fields in tibble will complete braces to make them appear in pairs.

isdelkeywords

logical, if TRUE and there is a picture of column 'isdelkeywords', column 'isdelkeywords' in the tibble will be deleted.

connect_author

character, what symbols are used to connect multiple authors, 'nothing','\\&', '&', 'and', where 'nothing' stand for do nothing(default).

Value

file as a character string, invisibly.

Examples

1
# Read from .bib file:

journalabbr documentation built on April 20, 2021, 5:07 p.m.