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

Bug#74862: tetex-bin: makeindex does not like DOS line-endings



On 10.05.04 Thomas Esser (te@dbs.uni-hannover.de) wrote:

Hi,

> > Since there is no upstream - will you apply such a patch to teTeX
> > and/or TeXlive sources? Do you think somebody should look closer
> > at the code
> 
> I'd rather not want to apply that patch. I fear that line numbers
> will be just wrong, by changes like
> 
>             case LFD:
>                 sty_lc++;
>     +       case CRN:
>     +           sty_lc++;
> 
> (both because of a missing break *and* because a line ended with CR
> LF should count as one, not as two). And, in addition to allow
> DOS-lineends, one should go a step further and add support for
> MAC-lineends as well.
> 
Thats why I called it stupid. I've added the code everywhere it
seemed appropriate to me and gave the whole thing a short testing.

> That means that the following should be valid line-terminators:
>   CR
>   CR LF
>   LF
> 
> I think that I could make this change for makeindex, but I'd prefer
> to spend my time on other things first. So, I'd be happy if someone
> else could do that.
> 
OK, fine. Before doing a major teTeX-release your timetable is is
stuffed with other things than fixing wishlists in upstream
software..
Thanks for your response, if I get better C-knowledge and have more
time I'll have again a look at that.

H. 
-- 
sigmentation fault



Reply to: