Installation guide
How to install the LENO system on your own computer
The LENO system can be installed on both Windos and Linux. Depending on whether the LENO system is installed on Windows or Linux a number of software packages have to be installed. The table below provides links to the software for the two platforms; a detailled installation guide is given below the table. The number in the left column of the table refers to the number of the item below in which the installation process is described.
Installation guide for Windows
- 1. The newest version of Emacs for PCs (at the moment version 21.2)
- Click on the link to install Emacs.
- Choose "run this program from its current location" and follow the instructions.
- The software is automatically opened in winzip.
- Choose "Extract" from the "Actions" menu.
- The files can be extracted to a folder of your choise.
- An Emacs texteditor is opened when clicking runemacs which is located in the folder emacs-21.2\bin relative to the folder in which the files were extracted.
- 2. The newest version of PLT Scheme for PCs (at the moment version 202)
- Click on the link to download PLT Scheme.
- Select Windows as platform, select the newest version, and press "Download".
- Choose the geographically nearest download site.
- Choose "run this program from its current location".
- The software is automatically opened in winzip.
- Choose "Extract" from the "Actions" menu. We strongly recommend to extract the file into the folder C:\Programs\plt
since it will allow for a smooth and automatic installation process. Othervise a number of manual steps have to be performed. If the folder Programs do not exist we suggest to create it before the PLT Scheme software is extracted. Please note that when you extract the files a folder named plt is automatically created for you. Thus you do not have to create a sub-folder of the folder Programs yourself. If PLT Scheme is extracted and installed in another folder please read the note in item 4 below carefully.
- Double click on the mzx icon in C:\Programs\ (or in the folder where you extracted the files into if you did not followed the recommendations above). The software is automatically opened in winzip. Choose "Extract" from the "Actions" menu. The PLT Scheme is now installed.
- 3. The newest version of the LAML software (at the moment version 19.0)
- Click on the link to install the LAML software. You are required to fill out a registration form before access is given to the software.
- We recommend to choose the full edition of the newest version of the software. If you choose to download the slim edition you will not get the documentation (including the LENO tutorial). Instead you have to access the documentation from an Internet browser.
- Click on the link to the edition and version of the LAML software you have chosen and choose "run this program from its current location".
- The software is automatically opened in winzip.
- Choose "Extract" from the "Actions" menu.
- We recommend to extract the software into the folder C:\Programs If the folder Programs do not exist we suggest to create it before the LAML software is extracted. Please note that when you extract the files a folder named laml is automatically created for you. Thus you do not have to create a sub-folder of the folder Programs yourself.
- If the LAML software is installed in another folder please read the note in item 4 below carefully.
- 4. The installation process is completed by running a program that effectuates the configuration process.
- Note: If you have followed the recommendations above and installed both PTL Scheme and the LAML software in the suggested folder Programs you finish the installation process by double clicking make_default_laml_windows_installation which is located in C:\Programs\laml\bin\ and the installation process is completed. You can skip the rest of the items. Otherwise, you have to perform the following steps:
- Edit the file laml\laml-config\configuration (relative to the folder you installed the LAML software in (item 3 above)) using your favorite text editor. Just follow the directions in the file.
- Start the Scheme system in the laml-config folder (relative to the folder you installed the LAML software in (item 3 above)).
- Open a DOS prompt.
- Change folder with the command cd .. followed by the command cd LAMLPATH\laml-config where LAMLPATH is the path to the folder where you installed the LAML software (item 3 above)).
- Start your Scheme system with the command PLTPATH\MzScheme where PLTPATH is the path to the folder where you installed PLT Scheme (item 2 above)).
- Load the file laml-config.scm using the command (load "laml-config.scm").
Installation guide for Linux
- 1. We assume that GNU Emacs is alraedy installed on the Linux machine.
- 2. PLT Scheme version 202 for Linux
- Click on the link to download PLT Scheme.
- Select Linux as platform, select the newest version, and press "Download".
- Choose the geographically nearest download site.
- Then follow the instructions to install the PLT Scheme.
- Remember the path to the installation for later use. In the following we will denote the path plt_path.
- 3. LAML software
- Click on the link to install the LAML software. You are required to fill out a registration form before access is given to the software.
- We recommend to choose the full edition of the newest version of the software. If you choose to download the slim edition you will not get the documentation (including the LENO tutorial). Instead you have to access the documentation from an Internet browser.
- Unzip the file containing the LAML software. Please notice that when you extract the files a directory is automatically created for you. Thus you do not have to create a sub-directory yourself.
- Remember the path to the installation for later use. In the following we will denote the path laml_path.
- 4. The installation process is completed by running a program that effectuates the configuration process.
- A few modifications have to be made in the file laml_path/laml-config/configuration reflecting the paths to the installations of PLT Scheme and the LAML software. A <= Edit here marks the places that have to be changed. The file gives detailled directions for the changes that have to be made. Just follow the directions in the file.
- Start the Scheme system in the laml_path/laml-config directory.
- Start your Scheme system with the command plt_path/MzScheme.
- Load the file laml-config.scm using the command (load "laml-config.scm").
Try out the installation with a small example
In order to try out your installation of the LENO system we recommend you to try out this simple example my_first_LENO_example.leno
- Save the entire directory MyFirstExample containing the file my_first_LENO_example.leno on your own machine in a directory of your choise.
- Open the file my_first_LENO_example.leno in Emacs.
- Choose "Open File" from the "Files" menu of Emacs.
- Then write the name of the file (relative to the directory you chose to save it in)
- Press "Enter".
- Process the file using the LENO system.
- Choose "Process asynchronously" from the "Laml" menu of Emacs.
- A file my_first_LENO_example.html is generated in the same directory as you chose to save the file my_first_LENO_example.leno in. The file my_first_LENO_example.html can be viewed in any browser, e.g. Microsoft Internet Explorer or Mozilla.
- Please notice that the generated HTML file is a file that is intended to be used by the author of the teaching material only. The real product - the web based teaching material - is contained in a generated sub-folder named html.
Other examples can be found in The LENO Tutorial.
Software for advanced use of the LENO system
Please note that for more advanced use of graphics and sound tracks in teaching material produced using the LENO system is is necessary to install additional software. The software can be found and installed via the table below. It is not necessary to install this software for basic use of the LENO system.
For setup of the RealPlayer see for instance Aalborg University's video pages.
Genereret: 13. Januar 2003, 15:18:05