bug-texinfo
[Top][All Lists]
Advanced

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

Re: [bug #43406] @deffn inserts unwanted whitespace


From: Patrice Dumas
Subject: Re: [bug #43406] @deffn inserts unwanted whitespace
Date: Tue, 14 Oct 2014 23:09:45 +0200
User-agent: Mutt/1.5.20 (2009-12-10)

On Sun, Oct 12, 2014 at 01:48:00PM +0000, Werner LEMBERG wrote:
> Details:
> 
> The following code
> 
> @deffn X @address@hidden
> @end deffn
> 
> if processed with `makeinfo' creates the following code in the info file:
> 
> -- X: A BC

It is on purpose.  An @-command delimitates a special value on the @def*
line, in the same way as braces do (except when in the ARGUMENTS... part), 
so @t{A} is an argument, and then it gets its space.  The manual says:

 As a general rule, when any of the arguments in the heading line
 _except_ the last one are more than one word, you need to enclose them
 in braces.  This may also be necessary if the text contains commands,
 for example, '{declaraci@'on}' if you are writing in Spanish.

Which means, in my opinion, that you should have put braces.

That being said, it is not specified in the manual that a braced command
delimitates a value on a @def* line, so this could also be changed.

-- 
Pat



reply via email to

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