Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


TeXCheckR (version 0.2.0)

check_dashes: Check dashes entered as hyphens

Description

Check dashes entered as hyphens

Usage

check_dashes(filename, .report_error)

Arguments

filename

A tex or Rnw file.

.report_error

How errors should be reported.

Value

File stops and cat()s on any line where a hyphen is surrounded by a space. Excludes dashes in knitr chunks and LaTeX math mode \(...\) but not in TeX math mode $...$.