If the line is long, I do see that it would be more readable to have a length 
with
no dots, to show the line continues on the next line.  I have not seen that it 
was
splitting 70%/30%. We can stick with 70%/30%.


> Sent: Saturday, November 07, 2020 at 3:22 PM
> From: "Gavin Smith" <[email protected]>
> To: "Christopher Dimech" <[email protected]>
> Cc: "help-texinfo gnu" <[email protected]>
> Subject: Re: TOC cuts long titles in middle for texi2pdf
>
> On Sat, Nov 07, 2020 at 01:23:00PM +0100, Christopher Dimech wrote:
> > Can cutting be done this way? It is not as the simplistic operation
> > as cutting by half.
> >
> > Regards
> > Christopher
>
> Maybe but this part of the code is complicated and it would risk
> making it worse in other cases.  There are test cases in
> texinfo-tex-test.texi in the Texinfo repository which you could try
> with different configurations.
>
> Currently, it attempts to split the line roughly 70%/30% in length.
> (See \finishentry in texinfo.tex). It is probably not possible to do
> it by word count.
>
> I think the first line should be longer than the second line, but
> apart from that I am not convinced that it looks better to have the
> first line longer.  A more even split may be more readable.
>

Reply via email to