[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: TOC cuts long titles in middle for texi2pdf
From: |
Gavin Smith |
Subject: |
Re: TOC cuts long titles in middle for texi2pdf |
Date: |
Sat, 7 Nov 2020 14:22:12 +0000 |
User-agent: |
Mutt/1.9.4 (2018-02-28) |
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.