[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
To install PSGML you first need to uncompress and unpack the source
archive. This is done with the gunzip
and tar
commands.
gunzip psgml-1.2.0.tar.gz; tar xf psgml-1.2.0.tar |
This should create a subdirectory to the current directory with the
source code. This directory contains a configure
command (see the
file INSTALL for more information about configure). You can use the
configure
command to configure the package or you can load the
file ‘psgml-maint’ and execute the psgml-compile-files
command.
Place the ‘*.el’ and the ‘*.elc’ files in a directory where
Emacs can find it (i.e. one of the directories in the load-path
variable, you can add a directory to this variable in your
‘.emacs’.)
If you use the configure
approach, compile psgml with make
and the you can run make install
to install it in the system
library ‘site-lisp’. The location of ‘site-lisp’ is figured
out by configure
, but you can change it in the ‘Makefile’.
Put the following line in your .emacs:
(autoload 'sgml-mode "psgml" "Major mode to edit SGML files." t) (autoload 'xml-mode "psgml" "Major mode to edit XML files." t) |
You may also want to set up search paths for external entities, See section The Entity Manager.
The ‘psgml.info’ is the documentation for PSGML in the info format. You can read this with the Emacs command C-u C-h i. You can also install the file in your systems info directory and edit the ‘dir’ file to include ‘psgml.info’ in the menu.
The info file ‘psgml.info’ is created from the texinfo file ‘psgml.texi’. The texinfo file can also be used to create a hard copy of the documentation. To do this you need the TeX program and a copy of ‘texinfo.tex’.
[ << ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated by Build Daemon user on June, 12 2009 using texi2html 1.78.