Inserts Footnotes in appropriate places in Word files
add_footnotes.Rd
Reads in a .docx file and returns a new version with footnotes placed at appropriate places in the document.
Usage
add_footnotes(
docx_in,
docx_out,
figures_path,
tables_path,
footnotes = NULL,
include_object_path = FALSE,
footnotes_fail_on_missing_metadata = TRUE,
debug = F
)
Arguments
- docx_in
Path to the input .docx file
- docx_out
Path to output .docx to save to
- figures_path
Path to images and associated metadata directory
- tables_path
Path to tables and associated metadata directory
- footnotes
Path to standard_footnotes.yaml
- include_object_path
Boolean for including object path path in footnotes
- footnotes_fail_on_missing_metadata
Boolean for allowing objects to lack metadata and thus have no footnotes
- debug
Debug