powered by
Show errors in parsed Latex object
showErrors( x, repeatSrcline = FALSE, errorMsgTwice = FALSE, lineNumbers = TRUE, showAllLines = FALSE )
A list of paths to errors, invisibly.
A LaTeX2 object.
Repeat the source line when it has multiple errors?
Show the error message at both the start and end of a multiline error?
Show line numbers on output?
Show all lines whether they have errors or not?
parsed <- parseLatex("\\end{baz} \\begin{foo} \n \\begin{bar} $1+1\n4", recover = TRUE, showErrors = FALSE) showErrors(parsed)
Run the code above in your browser using DataLab