On Sat, Feb 23, 2013 at 12:15:11PM +0200, Eli Zaretskii wrote:
>
> . @item @trampfn{, , melancholia, .emacs} and similar constructs
> (see tramp.texi around line 3230) produce this:
I have modified the code, such that end of line at the end of @set line
do not close the @item anymore.
The following leads to an error, though:
@table @code
@item xx @set n
@item jj
@end table
f.texi:14: @item outside of table or list
f.texi:14: warning: @item should not appear in @item
Indeed @item jj happens within '@item xx @set n' since the newline of
this @item line is ignored.
Should the @set end of line be taken into account or not depending on
what comes next?
As a side note, makeinfo in C processes the following:
@table @code
@item @set a b
item text
in item
@item jj @set j
line
@item vvv @set g@c
@end table
@table @code
@item xx @set n
@item jj
@end table
but leads to:
`
item text in item
`jj
line
`vvv
`xx
`jj'
Therefore it is very weird that it correctly process tramp.texi, while
it do not process the same constructs outside of user defined @-macro
invocations...
--
Pat