fix_title_case_for_csl: Add an additional layer of curly braces around the titles...

View source: R/utils-fix-title-case-for-csl.R

fix_title_case_for_cslR Documentation

Add an additional layer of curly braces around the titles found in the supplied BIB file (BiBTeX format). This is necessary for CSL to write the titles in the output document as-is. If it is not done, sentence-case is implemented in CSL and your titles will be messed up.

Description

Add an additional layer of curly braces around the titles found in the supplied BIB file (BiBTeX format). This is necessary for CSL to write the titles in the output document as-is. If it is not done, sentence-case is implemented in CSL and your titles will be messed up.

Usage

fix_title_case_for_csl(
  bib_fn = here("doc/bib/refs.bib"),
  out_fn = here("doc/bib/refs_modified.bib")
)

Arguments

bib_fn

The input BiBTeX file name

out_fn

The output BiBTeX file name

Details

Only done once for a project. Added here for reference and to save the code

Value

nothing


pacific-hake/hake-assessment documentation built on Jan. 14, 2025, 9:12 p.m.