Vetoes words in a LaTeX document that are marked '[sic]' for the purpose of spell checking by replacing them (and `[sic]` itself) with white space of equal length.
veto_sic(tex_lines, quote = TRUE, sentence = !quote, words_ante = 1L)
A character vector.
(logical, default: TRUE
) Veto words after the previous opening quote (i.e. backtick) symbol.
(logical, default: TRUE
) Veto words before [sic] in the same sentence.
(The start of a sentence is taken to be the location of the capital letter which is preceded
by white space and a full stop.)
The number of words to exclude. Ignored if quote
or sentence
is TRUE
.