[OS X TeX] elsart.cls

Ross Moore ross at ics.mq.edu.au
Sat Oct 26 02:47:45 CEST 2002



> 
> > line-endings ?
> > Maybe you need to switch from DOS to Unix.
> 
> I've never used DOS :-) and I even get pagebreak after individual words?!

I mean, the file may have DOS line-endings:  <cr><lf>
instead of just unix: \n  = <lf>
or Macintosh:  \r  = <cr>

If you downloaded the file  elsart.cls  from the web using a web-browser,
then the .cls  extension was not likely to be known, thereby 
resulting in a binary download, not a text download.
That will preserve the 2-character line-ending, rather than switch
automatically to a single character for your mac.

> 
> Oddly, there's no problem when I latex exactly the same file using latex2e
> on my unix workstation. ...

How did you get  elsart.cls  to the Unix box?
If it went as text (not binary) then the line-endings will have been corrected,
so you see no problem.  Is it exactly the same size as on the Mac ?

>  ... So perhaps there's a slight version difference
> with teTeX?

teTeX itself is not likely to be the cause of the problem.
If TeX sees 2 line-end characters, this is interpreted as
requesting a paragraph-break.

I'd expect your .log file to be quite large, with interesting
messages consistent with this kind of problem.

There are scripts on the mac-tex site to help overcome this kind
of problem.
Or you can use Alpha or BBedit to adjust the line-endings.
 

Hope this helps,

	Ross
> 
> - Cris
> 
> 
> -----------------------------------------------------
> Mac TeX info, resources, and news can be found at:
> <http://www.esm.psu.edu/mac-tex/>
> -----------------------------------------------------
> List archives can be found at:
> <http://www.esm.psu.edu/mac-tex/MacOSX-TeX-Digests/>
> Threaded list archives can be found at:
> <http://www.masda.vxu.se/~pku/MacOSX_TeX/>
> -----------------------------------------------------
> See message headers for list info.
> -----------------------------------------------------
> 


-----------------------------------------------------
Mac TeX info, resources, and news can be found at:
<http://www.esm.psu.edu/mac-tex/>
-----------------------------------------------------
List archives can be found at:
<http://www.esm.psu.edu/mac-tex/MacOSX-TeX-Digests/>
Threaded list archives can be found at:
<http://www.masda.vxu.se/~pku/MacOSX_TeX/>
-----------------------------------------------------
See message headers for list info.
-----------------------------------------------------




More information about the macostex-archives mailing list