reitzig / ltx2any

Yet another LaTeX build wrapper, with one or two nifty features
GNU General Public License v3.0
59 stars 4 forks source link

Include Latex3 warnings in log file summary #113

Closed ghost closed 5 years ago

ghost commented 5 years ago

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}
reitzig commented 5 years ago

This issue was moved to reitzig/texlogparser#3

The next increment of ltx2any will use texlogparser for, uh, TeX log parsing. The implementation here is a mess and all but impossible to extend or maintain.

reitzig commented 5 years ago

For reference: fixed in texlogparser 1.1.0. Will try to switch to using the gem -- finally! -- asap. Watch for pushes to the dev branch.

reitzig commented 5 years ago

Implemented on dev as of 0edffea.

Fair warning: While all my tests work as desired, that branch is heavily WIP. (Alas, only in terms of intermediate states of rework, not activity.)