TeXCheckR (version 0.6.0)

check_escapes: Check escapes

Description

Checks file for unescaped dollar signs. With these present, there is a risk of constructions like We gave $10 to a million people at a cost of $10~million dollars., which is valid syntax, but incorrectly formatted. Accordingly, math-mode must be more assertively requested using \(..\).

Usage

check_escapes(filename, .report_error)

Arguments

filename

File in which to report the error

.report_error

How the errors should be reported.

Value

An error if unescaped dollar signs are present in filename. Otherwise, NULL invisibly.