* README file for Allout-Vim
Allout files are a handy synoptic (or tree-like) representation of a
document. Such files were originally introduced as a GNU Emacs mode.
Vim offers tools and help for browsing or editing these Allout files.
This `README' file itself a simple example of the Allout file format,
which you may use for experimenting. (If you are currently looking at
the Web page, the Allout file has been already transformed into HTML
and the Allout topics are not visible.) The real documentation is
kept in file "vim/doc.txt", which you may browse or print. But note,
this text file is not an Allout file as it is intended for
the use of the Vim help system. Once the installation is completed
following the instructions below, and from within Vim, you may quickly
get back to the documentation through the command:
:help allout
.. On Windows or other non-Unix systems
You likeley have fetched a recent `.zip' archive from:
http://fp-etc.progiciels-bpi.ca/showfile.html?mode=archives
Choose the directory where you want the files installed. This is
normally one of the directories listed by VIM command:
:set runtimepath
Let's call it DIRECTORY. Create DIRECTORY if it does not exist and
unzip the distribution file you obtained into DIRECTORY. To make the
documentation available to VIM, execute the VIM command:
:helptags DIRECTORY/doc
replacing `DIRECTORY' in the command above, of course.
You have to manage in such a way that Python will successfully
import file "python/allout.py". One way is changing your
Python installation so it will look in that directory. See
your Python documentation to determine where the directory
`site-packages/' is, then add these lines to the file
".../site-packages/sitecustomize.py":
import sys
sys.path.append("DIRECTORY/python")
once again replacing `DIRECTORY' with the path of the directory
where you put the Allout-Vim files. Another way is to move the just
installed file "python/allout.py" into another directory on the
Python import search path. Pick a directory among those Python lists
when you execute the following at the Python interactive prompt:
import sys
print sys.path
A third way might be to preset `PYTHONPATH' in the environment so
this variable points to "DIRECTORY/python".
.. On Unix or Linux systems
On Linux or other Unix systems, you might follow the instructions
above, meant for non-Unix systems; they should work for Unix systems
as well. Or else, you may fetch a recent `.tgz' archive from:
http://fp-etc.progiciels-bpi.ca/showfile.html?mode=archives
You may either install this tool for your user account only, or for
all users in your system.
. : Personal installation
This tool may be installed for your user account only, and this
might be your only choice if you do not have super-user privileges.
Merely type `make install-user' from the unpacked `allout-vim'
distribution. Your `~/.vimrc' file should be modified, or created
if necessary, to contain the following lines:
if has('python')
python <