diff --git a/ChangeLog b/ChangeLog index 2fb7b146a..d6df32eca 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,7 +2,8 @@ * doc/guide.tex: Permanent reference URL for sections (EJAB-651). Changes in CSS: verbatim text is indented and has grey background; - descriptions are indented; table borders are softer. + descriptions are indented; table borders are softer. Fix + indentation of verbatim text. 2008-06-08 Badlop diff --git a/doc/guide.tex b/doc/guide.tex index bd9915804..903171e2f 100644 --- a/doc/guide.tex +++ b/doc/guide.tex @@ -209,8 +209,8 @@ server and does not require any extra dependencies. In *nix systems, remember to set executable the binary installer before starting it. For example: \begin{verbatim} - chmod +x ejabberd-2.0.0_1-linux-x86-installer.bin - ./ejabberd-2.0.0_1-linux-x86-installer.bin +chmod +x ejabberd-2.0.0_1-linux-x86-installer.bin +./ejabberd-2.0.0_1-linux-x86-installer.bin \end{verbatim} \ejabberd{} can be started manually at any time, @@ -291,7 +291,7 @@ Released versions of \ejabberd{} are available in the Process-one \ejabberd{} do \ind{Subversion repository} Alternatively, the latest development version can be retrieved from the Subversion repository using this command: \begin{verbatim} - svn co http://svn.process-one.net/ejabberd/trunk ejabberd +svn co http://svn.process-one.net/ejabberd/trunk ejabberd \end{verbatim} @@ -300,14 +300,14 @@ Alternatively, the latest development version can be retrieved from the Subversi To compile \ejabberd{} execute the commands: \begin{verbatim} - ./configure - make +./configure +make \end{verbatim} The build configuration script provides several parameters. To get the full list run the command: \begin{verbatim} - ./configure --help +./configure --help \end{verbatim} Some options that you may be interested in modifying: @@ -337,7 +337,7 @@ Some options that you may be interested in modifying: To install \ejabberd{} in the destination directories, run the command: \begin{verbatim} - make install +make install \end{verbatim} Note that you may need to have administrative privileges in the system. @@ -376,13 +376,13 @@ You can use the \term{ejabberdctl} command line administration script to start a Usage example: \begin{verbatim} -$ ejabberdctl start +ejabberdctl start -$ ejabberdctl status +ejabberdctl status Node ejabberd@localhost is started. Status: started ejabberd is running -$ ejabberdctl stop +ejabberdctl stop \end{verbatim} Please refer to the section~\ref{ejabberdctl} for details about \term{ejabberdctl}, and configurable options to fine tune the Erlang runtime system. @@ -392,7 +392,7 @@ and configurable options to fine tune the Erlang runtime system. The command to compile \ejabberd{} in BSD systems is: \begin{verbatim} - gmake +gmake \end{verbatim} @@ -467,15 +467,15 @@ to enter the \ejabberd{} Web Admin: There are two ways to register a Jabber account: \begin{enumerate} \item Using \term{ejabberdctl}\ind{ejabberdctl} (see section~\ref{ejabberdctl}): - \begin{verbatim} -% ejabberdctl register admin1 example.org FgT5bk3 +\begin{verbatim} +ejabberdctl register admin1 example.org FgT5bk3 \end{verbatim} \item Using a Jabber client and In-Band Registration (see section~\ref{modregister}). \end{enumerate} \item Edit the \ejabberd{} configuration file to give administration rights to the Jabber account you created: - \begin{verbatim} - {acl, admins, {user, "admin1", "example.org"}}. - {access, configure, [{allow, admins}]}. +\begin{verbatim} +{acl, admins, {user, "admin1", "example.org"}}. +{access, configure, [{allow, admins}]}. \end{verbatim} You can grant administrative privileges to many Jabber accounts, and also to accounts in other Jabber servers. @@ -525,9 +525,9 @@ host name(s) stored in the database will be used. You can override the old values stored in the database by adding next lines to the configuration file: \begin{verbatim} - override_global. - override_local. - override_acls. +override_global. +override_local. +override_acls. \end{verbatim} With these lines the old global options (shared between all \ejabberd{} nodes in a cluster), local options (which are specific for this particular \ejabberd{} node) @@ -542,17 +542,17 @@ The option \option{hosts} defines a list containing one or more domains that Examples: \begin{itemize} \item Serving one domain: - \begin{verbatim} - {hosts, ["example.org"]}. +\begin{verbatim} +{hosts, ["example.org"]}. \end{verbatim} \item Serving one domain, and backwards compatible with older \ejabberd{} versions: - \begin{verbatim} - {host, "example.org"}. +\begin{verbatim} +{host, "example.org"}. \end{verbatim} \item Serving two domains: \begin{verbatim} - {hosts, ["example.net", "example.com"]}. +{hosts, ["example.net", "example.com"]}. \end{verbatim} \end{itemize} @@ -563,7 +563,7 @@ Options can be defined separately for every virtual host using the \term{host\_config} option.\ind{options!host\_config} It has the following syntax: \begin{verbatim} - {host_config, , [