>>> I noticed page breaking issue in my patch.
>>> I've fixed it.
> 
> Please provide a sample to reproduce the issue.

I've attached it.

>> The empty lines in \utfeightchardefs? I'll commit that separately.
> 
> If the empty lines are really the cause, I agree that it deserves a
> separate commit since it doesn't seem to be related to the encoding
> problem.

The issue occurs in native Unicode only.

If native Unicode is enabled,
\nativeunicodechardefsthru may be used at the page break.
It has \unicodechardefs (renamed from \utfchardefs in my patch).
Extra empty lines cause infinite loop.

If @documentencoding is US-ASCII or ISO-8859-1, it does not occur.
In this case, \nativeunicodechardefsthru is not used.
\nonasciistringdefs is used instead.
It does not have extra empty lines.
\input texinfo.tex @c -*- coding: utf-8 -*-

@documentencoding UTF-8

@example
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
@end example

@bye

Reply via email to