Print

Print


The following header lines retained to effect attribution:
|Date: Thu, 15 Feb 2001 13:37:18 +0100
|From: Hans Aberg <[log in to unmask]>
|Subject: Re: Side remarks about TeX input sequence
|To: Multiple recipients of list LATEX-L <[log in to unmask]>
|Reply-to: Mailing list for the LaTeX3 project <[log in to unmask]>

        [SNIP]

|Please explain: To me \n and \r seems different. Or are you claiming that
|there is God given law that requires one to open all files in text mode? :-)

        No, not all files should be opened in text mode.

        All LaTeX and TeX primary input files (i.e., *.tex files)
        should be opened in text mode.  The description of the
        processing that occurs in TeX's mouth is very clearly a
        text mode of processing --- a stream of characters with
        line terminator characters.  A pre-mouth (lips or library)
        processing of file to present a character stream view of
        the file's data or modifying TeX's mouth to simulate such
        processing is appropriate considering the assumed nature
        of the input.

        Auxiliary files may have other assumptions about their form,
        format and data.  If binary is appropriate for them, then by
        all means open them for input in binary mode.

|  Hans Aberg

Randolph J. Herber, [log in to unmask], +1 630 840 2966, CD/CDFTF PK-149F,
Mail Stop 318, Fermilab, Kirk & Pine Rds., PO Box 500, Batavia, IL 60510-0500,
USA.  (Speaking for myself and not for US, US DOE, FNAL nor URA.)  (Product,
trade, or service marks herein belong to their respective owners.)