[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [help-texinfo] Problems with inconsistent indentation in a @table in
From: |
Alan Mackenzie |
Subject: |
Re: [help-texinfo] Problems with inconsistent indentation in a @table in an @itemize. |
Date: |
Wed, 6 Mar 2019 20:47:03 +0000 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
Hello, Eli.
On Wed, Mar 06, 2019 at 21:31:26 +0200, Eli Zaretskii wrote:
> > Date: Wed, 6 Mar 2019 18:52:16 +0000
> > From: Alan Mackenzie <address@hidden>
> > @itemize @w{}
> > @item
> > @table @asis
> > @item Style
> > @itemx File address@hidden earlier versions of @ccmode{}, a File
> > Style setting took precedence over any other setting apart from a File
> > Local Variable setting.}
> > @itemx Top-level command or ``customization interface''
> > @itemx Hook
> > @itemx File Local Variable setting
> > @end table
> > @end itemize
> This has the following issues:
> . the @item after @itemize has no text
> . just one @item and too many @itemx's in the @table
These have worked OK in the past, and according to the Texinfo manual
don't appear to be invalid.
> Why such a strange source formatting?
The outer @itemize @w{} serves to indent the inner @table @asis. Using
@itemx rather than @item prevented unwanted blank lines being inserted.
I think @table was needed to be able to use @itemx.
> > Is this a bug in Texinfo, or some misunderstanding on my part?
> I don't know, but does the problem go away if you fix the above?
In Texinfo 6.6, using @item rather than @itemx doesn't change anything;
replacing @item on L2 by @item foo causes the elements of the @table to
be correctly indented.
In Texinfo 4.13, which I'd like to stay compatible with if at all
possible, using @item rather than @itemx causes unwanted blank lines to
be inserted. @item foo leaves foo indented one character more than the
elements of the @table.
--
Alan Mackenzie (Nuremberg, Germany).