check_quote_marks: Check quote marks in TeX

View source: R/check_quote_marks.R

check_quote_marksR Documentation

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

## 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 May 29, 2024, 7:20 a.m.