Spin`Algebra

Spin`Algebra — Magnetic Resonance with Mathematica
 

SelectionBrowser Installation

About

SelectionBrowser provides a referring tool to work with one or several notebooks simultaneously. One can add reference to any part of the cell and later can return by its reference button. The package uses the undocumented function of Mathematica CellInformation and does not need to add any changes into the editing notebook! All reference information is stored with reference buttons in the palette SelectionBrowser. To launch the palette execute SelectionBrowser[].

© Yuri E. Kandrashkin, 2006

Installation

Find the installation directory

Evaluate the following cell to get user base directory on your system:

[Graphics:img/installation_1.gif]

This gives the folders where the package can be placed.

Copy files to a selected directory

If previous version of SelectionBrowser was installed remove its folder. Unpack and copy the directory SelectionBrowser into Applications subdirectory of $BaseDirectory or $UserBaseDirectory.
This allows loading the package through its context name or short path:

[Graphics:img/installation_2.gif]

Rebuild Help Index

Execute the menu command Help > Rebuild Help Index

This adds SelectionBrowser help file in Help Browser.

Add menu and keyboard shortcut command

OptionsExplorer needs menu command to be added in file MenuSetup.tr. To get path to this file evaluate next cell (for OS Windows):

[Graphics:img/installation_3.gif]

Create the subdirectories in the same order in your base directory and copy the file MenuSetup.tr there. Insert the following lines after the Item["Make Inde&x...",...]:

     ,
    Delimiter,
    Item["Selection &Browser", KernelExecute[ToExpression["SelectionBrowser[]"]],
     MenuKey["f",Modifiers->{Control,Command}], MenuEvaluator->Automatic]

and restart Mathematica.  

This adds new menu item Input > Selection Browser and sets keyboard shortcut [ALT]-[CTRL]-[f] (for Windows). The command opens SelectionBrowser dialog window.

Make autoloading package

Save in the directory Kernel of your $BaseDirectory or $UserBaseDirectory the file init.m with the following line (or add this line if the file init.m already exists):

    Needs["SelectionBrowser`"]

This allows the package to load with the Mathematica kernel.



   Last modified: July 24, 2006