next up previous contents index
Next: Testing NCGB Up: NCAlgebra and NCGB Installation Previous: When your friend installed   Contents   Index


Informing TEX about notebook.sty

Read this only if you have trouble with Mma's TeX conversion of notebooks. This has nothing to do with NCAlgebra, we just include it as a convenience.

Most special NCAlgebra and most special NCGB TEX definitions we use are in the file NCTeXForm.m. also TeXUtilities.m; see the section on TeX.

There is one place in the Mma's TeX setting in which explicit facts about the operating system are used. ``Elusive" file notebook.sty must be in your TeX path. Here is how you find notebook.sty and get it in your path.

(1) Type in math, then type $Path and determine where your system administrator installed your copy of mathematica. When I did this, I got the output as shown below and I determined that mathematica was installed in the directory /opt/mathematica

{euler 190 :/home/ncalg/NC/NCAlgebra} math 
Mathematica 3.0 for Solaris
Copyright 1988-96 Wolfram Research, Inc.
 -- Terminal graphics initialized -- 

In[1]:= $Path

Out[1]= {/home/ncalg/.Mathematica/3.0/Kernel, ., /home/ncalg, 
 
>    /opt/mathematica/AddOns/StandardPackages, 
>    /opt/mathematica/AddOns/StandardPackages/StartUp, 
>    /opt/mathematica/AddOns/Applications, 
>    /opt/mathematica/AddOns/ExtraPackages, 
>    /opt/mathematica/SystemFiles/Graphics/Packages, /home/osiris/ncalg/NCDir}

(2) Now move into that directory. I typed cd /opt/mathematica.
(3) Now find the file notebook.sty. I did this by typing find . -name "notebook.sty" -print When I did this I got ./SystemFiles/IncludeFiles/notebook.sty
(4) Now I changed my .cshrc file to add an entry to my TEXINPUTS UNIX environment variable. My .cshrc file has the line

 setenv TEXINPUTS
 ".:/opt/mathematica/SystemFiles/IncludeFiles:/opt/tex/lib/texmf//"
in it. You may want to discuss this with your system administrator.

To run DoTeX if you really want to; UNIX only

DoTeX is old. We include this instruction for old users who cannot part with it. The file called NCTeX.process should be transfered to the bin directory before you use our TeX setting command DoTeX.


BEGIN OUT


next up previous contents index
Next: Testing NCGB Up: NCAlgebra and NCGB Installation Previous: When your friend installed   Contents   Index
NCAlgebra Project 2002-09-09