[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: simple doc point
From: |
Gavin Smith |
Subject: |
Re: simple doc point |
Date: |
Wed, 27 Jul 2022 20:59:00 +0100 |
(switching to bug-texinfo)
On Fri, Jul 22, 2022 at 02:26:49PM +0100, Gavin Smith wrote:
> Once I get some feedback on this, I'll commit the change and start work
> on making the change in texi2any. I think this is a very important change
> to make for the sake of m4 where the space is incorrect!
>
> diff --git a/doc/texinfo.tex b/doc/texinfo.tex
> index a2bcf60e49..c0e33f1780 100644
> --- a/doc/texinfo.tex
> +++ b/doc/texinfo.tex
> @@ -7835,12 +7835,16 @@ might help (with 'rm \jobname.?? \jobname.??s')%
> \fi % no return type
> #3% output function name
> }%
> - {\rm\enskip}% hskip 0.5 em of \rmfont
> + \expandafter\ifx\csname SETtxidefnamespace\endcsname\relax\else
> + {\rm\enskip} % hskip 0.5 em of \rmfont
> + \fi
> %
> \boldbrax
> % arguments will be output next, if any.
> }
It's now implemented in texinfo.tex and in the (new) LaTeX
back end. It is used by adding a line
@set txidefnamenospace
before the definition block. If the approach used for
LaTeX is okay, then it should be straightforward to
extend this to the other output formats.