| Newsgroups |
gmane.comp.tex.german |
| Message-ID |
<[email protected]> |
Moin,
on 07.04.2025 19:14, "Dr. Werner Nowatzky" wrote:
> das Fixen von Fehlern ist natürlich immer zu bevorzugen.
>
> Gleichwohl halte ich die ursprüngliche Frage für durchaus
> interessant: kann man die willkürliche Grenze irgendwo konfigurieren?
> Und, falls ja, wie?
Die maximale Fehlerzahl ist von Don Knuth fest in "tex.web" programmiert
und dies könnte man nur durch eine entsprechendes TeX-Changefile
ändern und konfigurierbar machen.
Grüße
Bernd
Hier sind die Web-Pascal-Code-Schnipsel aus "tex.web"
(https://mirror.ctan.org/systems/knuth/dist/tex/tex.web):
[...]
Another global variable, |error_count|, is increased by one when an
|error| occurs without an interactive dialog, and it is reset to zero at
the end of every paragraph. If |error_count| reaches 100, \TeX\ decides
that there is no point in continuing further.
[...]
@!error_count:-1..100; {the number of scrolled errors since the
last paragraph ended}
[...]
@<Error hand...@>=
procedure error; {completes the job of error reporting}
[...]
incr(error_count);
if error_count=100 then
begin print_nl("(That makes 100 errors; please try again.)");
@.That makes 100 errors...@>
history:=fatal_error_stop; jump_out;
end;
@<Put help message on the transcript file@>;
exit:end;
[...]
--
FAQ: http://texfragen.de/
Durchsuchbares Archiv: https://www.listserv.dfn.de/sympa/arc/tex-d-l
Unsubscribe/Verwaltung: https://www.listserv.dfn.de/sympa/info/tex-d-l