reitzig/texlogparser

Include Latex3 warnings in log file summary

reitzig opened this issue · 5 comments

From @samcarter8 on September 13, 2018 13:50

Latex3 displays warning in a format like the following example:

*************************************************
* widows-and-orphans warning: "orphan-widow"
* 
* Orphan on page 1 (second column) and widow on page 2 (first column)
*************************************************

Would it be possible to show such warnings in the summary of the log file?


A short example that produces such a warning:

\documentclass{article}

\usepackage{lipsum}
\usepackage[check=warning]{widows-and-orphans}

\begin{document}
\lipsum[1-5]
test test testtest test testtest test testtest test testtest test testtest test testtest test testtest test test

test


\end{document}

Copied from original issue: reitzig/ltx2any#113

Heh, how did I miss those?

Will definitely include this pattern the next time I touch the library. Thanks for the report and the test case, perfect!

For reference: the widows-and-orphans page is rather new; I had to run updates on TeXlive 2018 to get it.

Yes, it is rather new. I should have warned you about that, sorry!

Implemented in v1.1.0.

Thanks a lot for fixing this!