www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/11/12/10:53:59

Message-ID: <32889598.5B6E@pobox.oleane.com>
Date: Tue, 12 Nov 1996 16:19:52 +0100
From: Francois Charton <deef AT pobox DOT oleane DOT com>
Organization: CCMSA
MIME-Version: 1.0
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
CC: djgpp AT delorie DOT com
Subject: Re: Problem with MakeInfo
References: <Pine DOT SUN DOT 3 DOT 91 DOT 961112130758 DOT 2677B-100000 AT is>

Eli Zaretskii wrote:
> 
> On Tue, 12 Nov 1996, Francois Charton wrote:
> 
> > current.fr:1506: Misplaced '{'.
> >
> > Now, the number should be the line number where the error occurs, but
> > this line number is wrong: in the example above, the misplaced '{' will
> > not be in line 1506.
> 
> Is this Makeinfo from Texinfo 3.9?  

Yes, I just reinstalled it for a check...

> In particular, any errors that I do in the
> FAQ sources are reported with correct line numbers.
>
> Can you post the shortest Texinfo source which exhibits this problem
> (preferably shorter than 1506 lines ;-)?
> 

I can make it happen with the FAQ (v202) in TXI format : on my system, if 
I add an extra } at the end of lines 58 (thats a @paragraph{} 
instruction), 247 (a question) and 1084, I get messages reporting 
Unmatched { (fair enough!) but in lines 62, 251, 1176.

 
> Can you track down any Texinfo features whose use triggers
> the problem?

On the FAQ (I did most of the checking on my translation of it), you 
"lose" a lot of lines when you go through the SimTel list of mirrors : in 
the succession of "@titem ... @ftpdir". So I highly suspect the expansion 
of macros as a possible cause. 

Actually, such macros tend to lengthen the text, and so to create 
newlines in the resulting info file... When a macro (like @ftpdir{}) is 
expanded, and it is longer than a line, the Makeinfo has to create a new 
line for it, could it be possible that it loses count here?? (either 
because of the macro, or just because it can't count lines and add lines 
at the same time...)

Regards,
Francois

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019