[texhax] Migrating from Windows to Mac

Tom Backer Johnsen backer at psych.uib.no
Mon Dec 14 14:53:22 CET 2009


Oleg Katsitadze wrote:
> Hi Tom,
>
> On Sun, 13 Dec 2009 20:34:31 +0100, Tom Backer Johnsen <backer at psych.uib.no> said:
>   
>> I am in the process of migrating from Windows XP to a MacBook Pro
>> (Snow Leopard), and have simply copied a number of files from the
>> Windows XP machine to the Mac Via an external hard disk and a memory
>> stick. I then find that files which compile (to PDF) perfectly OK on
>> the Windows machine give me an error message on the very first line,
>> the \documentclass one gives me an error message: undefined control
>> sequence.
>>     
>
> This is probably a line endings problem.  There must be a program on
> your system which converts the line endings, try fromdos, dos2unix,
> flip, toix.
>
> HTH,
> Oleg
>   
Yes, it is some conversion issue.  If I enter a trivial document using 
the keyboard, it compiles all right, but it does not work with files 
coming from the Windows machine. 

Tom


More information about the texhax mailing list