check_xrefs: Check cross-references

View source: R/check_xrefs.R

check_xrefsR Documentation

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.


TeXCheckR documentation built on May 29, 2024, 7:20 a.m.