loading a mathematica file along with opening a Notebook
- To: mathgroup@smc.vnet.net
- Subject: [mg10509] loading a mathematica file along with opening a Notebook
- From: Bob Young <ryoung@SciComp.com>
- Date: Tue, 20 Jan 1998 02:22:57 -0500
Linux / X environment Mathematica 3.0.1.1 How can you automatically load a Mathematica file from the same directory as a notebook when the notebook is opened and evaluated? The directory that the notebook is in is not necessarily your current working directory or in $Path. I want some Initialization Cells to do this loading, without the person opening the notebook having to do anything special. But I can't seem to find a way to ask Mathematica what directory a notebook was found in? It seems like this should be easy? Thanks for any pointers, Bob Young SciComp Inc 5806 Mesa, Suite 250 Austin, TX 78731 512-451-1434 512-451-1622 (FAX) e-mail: ryoung@SciComp.com http://www.sig.net/~scicomp