bug-texinfo
[Top][All Lists]
Advanced

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

Re: Wrapping of @nodedescription


From: Patrice Dumas
Subject: Re: Wrapping of @nodedescription
Date: Thu, 27 Jul 2023 17:37:59 +0200

On Thu, Jul 27, 2023 at 03:08:13PM +0100, Gavin Smith wrote:
> I've started changing over the manuals to use @nodedescription but I
> noticed an issue with line wrapping.  What was
> 
> As you can see, a maximum line length of 72 characters is being used.  I
> think this should be a maximum length of 79 characters to recreate the
> menu as it was.

It could be possible to add customizations to change the max column
number when applying node description.  Currently the current value,
coming from --fill-column, which is 72 in the default case is used,
and I think that it should stay that way, but it could be made
customizable, maybe with
AUTO_MENU_DESCRIPTION_FILLCOLUMN

Similarly, the indent length is set arbitrarily to 31, it could be
dynamically determined based on AUTO_MENU_DESCRIPTION_FILLCOLUMN, for
example AUTO_MENU_DESCRIPTION_FILLCOLUMN / 2.3.  Then either the indent
length itself or the coefficient could be customizable, with either

AUTO_MENU_DESCRIPTION_INDENT_LENGTH
or
AUTO_MENU_DESCRIPTION_INDENT_FACTOR

Opinions?

-- 
Pat



reply via email to

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