Learn R Programming

TeXCheckR (version 0.2.0)

check_labels: Check labels

Description

Check labels

Usage

check_labels(filename, .report_error)

Arguments

filename

The LaTeX source file to check.

.report_error

The function to provide context to the error.

Value

NULL, invisibly if labels check out. An error otherwise.

Details

Checks each label has a prefix and the prefix is one of the following: fig:, tbl:, box:, chap:, sec:, subsec:, subsubsec:, para: paragraph:. Checks also that chapter labels are marked with chap:.