TeXCheckR (version 0.6.0)

check_quote_marks: Check quote marks in TeX

Description

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

Usage

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

Run this code
# 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)
# }
# NOT RUN {
# }

Run the code above in your browser using DataCamp Workspace