[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: TOC cuts long titles in middle for texi2pdf
From: |
Christopher Dimech |
Subject: |
Re: TOC cuts long titles in middle for texi2pdf |
Date: |
Sat, 7 Nov 2020 15:41:38 +0100 |
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" <gavinsmith0123@gmail.com>
> To: "Christopher Dimech" <dimech@gmx.com>
> Cc: "help-texinfo gnu" <help-texinfo@gnu.org>
> 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.
>