bug-texinfo
[Top][All Lists]
Advanced

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

Re: TRAMP User Manual problems with Texinfo 5.0


From: Patrice Dumas
Subject: Re: TRAMP User Manual problems with Texinfo 5.0
Date: Sun, 24 Feb 2013 04:13:57 +0100
User-agent: Mutt/1.5.20 (2009-12-10)

On Sat, Feb 23, 2013 at 12:15:11PM +0200, Eli Zaretskii wrote:
> 
>   . There are some errors:
> 
>     tramp.texi:2457: misplaced { (possibly involving @xxx)
>     tramp.texi:2457: misplaced }
>     tramp.texi:2457: misplaced {
>     tramp.texi:2457: misplaced }
>     tramp.texi:2459: too many columns in multitable item (max 1)
>     tramp.texi:2460: too many columns in multitable item (max 1)
>     tramp.texi:2484: misplaced { (possibly involving @xxx)
>     tramp.texi:2484: misplaced }
>     tramp.texi:2484: misplaced {
>     tramp.texi:2484: misplaced }

For the errors corresponding to @multitable, something like
@multitable address@hidden, , melancholia.danann.net,}} address@hidden, , 
192.168.0.1,}}
...
@end multitable

the issue is not @clear or @set, but the line that is expanded,

  address@hidden@address@hidden

that stops the multitable.


A simplified example is

  @macro ttt
  @c

  @end macro

  @multitable {aaa @ttt{} bbb}
  @end multitable

makeinfo in C handles that, but errors out with the expanded version,
which should be equivalent:

  @multitable {aaa @c
    bbb} 
  @end multitable

So, in that case, I think that the makeinfo in C behaviour is incorrect,
and happens by chance because of an inconsistent expansion of user defined
macros in some contexts.  An additional hint of this the case is that 
when called with -E, makeinfo in C do not expand the user defined macro.  
For example, with the macro above and -E,

  @multitable {aaa @ttt{} bbb}
  @end multitable

  aaa @ttt{} bbb

leads to

  @multitable {aaa @ttt{} bbb}
  @end multitable

  aaa @c
   bbb

So, my analysis is that this should be kept as an error.

-- 
Pat



reply via email to

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