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

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



> 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.

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.

Thanks,

Thomas



Reply to: