TeXCheckR (version 0.6.0)

check_xrefs: Check cross-references

Description

Check cross-references that are repetitive or (in the case of cleveref and varioref) incorrect case.

Usage

check_xrefs(filename, permitted.case = c(NA, "upper", "lower"),
  .report_error)

Arguments

filename

A LaTeX file

permitted.case

One of NA, "upper", "lower". If NA, the default, both \Cref and \cref are permitted, but not in the same document. If upper, only \Cref is permitted; if lower, only \cref. If NULL, the case is not checked at all.

.report_error

The function to provide context to the error.