aboutsummaryrefslogtreecommitdiff
path: root/doc/guide.tex
diff options
context:
space:
mode:
authorAlexey Shchepin <alexey@process-one.net>2003-02-08 18:21:05 +0000
committerAlexey Shchepin <alexey@process-one.net>2003-02-08 18:21:05 +0000
commit4f7d0c50304a726948a4b53c79190751e4c6239d (patch)
tree4e818c56a99f8238eff4388ce4a209fe21ec889e /doc/guide.tex
parent*** empty log message *** (diff)
*** empty log message ***
SVN Revision: 65
Diffstat (limited to 'doc/guide.tex')
-rw-r--r--doc/guide.tex65
1 files changed, 56 insertions, 9 deletions
diff --git a/doc/guide.tex b/doc/guide.tex
index f9a3e5eb5..5cea92ba6 100644
--- a/doc/guide.tex
+++ b/doc/guide.tex
@@ -5,11 +5,14 @@
\usepackage{verbatim}
-\newcommand{\imgscale}{0.7}
-\newcommand{\insimg}[1]{
- \imgsrc{#1}{}
+\newcommand{\logoscale}{0.7}
+\newcommand{\imgscale}{0.58}
+\newcommand{\insimg}[1]{\insscaleimg{\imgscale}{#1}}
+
+\newcommand{\insscaleimg}[2]{
+ \imgsrc{#2}{}
\begin{latexonly}
- \scalebox{\imgscale}{\includegraphics{#1}}
+ \scalebox{#1}{\includegraphics{#2}}
\end{latexonly}
}
@@ -42,7 +45,7 @@
\maketitle{}
{\centering
- \insimg{logo.png}
+ \insscaleimg{\logoscale}{logo.png}
\par
}
\end{titlepage}
@@ -381,7 +384,12 @@ On disco query \ejabberd{} returns following items:
\item List of JIDs from route table.
\item List of disco-nodes described in following subsections.
\end{itemize}
-
+\begin{figure}[htbp]
+ \centering
+ \insimg{disco.png}
+ \caption{Tkabber Discovery window}
+ \label{fig:disco}
+\end{figure}
\subsubsection{Node \texttt{config}: Global Configuration}
@@ -394,7 +402,7 @@ this \ejabberd{} server. (See figure~\ref{fig:hostname}) (Currently will work
correctly only after restart)
\begin{figure}[htbp]
\centering
- [hostname editing window]
+ \insimg{confhostname.png}
\caption{Editing of hostname}
\label{fig:hostname}
\end{figure}
@@ -406,7 +414,7 @@ Via \ns{jabber:x:data} queries to this node possible to edit ACLs list. (See
figure~\ref{fig:acls})
\begin{figure}[htbp]
\centering
- [acls editing window]
+ \insimg{confacls.png}
\caption{Editing of ACLs}
\label{fig:acls}
\end{figure}
@@ -431,12 +439,27 @@ removed user is online, then he will be disconnected. Also user-related data
-\subsubsection{Node \texttt{all users}: List of Connected User}
+\subsubsection{Node \texttt{all users}: List of Registered User}
+
+\begin{figure}[htbp]
+ \centering
+ \insimg{discoallusers.png}
+ \caption{Discovery all users}
+ \label{fig:discoallusers}
+\end{figure}
+
\subsubsection{Node \texttt{outgoing s2s}: List of Outgoing S2S connections}
\subsubsection{Node \texttt{running nodes}: List of Running \ejabberd{} Nodes}
+\begin{figure}[htbp]
+ \centering
+ \insimg{discorunnodes.png}
+ \caption{Discovery running nodes}
+ \label{fig:discorunnodes}
+\end{figure}
+
\subsubsection{Node \texttt{stopped nodes}: List of Stopped Nodes}
@@ -505,6 +528,9 @@ that node, if it opened on this node, then it routed to process that serve this
connection, and if this connection not exists, then it opened and registered.
+
+\appendix{}
+
\section{Built-in Modules}
\label{sec:modules}
@@ -648,6 +674,27 @@ Options:
+\section{I18n/L10n}
+\label{sec:i18nl10n}
+
+Many modules supports \texttt{xml:lang} attribute inside IQ queries. E.\,g.\
+on figure~\ref{fig:discorus} (compare with figure~\ref{fig:disco}) showed reply
+on following query:
+\begin{verbatim}
+<iq id='5'
+ to='e.localhost'
+ type='get'>
+ <query xmlns='http://jabber.org/protocol/disco#items'
+ xml:lang='ru'/>
+</iq>
+\end{verbatim}
+
+\begin{figure}[htbp]
+ \centering
+ \insimg{discorus.png}
+ \caption{Discovery result when \texttt{xml:lang='ru'}}
+ \label{fig:discorus}
+\end{figure}
\end{document}