[tex-k] Re: teTeX and CR-LF-CRLF
Mon, 16 Apr 2001 15:07:53 +0200 (MET DST)
> I maintain a binary distribution of your excellent teTeX package for Mac
> OS X.
> I got a bug report from someone about a BibTeX buffer exceeded. It
> turned out that the .bib file was in Mac-format, that is CR as
> end-of-line delimiter. And since Mac OS X is a unix system, the whole
> file was read as one single line. It turns out that Mac OS will have
> available both kind of files, CR as end-of-line, LF as end-of-line. CRLF
> from the DOS/Win world is of course no problem because there is a LF.
> But pure CR is.
> I have been looking in the teTeX distribution if I could find where this
> is set. Could you help me out so that I can make a distribution that
> understands both LF and CR as end of line?
I guess that tex / metafont / metapost handle all three kind of line ends
properly. I have compared tex.ch and bibtex.ch and only in tex.ch, the
"C" version of input_ln gets activated (i.e. the pascal implementation
is removed and the sysbol is declared as external).
I have no time to work out a patch for bibtex, but I hope that someone
at the tex-k list has (Olaf?).