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 \(..\).
check_escapes(filename, .report_error)
| filename | File in which to report the error |
|---|---|
| .report_error | How the errors should be reported. |
An error if unescaped dollar signs are present in filename. Otherwise, NULL invisibly.