figs_tbls_unrefd: Return unreferenced figures or tables in document

Description Usage Arguments Value

View source: R/check_all_figs_tbls_refd.R

Description

Useful for checking whether all the figures and tables in a document have been referenced in the main text. You may exclude figures and tables from the check by using the directive % may_be_left_unreferenced: in the preamble before the label that is to be excluded.

Usage

1
figs_tbls_unrefd(filename, .report_error, check.labels = TRUE)

Arguments

filename

A LaTeX file.

.report_error

A function to provide context to any errors.

check.labels

if TRUE, the default, run check_labels on filename to ensure the figure and table labels in filename are in the expected form or style. Set to FALSE for possibly faster runs but the risk of spurious results.

Value

The labels of any figure or table left unreferenced in filename (including inputs).


TeXCheckR documentation built on Nov. 17, 2020, 9:08 a.m.