I am writing a parser for warnings. I have extended the width of LaTeX's output so that errors and warnings all occur on a single line.
However, I have a problem with multi-line, formatted warn warnings as these are more difficult to handle.
An example is the following:
Package biblatex Warning: Biber reported the following issues
(biblatex) with 'kannan_random_1997':
(biblatex) - Datamodel: Entry 'kannan_random_1997'
(bibliography.bib): Invalid ISSN in value of field 'issn'.
Here I would like to remove the newline, the (biblatex)
and the white-space after it so the warning appears on a single line such as the following:
Package biblatex Warning: Biber reported the following issues with 'kannan_random_1997': - Datamodel: Entry 'kannan_random_1997' Invalid ISSN in value of field 'issn'.
Is there a way of cutting down the output like the above, either by using LaTeX or by changing environment variables/parameters?
MWE:
\documentclass{article}
\begin{document}
\fontfamily{asdf}\selectfont
Hello, world!
\end{document}
biblatex
errors are not the only ones your want to fetch?\def\MessageBreak{}
but untested as you provide no test code\def\MessageBreak{}
doesn't seem to be working for me...\GenericWarning
where it locally defines\messageBreak