bug-texinfo
[Top][All Lists]
Advanced

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

Re: `@findex` within paragraph doesn't work


From: Gavin Smith
Subject: Re: `@findex` within paragraph doesn't work
Date: Mon, 20 Mar 2023 16:35:50 +0000

On Mon, Mar 20, 2023 at 03:36:37PM +0000, Werner LEMBERG wrote:
> 
> [texinfo.tex 2023-03-13.20]
> 
> Consider the following snippet.
> 
> ```
> \input texinfo
> 
> @findex{foo}
> @code{foo},
> @findex{bar}
> @code{bar},
> @findex{baz}
> @code{baz}
> 
> @bye
> ```
> 
> This no longer works as expected – with version 2022-12-19.22 the
> output is OK (I didn't bisect to find the exact last working version,
> though).

(The correct syntax is "@findex foo" not "@findex{foo} but this is not the
main point.)

This was a deliberate change to make index commands terminate paragraphs.
This was intended for input like the following:

@table @asis
@cindex Points (dimension)
@item pt
point (72.27pt = 1in)
@cindex Picas
@item pc
pica (1pc = 12pt)
@cindex Big points
@item bp
big point (72bp = 1in)
@cindex Inches
@item in
inch
@end table

so that the @?index command could precede the @item line they
referred to without being part of the preceding paragraph, and without
the need for an extra blank line in the Texinfo source or Info output.

Does this change cause a problem?



reply via email to

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