Generated: January 16, 2003, 22:07:06 | Copyright © 2003 , Kurt Nørmark | ![]() |
If you are on Windows 2000 or XP you should consider the easy LAML installation on Windows. If you prefer, or if you need to, you can use the following general installation guide.
The LAML software can be used with an arbitrary R4RS Scheme interpreter. However, be aware that we use a few non-standard functions, which are described in the top level documentation file.In order to enjoy the LAML software we recommend that you integrate it with the Emacs text editor. (If you are not an Emacs user, you can use LAML from a command prompt via the laml command, or from a Scheme interpreter via the laml procedure). Using this integration you can process a file f.laml via a single editor command (or a single key stroke), giving you the translated file f.html. In addition we provide a number of very helpful Emacs Lisp commands and templates.
I currently use the LAML software in the following configurations:
Please notice that when you unzip the LAML zip file a laml directory is created for you. Thus, you do probably not want to make a laml directory yourself.
It is easy to setup the LAML system on Unix or a PC. After you have downloaded and unziped the LAML distribution zip file just follow these simple steps:
(load "laml-config.scm")By loading this file the procedure laml-config will be executed. This program checks your configuration, and it rewrites a number of files in the root of the laml directory, and in the LAML bin directory. It also provides a possibility to modify your Emacs init file ( .emacs ). If there are warnings, change the configuration file, and load laml-config.scm again. Be aware that the LAML configuration procedures uses the non-R4Rs functions file-exists?, directory-exists? and delete-file. MzScheme supports all of these. In Guile and SCM try (define directory-exists? file-exists?).
In order to try out your LAML installation I will recommend that you take a look at the examples in the examples directory (provided with the full distribution). Try, e.g., the simple pages from examples/examples/xhtml1.0-strict-validating/ first. Recall that when you process a file, say f.laml, LAML creates f.html , at least in the simple examples. Try processing the various files with laml extension in the example directories, and watch the results in your browser and on the corresponding html files. Use either the LAML Emacs interface ( C-o or C-x C-o ), the laml command from the command prompt or shell (not on NT4.0), or the laml function from your Scheme interpreter to process the LAML files (see details in the main index file ). You can visit the example pages (both in HTML and LAML) from the examples column of the table in the index page of the distribution. Using the examples as patterns, and of course the manuals provided with the distribution, it will be easy for you to create your own LAML pages. Enjoy!
Kurt Nørmark
normark@cs.auc.dk
http://www.cs.auc.dk/~normark/
Generated: January 16, 2003, 22:07:06