To cut it from the word that would not fit by a spacing of say two dots from the page number. However, if that would result in just one word, cut it such that there are at least two or three words
Example: From This > > -------------------------------------------- > > 1.5 Firing Commands with Arguments . . . . . . . . . 9 > > 1.5.1 Easiest way to pass a Numeric >> Argument using Universal Prefix. . . . . . . . . 10 > > -------------------------------------------------- To This (which also gives indication of a long title) > > -------------------------------------------- > > 1.5 Firing Commands with Arguments . . . . . . . . . 9 > > 1.5.1 Easiest way to pass a Numeric Argument using >> Universal Prefix . . . . . . . . . . . . . . . . 10 > > -------------------------------------------------- > Sent: Monday, November 02, 2020 at 10:17 PM > From: "Gavin Smith" <gavinsmith0...@gmail.com> > To: "Christopher Dimech" <dim...@gmx.com> > Cc: "help-texinfo gnu" <help-texinfo@gnu.org> > Subject: Re: TOC cuts long titles in middle for texi2pdf > > On Mon, Nov 02, 2020 at 10:01:23PM +0100, Christopher Dimech wrote: > > > > Have noticed that in the TOC, when a @subsection title > > is long, the title is cut in the middle rather than > > continuing a bit before the Page Number, then wrapping > > the remaining words on the next line when using texi2pdf. > > > > @subsection Easiest way to pass a Numeric Argument using Universal Prefix > > > > texi2pdf file.texi > > > > -------------------------------------------- > > 1.5 Firing Commands with Arguments . . . . . . . . . . . . . . . . . . . . > > . . . . . . . . . . 9 > > 1.5.1 Easiest way to pass a Numeric > > Argument using Universal Prefix . . . . . . . . . . . . . . . . . . . . . . > > . . . . . . . . 10 > > -------------------------------------------------- > > What is wrong with this? The title has to be cut somewhere if it is > too long. > >