check_quote_marks: Check quote marks in TeX

Description Usage Arguments Examples

View source: R/check_quote_marks.R

Description

Checks whether a closing quote has been used at the start of a word.

Usage

1
check_quote_marks(filename, .report_error, rstudio = FALSE)

Arguments

filename

LaTeX filename.

.report_error

A function determining how errors will be reported.

rstudio

Use the rstudioapi package to jump to the location of the first error.

Examples

1
2
3
4
5
6
7
## Not run: 
  tex_file <- tempfile(fileext = ".tex")
  cat("This is the wrong 'quote' mark.", file = tex_file)
  check_quote_marks(tex_file)
  file.remove(tex_file)

## End(Not run)

TeXCheckR documentation built on Nov. 17, 2020, 9:08 a.m.