On Thu, Jun 19, 2003 at 08:37:24AM +0200, Dirk Laurie wrote:
>
> Don Simons skryf:
> > The uploaded file had the wrong line terminations for windows. 
>
> How often has that been the problem on this mailing-list!
> 
> In the old days, when everybody used FTP, you downloaded files as ASCII
> and they came over perfectly in the local text format.  Nowadays everybody
> uses web browsers.  Why can't browsers auto-convert text files?
> 
> The best option is to keep everything as MSDOS text files but zipped.
> The Windows users are happy, the standard Unix unzip utility _can_
> autoconvert, I don't know about Macintosh, but I'd be surprised if
> Macintosh can't autoconvert MSDOS text.

The browser or archiver would need to recognize that ".tex" is a text
file that needs to be converted.  Zipping seems like a drastic remedy,
and you still must remember to use unzip's -a option.

Another way is to convert the files with Perl, which works with both
Unix and Unspeakable:

        perl -ape 's/\012/\015\012/' -i "$@"
        perl -ape 's/\015\012/\012/' -i "$@"

Is it possible to put a command in the first non-comment line of a TeX
file that tells TeX to ignore CR when not recognized as part of a native
newline?  That ought to make users happy.

                                        --Col. George Sicherman
                                          [EMAIL PROTECTED]

-- 
Col. G. L. Sicherman
[EMAIL PROTECTED]
_______________________________________________
TeX-music mailing list
[EMAIL PROTECTED]
http://sunsite.dk/mailman/listinfo/tex-music

Reply via email to