bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: @sortas inserts unwanted space


From: Gavin Smith
Subject: Re: @sortas inserts unwanted space
Date: Thu, 25 Jun 2020 16:40:11 +0100

On Thu, Jun 25, 2020 at 8:47 AM Werner LEMBERG <wl@gnu.org> wrote:
> ======================================================================
>
> \input texinfo.tex
>
> @findex @sortas{foo} foo
> @findex foobar
> text
>
> @printindex fn
>
> @bye
>
> ======================================================================
>
> Attached you can find the tex output using texinfo.tex from
> 2019-02-16.14 and 2020-05-22.11; as you can see, the @sortas command
> no longer suppresses the insertion of a leading space.
>
> The old `.fn` file looks like this:
>
>   \entry{foo}{1}{\code {\ignorespaces  foo}}
>   \entry{foobar}{1}{\code {foobar}}
>
> The new `.fn` file is as follows:
>
>   \entry{foo}{1}{\code { foo}}
>   \entry{foobar}{1}{\code {foobar}}

I tried putting the \ignorespaces back in but that didn't work
(probably due to catcode changes). Probably related to
https://lists.gnu.org/archive/html/bug-texinfo/2019-11/msg00013.html.
@sortas and @subentry don't appear to work properly for the code
indices like @findex. I'll look for a fix but I don't know how easy it
will be.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]