.  Installing MathLie

The following instructions serve to install MathLie a program based on the former program Lie by G. Baumann [1992].

C.  Windows 95/98

C.1.1  Automatic Installation

The following input installs the MathLie packages and documentation.

\(Clear[installMathLiePackages]; 

    installMathLiePackages[] := 
      Block[
		{location1, cd, source}, 
        
location1 = 
          ToFileName[{$TopDirectory, "AddOns", "Applications", 
              "MathLie"}]; 
        
cd\  = 
          InputString[
            "Where is the CD located? Use a string as input value. E.g.- D:"]; 
source = ToFileName[{cd}, "MathLie"]; 
        
If[
			
          CopyDirectory[source, location1] === $Failed, 
			
          Print["Installation failed"], 
          
If[
				$VersionNumber < 4, 
            
Print["Installation successful"], 
            
Print[
              "Installation successful, but packages may not be compatible with your version of Mathematica."]
			]
		]
	]; 

    installMathLiePackages[]\)

1. When the above input is finished evaluating, go to the Help menu and select Rebuild Help Index.

2. MathLie uses the global variable $MathLiePath to locate different files. Set this variable to the path where you have located the files. The following input sets the $MathLiePath variable to the correct path.

$MathLiePath = 
      ToFileName[{$TopDirectory, "AddOns", "Applications", 
          "MathLie"}]

3. Now add the $MathLiePath variable to the $Path variable.

AppendTo[$Path, $MathLiePath]

To automatically evaluate these two lines when Mathematica launches, add them to the kernel's init.m file.

You are now ready to use MathLie and view the Help information.

C.1.2  Manual Installation

1. In the Windows Explorer, navigate to the $TopDirectory\AddOns\Applications folder. You can get the location of $TopDirectory by evaluating $TopDirectory in Mathematica. For example.

$TopDirectory

2. Drag the MathLie folder located on the CD into the $TopDirectory\AddOns\Applications folder.

3. Go to the Help menu and select Rebuild Help Index.

4. MathLie uses the global variable $MathLiePath to locate different files. Set this variable to the path where you have located the files. The following input sets the $MathLiePath variable to the correct path.

$MathLiePath = 
      ToFileName[{$TopDirectory, "AddOns", "Applications", 
          "MathLie"}]

5. Now add the $MathLiePath variable to the $Path variable.

AppendTo[$Path, $MathLiePath]

To automatically evaluate these two lines when Mathematica launches, add them to the kernel's init.m file.

You are now ready to use MathLie and view the Help information.

C.2  Mac

C.2.1  Automatic Installation

The following lines install the package and the documentation of MathLie. The files are located in the AddOns application directories.

\(Clear[installMathLiePackages]; 

    installMathLiePackages[] := 
      Block[
		{location1, source}, 
		
        location1 = 
          ToFileName[{$TopDirectory, "AddOns", "Applications", 
              "MathLie"}]; 
		
        source = ToFileName[{$RootDirectory, "sadem"}, "MathLie"]; 

        		If[CopyDirectory[source, location1] === $Failed, 
			
          Print["Installation failed"], 
			
          If[$VersionNumber < 4, 
				
            Print["Installation successful"], 
				
            Print["Installation successful, but packages may not be compatible with your version of Mathematica"]
			]
		]
	]; 

    installMathLiePackages[]\)

1. When the above input is finished evaluating, go to the Help menu and select Rebuild Help Index.

2. MathLie uses the global variable $MathLiePath to locate different files. Set this variable to the path where you have located the files. The following input sets the $MathLiePath variable to the correct path.

$MathLiePath = 
      ToFileName[{$TopDirectory, "AddOns", "Applications", 
          "MathLie"}]

3. Now add the $MathLiePath variable to the $Path variable.

AppendTo[$Path, $MathLiePath]

To automatically evaluate these two lines when Mathematica launches, add them to the kernel's init.m file.

You are now ready to use MathLie and view the Help information.

C.2.2  Manual Installation

1. Navigate to the $TopDirectory:AddOns:Applications folder. You can get the location of $TopDirectory by evaluating $TopDirectory in Mathematica. For example.

$TopDirectory

2. Drag the MathLie folder located on the CD into the $TopDirectory:AddOns:Applications folder.

3. Go to the Help menu and select Rebuild Help Index.

4. MathLie uses the global variable $MathLiePath to locate different files. Set this variable to the path where you have located the files. The following input sets the $MathLiePath variable to the correct path.

$MathLiePath = 
      ToFileName[{$TopDirectory, "AddOns", "Applications", 
          "MathLie"}]

5. Now add the $MathLiePath variable to the $Path variable.

AppendTo[$Path, $MathLiePath]

To automatically evaluate these two lines when Mathematica launches, add them to the kernel's init.m file.

You are now ready to use MathLie and view the Help information.

C.3  UNIX

C.3.1  Automatic Installation

The following lines install the package and the documentation of MathLie. The files are located in the AddOns application directories.

Clear[installMathLiePackages]\(installMathLiePackages[] := 
      Block[{location1, source}, 
        
location1 = 
          ToFileName[{$PreferencesDirectory, "AddOns", 
              "Applications", "MathLie"}]; 
        cd = Input[
            "Where is the CD located? Use a string as input value;   eg. cdrom."]; 
        
source = 
          ToFileName[{$RootDirectory, cd, "MathLie"}]; 
        
source = 
          ToFileName[{$RootDirectory, "sadem"}, "MathLie"]; 
		
        If[
			CopyDirectory[source, location1] === $Failed, 
			
          Print["Installation failed"], 
          
If[
				$VersionNumber < 4, 
            
Print["Installation successful"], 
            
Print[
              "Installation successful, but packages may not be compatible with your version of Mathematica."]
			]
		]
	]\)installMathLiePackages[]

1. When the above input is finished evaluating, go to the Help menu and select Rebuild Help Index.

2. MathLie uses the global variable $MathLiePath to locate different files. Set this variable to the path where you have located the files. The following input sets the $MathLiePath variable to the correct path.

$MathLiePath  = 
      ToFileName[{$PreferencesDirectory, "AddOns", "Applications", 
          "MathLie"}]

3. Now add the $MathLiePath variable to the $Path variable.

AppendTo[$Path, $MathLiePath]

To automatically evaluate these two lines when Mathematica launches, add them to the kernel's init.m file.

You are now ready to use MathLie and view the Help information.

C.3.2  Manual Installation

1. Create the directory "MathLie" in your homedir/.Mathematica/3.0/AddOns/Applications directory. You'll   get the location of your home directory by

$PreferencesDirectory

2. Copy the MathLie folder located on the CD into the $PreferencesDirectory/AddOns/Applications folder.

3. Go to the Help menu and select Rebuild Help Index.

4. MathLie uses the global variable $MathLiePath to locate different files. Set this variable to the path where you have located the files. The following input sets the $MathLiePath variable to the correct path.

$MathLiePath  = 
      ToFileName[{$PreferencesDirectory, "AddOns", "Applications", 
          "MathLie"}]

5. Now add the $MathLiePath variable to the $Path variable.

AppendTo[$Path, $MathLiePath]

To automatically evaluate these two lines when Mathematica launches, add them to the kernel's init.m file.

You are now ready to use MathLie and view the Help information.

Next notebook Titelpage

Next notebook Bibliography