On Tue, Jul 14, 2026 at 02:36:06PM +0100, Gavin Smith wrote:
> In my testing, I found \smallbreak would look better, so here's a possible
> change:
>
> diff --git a/tta/perl/Texinfo/Convert/LaTeX.pm
> b/tta/perl/Texinfo/Convert/LaTeX.pm
> index d016783673..5209bcb791 100644
> --- a/tta/perl/Texinfo/Convert/LaTeX.pm
> +++ b/tta/perl/Texinfo/Convert/LaTeX.pm
> @@ -2781,6 +2781,8 @@ sub _convert_def_line($$) {
>
> $self->{'packages'}->{'tabularx'} = 1;
> my $def_line_result = '';
> + $def_line_result .= "\\smallbreak\n";
> +
> # First column (X) is as wide as possible, second column (r) is for
> # category. @{} removes space at left side of table.
> # Without \noindent, a def* after a section beginning is indented
>
> (This applies to git master but will probably apply without modification
> to Texinfo 7.3 as well.)
>
> Patrice, do you have an opinion on this?
That looks good to me.
> There are likely other ways in which the PDF output via LaTeX is suboptimal.
> Alas, having a LaTeX output converter does not solve all the issues we
> had with texinfo.tex. It's an extra level of indirection between the input
> file (Texinfo) and the output file (PDF) and so we can sometimes have
> less control over the exact appearance of the output.
I do not know if we should document it, but one of the objectives of
having a LaTeX output is to be have support for any font/language
especially with utf-8 encoding. Other than that, the LaTeX output is
likely to be less optimized than the Texinfo TeX output.
--
Pat