Re: @ref in @multitable broken in Info output if split across lines

2015-02-11 Thread Patrice Dumas
On Wed, Feb 11, 2015 at 12:34:02PM +, Gavin Smith wrote: > > > And not forget to pop it when leaving a footnote (l. 866) (and also > > probably in l. 3314 though I don't really remember what it corresponds > > to). > > l.3314 refers to the 'indent_menu_descriptions' function. I haven't > popp

Re: @ref in @multitable broken in Info output if split across lines

2015-02-11 Thread Gavin Smith
Thanks for the detailed commentary. An updated patch is below. A test file is also attached. > And not forget to pop it when leaving a footnote (l. 866) (and also > probably in l. 3314 though I don't really remember what it corresponds > to). l.3314 refers to the 'indent_menu_descriptions' functi

Re: @ref in @multitable broken in Info output if split across lines

2015-02-10 Thread Karl Berry
I don't remember if nested @*ref are allowed, Just on this minor point: they're not. makeinfo warns about them. (Seems like it could jus as well be an error.) nestref.tex:7: warning: @ref should not appear in @xref nestref.tex:7: warning: @pxref should not appear in @xref .. For the line: @

Re: @ref in @multitable broken in Info output if split across lines

2015-02-08 Thread Patrice Dumas
On Sun, Feb 08, 2015 at 02:42:56PM +, Gavin Smith wrote: > On Fri, Feb 6, 2015 at 11:54 PM, Karl Berry wrote: > > Possibly any xref command inside a multitable should be implicitly > > handled as if enclosed in @w, to avoid the unable-to-find-the-reference > > problem. > > Here's a possible f

Re: @ref in @multitable broken in Info output if split across lines

2015-02-08 Thread Karl Berry
Here's a possible fix. Cool. I'm all for it, in principle, not that I have any particular expertise in reviewing it. Barring comments from Patrice, might as well try it (plus doc + test?)? BTW, something strange went wrong in the email formatting as sent (I guess): +if (grep {$_->{

Re: @ref in @multitable broken in Info output if split across lines

2015-02-08 Thread Gavin Smith
On Fri, Feb 6, 2015 at 11:54 PM, Karl Berry wrote: > Possibly any xref command inside a multitable should be implicitly > handled as if enclosed in @w, to avoid the unable-to-find-the-reference > problem. Here's a possible fix. Index: Plaintext.pm

Re: @ref in @multitable broken in Info output if split across lines

2015-02-07 Thread Gavin Smith
On Fri, Feb 6, 2015 at 11:54 PM, Karl Berry wrote: > I notice that @w can block newlines. > > I'm not sure what you mean. > > The purpose of @w{...} is to have absolutely no line breaks in the > argument. The bug I see in your sample output is that @w{@ref{...}} > does still allow a line brea

Re: @ref in @multitable broken in Info output if split across lines

2015-02-06 Thread Karl Berry
I notice that @w can block newlines. I'm not sure what you mean. The purpose of @w{...} is to have absolutely no line breaks in the argument. The bug I see in your sample output is that @w{@ref{...}} does still allow a line break at the space after the "*note". It seems to me that should n

Re: @ref in @multitable broken in Info output if split across lines

2015-02-06 Thread Gavin Smith
On Fri, Feb 6, 2015 at 4:33 PM, Gavin Smith wrote: > On Wed, Dec 3, 2014 at 8:22 PM, Gavin Smith wrote: >> If makeinfo produces a cross-reference in a table in the Info output >> and the text for the cross-reference is split across lines, then it is >> not possible to follow the cross-reference.

Re: @ref in @multitable broken in Info output if split across lines

2015-02-06 Thread Gavin Smith
On Wed, Dec 3, 2014 at 8:22 PM, Gavin Smith wrote: > If makeinfo produces a cross-reference in a table in the Info output > and the text for the cross-reference is split across lines, then it is > not possible to follow the cross-reference. I should note that this is a problem with the new texind

@ref in @multitable broken in Info output if split across lines

2014-12-03 Thread Gavin Smith
If makeinfo produces a cross-reference in a table in the Info output and the text for the cross-reference is split across lines, then it is not possible to follow the cross-reference. For example: Chunk nameFirst definition point