aclements / latexrun

A 21st century LaTeX wrapper
MIT License
616 stars 65 forks source link

Doesn't show correct output for "Unused global option(s):" #65

Open tyilo opened 5 years ago

tyilo commented 5 years ago

When latex gives the warning "Unused global option(s):", latexrun doesn't show which options are unused. Compare the output of latexrun and pdflatex below:

Test file (foo.tex):

\documentclass[english]{article}

\begin{document}
Foo
\end{document}
$ latexrun foo.tex
foo.tex: warning: Unused global option(s):
$ pdflatex foo.text
...
LaTeX Warning: Unused global option(s):
    [english].
...