Re: more info: Open notebooks created in Window with Macintosh computers
- To: mathgroup at smc.vnet.net
- Subject: [mg37694] Re: [mg37670] more info: Open notebooks created in Window with Macintosh computers
- From: Andrzej Kozlowski <andrzej at tuins.ac.jp>
- Date: Sat, 9 Nov 2002 00:28:44 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
I think the reason for what you have observed is this. Classic MacOS (before MacOS X) natively does not use extensions at all. Instead of extensions it uses Mac specific information called "file type"and "file creator". Normally Mathematica for classic Mac OS will not open a file unless it has a the type "TEXT" and the creator "OMEG". However, classic MacOS includes a control panel called "File Exchange", whose purpose is to allow Mac users open to open files created on PC's. In the File Exchange control panel you can assign which file types and creators should correspond to which extensions. I think the problem you are describing arises because the notebook you are sending by e-mail is encoded and the Mac fails to identify it as a text file. So changing the extension to .txt and then to .nb probably makes it possible for it to get both the file type and the file creator right. When you transfer the notebook using a Zip there is no encoding so the problem does not arise. I think your problem can probably be solved by suitably changing the settings in File Exchange or the settings in your mail program for encoding attachments or perhaps both. However, I have stopped classic MacOS quite a long time ago and no longer have Mathematica for classic MacOS installed, so it would be a lot of trouble to try to investigate this problem more precisely. In any case it sounds like you may have already found a satisfactory enough solution. These problems do not arise on Mac OS X because it uses extensions (as well as by creators and types, for compatibility with classic Mac OS). Andrzej Kozlowski Yokohama, Japan http://www.mimuw.edu.pl/~akoz/ http://platon.c.u-tokyo.ac.jp/andrzej/ On Friday, November 8, 2002, at 04:14 PM, Doris S. wrote: > Hi there! > > After receiving some emails I realized that I didn¥t specify the > problem exactly. > > I tried to open the notebook files on a computer with MacOS 9.2 and > with another one mounted MacOS 8.6. I started Mathematica and using > the file-open-command I tried to open my notebook file. But it didn¥t > show off in the file selection. When I renamed the file extension in > the Explorer (as a typically Windows user I don¥t have any idea > whether this is called differently on MacOS :) ) to myFile.txt and > again into myFile.nb it suddenly appeared in the file-open selection > of Mathematica. > Furthermore I used a zip drive now to store the notebooks on the Mac > which did solve the problem. The files could be opened in Mathematica. > It seems that this is a problem of how to send the attachment or how > to store the attached files. > > Quite strange problem, but at least solved by using a zip drive. > > Doris > > >