Description Usage Arguments Value
View source: R/check_consecutive_words.R
Check consecutive typeset words
1 2 3 4 5 6 7 | check_consecutive_words(
path = ".",
latex_file = NULL,
md5sum.ok = NULL,
outfile = NULL,
outfile.append = FALSE
)
|
path |
Path containing the LaTeX file. |
latex_file |
The LaTeX file (without path) whose output will be checked. |
md5sum.ok |
The output of |
outfile |
A file to which the output can be saved. If |
outfile.append |
(logical, default: |
NULL
if the LaTeX
document does not create a PDF with lines repeated.
An error if words are repeated on consecutive lines, together with cat()
output of the offending lines. The output is presented in 'stanzas':
1 2 | '<Repeated word>'
<Context>
|
for example a document that results in the following lines, notably the repetition of household, the output would be:
1 2 3 4 5 6 | 'household'
affordable. This `mortgage burden' is often defined as the proportion of
household income spent on repaying a mortgage. Depending on the
household income measure used, the mortgage burden on a newly
purchased first home, assuming a person borrows 80 per cent of the
value of the home, is currently lower than much of the period between
|
Lastly the error message contains the md5sum
of the file is returned in the error message, so it can be supplied to md5sum.ok
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.