bug-texinfo
[Top][All Lists]
Advanced

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

Re: inconsistent spaces in menu and in node and @-commands


From: Patrice Dumas
Subject: Re: inconsistent spaces in menu and in node and @-commands
Date: Fri, 19 Aug 2022 15:01:53 +0200

On Thu, Aug 18, 2022 at 02:16:36PM +0100, Gavin Smith wrote:
> On Thu, Aug 18, 2022 at 02:31:15PM +0200, Patrice Dumas wrote:
> > 
> > It is solved for Info now (I also tested the emacs Info reader, it is
> > also ok in recent versions).  But I think that there is still something
> > to be done in the parsers or in Structuring.pm, such that the node is
> > found as a target in other formats, and in particular HTML.
> 
> What use case is this supposed to support?  If it is just double
> spaces in node names then I doubt that this is worth worrying about.
> 
> Perhaps "@ " in a node name should issue an error or warning.

The code did not follow the HTML Cross-reference Node Name Expansion
'Multiple consecutive space, tab and newline characters are transformed
into just one space.'  This is a good thing, in my opinion, to follow
that rule, as that way the HTML cross-references and Info cross
references are consistent.  It should be fixed now.

We could make it explicit in the manual, in node 'Node Line
Requirements', by adding to the different possibilities on spaces in
nodes a possibilities with @-commands, such as 
 
   @node @  foo @: @* bar,

I think that we should not, keeping the possibility open to do things
differently.  I put a comment in the manual.

-- 
Pat



reply via email to

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