[Tkabber-dev] r1592 - in trunk/tkabber: . doc

tkabber-svn at jabber.ru tkabber-svn at jabber.ru
Sat Nov 1 11:26:27 MSK 2008


Author: sergei
Date: 2008-11-01 11:26:27 +0300 (Sat, 01 Nov 2008)
New Revision: 1592

Modified:
   trunk/tkabber/ChangeLog
   trunk/tkabber/Makefile
   trunk/tkabber/README
   trunk/tkabber/doc/tkabber.html
   trunk/tkabber/doc/tkabber.xml
Log:
	* Makefile: Added rules to make documentation (tkabber.html and
	  README) from its source.

	* doc/tkabber.html, doc/tkabber.xml, README: Changed notes about tDOM
	  parser usage (it is default if it is installed currently).


Modified: trunk/tkabber/ChangeLog
===================================================================
--- trunk/tkabber/ChangeLog	2008-10-29 18:56:19 UTC (rev 1591)
+++ trunk/tkabber/ChangeLog	2008-11-01 08:26:27 UTC (rev 1592)
@@ -1,3 +1,11 @@
+2008-11-01  Sergei Golovan  <sgolovan at nes.ru>
+
+	* Makefile: Added rules to make documentation (tkabber.html and
+	  README) from its source.
+
+	* doc/tkabber.html, doc/tkabber.xml, README: Changed notes about tDOM
+	  parser usage (it is default if it is installed currently).
+
 2008-10-29  Sergei Golovan  <sgolovan at nes.ru>
 
 	* login.tcl, presence.tcl: Fixed resetting user status if all Tkabber

Modified: trunk/tkabber/Makefile
===================================================================
--- trunk/tkabber/Makefile	2008-10-29 18:56:19 UTC (rev 1591)
+++ trunk/tkabber/Makefile	2008-11-01 08:26:27 UTC (rev 1592)
@@ -15,6 +15,17 @@
 	  tclxmpp   \
 	  trans
 
+all: doc
+
+doc: README doc/tkabber.html
+
+README: doc/tkabber.xml
+	(cd doc ; DISPLAY= xml2rfc tkabber.xml tkabber.txt)
+	mv doc/tkabber.txt README
+
+doc/tkabber.html: doc/tkabber.xml
+	(cd doc ; DISPLAY= xml2rfc tkabber.xml tkabber.html)
+
 install: install-bin install-doc install-examples
 
 install-bin:
@@ -25,7 +36,7 @@
 		>$(DESTDIR)/$(BINDIR)/tkabber
 	chmod 755 $(DESTDIR)/$(BINDIR)/tkabber
 
-install-doc:
+install-doc: doc
 	mkdir -p $(DESTDIR)/$(DOCDIR)
 	cp AUTHORS COPYING ChangeLog README doc/tkabber.html $(DESTDIR)/$(DOCDIR)
 
@@ -33,4 +44,4 @@
 	mkdir -p $(DESTDIR)/$(DOCDIR)
 	cp -r examples $(DESTDIR)/$(DOCDIR)
 
-.PHONY: install install-bin install-doc install-examples
+.PHONY: all doc install install-bin install-doc install-examples

Modified: trunk/tkabber/README
===================================================================
--- trunk/tkabber/README	2008-10-29 18:56:19 UTC (rev 1591)
+++ trunk/tkabber/README	2008-11-01 08:26:27 UTC (rev 1592)
@@ -17,11 +17,7 @@
                              Tkabber 0.11.1
 
 
-Abstract
 
-   _Tkabber_ is an open source Jabber client, written in _Tcl/Tk_.  This
-   memo describes the installation, configuration, and extension of
-   _Tkabber_.
 
 
 
@@ -52,11 +48,22 @@
 
 
 
+
+
+
+
 Shchepin, et al.                                                [Page 1]
 
                              Tkabber 0.11.1                    June 2008
 
 
+Abstract
+
+   _Tkabber_ is an open source Jabber client, written in _Tcl/Tk_.  This
+   memo describes the installation, configuration, and extension of
+   _Tkabber_.
+
+
 Table of Contents
 
    1.  Features . . . . . . . . . . . . . . . . . . . . . . . . . . .  4
@@ -70,41 +77,34 @@
        4.1.4.  Resources to control appearance of balloon windows . . 14
        4.1.5.  Support for external XML parser  . . . . . . . . . . . 14
      4.2.  User interface . . . . . . . . . . . . . . . . . . . . . . 14
-       4.2.1.  System tray icon mouse gestures  . . . . . . . . . . . 15
+       4.2.1.  System tray icon mouse gestures  . . . . . . . . . . . 14
        4.2.2.  New tab management widget  . . . . . . . . . . . . . . 15
        4.2.3.  Window splitters . . . . . . . . . . . . . . . . . . . 15
    5.  Upgrading from version 0.9.9 . . . . . . . . . . . . . . . . . 16
    6.  Configuration  . . . . . . . . . . . . . . . . . . . . . . . . 17
      6.1.  Pre-load . . . . . . . . . . . . . . . . . . . . . . . . . 19
-       6.1.1.  Tabbed Interface . . . . . . . . . . . . . . . . . . . 20
+       6.1.1.  Tabbed Interface . . . . . . . . . . . . . . . . . . . 19
        6.1.2.  Fonts and colors . . . . . . . . . . . . . . . . . . . 20
        6.1.3.  Cryptography by default  . . . . . . . . . . . . . . . 22
-       6.1.4.  Using of external XML parser from tDOM . . . . . . . . 22
-       6.1.5.  Debugging Output . . . . . . . . . . . . . . . . . . . 22
-       6.1.6.  Splash window  . . . . . . . . . . . . . . . . . . . . 23
-       6.1.7.  I18n/L10n  . . . . . . . . . . . . . . . . . . . . . . 23
-       6.1.8.  Searching  . . . . . . . . . . . . . . . . . . . . . . 23
-     6.2.  Post-load  . . . . . . . . . . . . . . . . . . . . . . . . 24
+       6.1.4.  Debugging Output . . . . . . . . . . . . . . . . . . . 22
+       6.1.5.  Splash window  . . . . . . . . . . . . . . . . . . . . 22
+       6.1.6.  I18n/L10n  . . . . . . . . . . . . . . . . . . . . . . 23
+       6.1.7.  Searching  . . . . . . . . . . . . . . . . . . . . . . 23
+     6.2.  Post-load  . . . . . . . . . . . . . . . . . . . . . . . . 23
        6.2.1.  Look-and-Feel  . . . . . . . . . . . . . . . . . . . . 27
        6.2.2.  The Autoaway Module  . . . . . . . . . . . . . . . . . 28
-       6.2.3.  The Avatar Module  . . . . . . . . . . . . . . . . . . 29
-       6.2.4.  The Chat Module  . . . . . . . . . . . . . . . . . . . 29
+       6.2.3.  The Avatar Module  . . . . . . . . . . . . . . . . . . 28
+       6.2.4.  The Chat Module  . . . . . . . . . . . . . . . . . . . 28
        6.2.5.  The Clientinfo Module  . . . . . . . . . . . . . . . . 29
        6.2.6.  The Conferenceinfo Module  . . . . . . . . . . . . . . 29
-       6.2.7.  The Cryptographic Module . . . . . . . . . . . . . . . 30
-       6.2.8.  The Emoticons Module . . . . . . . . . . . . . . . . . 30
+       6.2.7.  The Cryptographic Module . . . . . . . . . . . . . . . 29
+       6.2.8.  The Emoticons Module . . . . . . . . . . . . . . . . . 29
        6.2.9.  The File Transfer Module . . . . . . . . . . . . . . . 30
-       6.2.10. The Groupchat Module . . . . . . . . . . . . . . . . . 31
+       6.2.10. The Groupchat Module . . . . . . . . . . . . . . . . . 30
        6.2.11. The Ispell Module  . . . . . . . . . . . . . . . . . . 31
-       6.2.12. The Stream Initiation Module . . . . . . . . . . . . . 32
+       6.2.12. The Stream Initiation Module . . . . . . . . . . . . . 31
        6.2.13. The Logger Module  . . . . . . . . . . . . . . . . . . 32
        6.2.14. The Login Module . . . . . . . . . . . . . . . . . . . 32
-       6.2.15. The Message Module . . . . . . . . . . . . . . . . . . 34
-       6.2.16. The Raw XML Input Module . . . . . . . . . . . . . . . 34
-       6.2.17. The Roster Module  . . . . . . . . . . . . . . . . . . 34
-       6.2.18. The Sound Module . . . . . . . . . . . . . . . . . . . 34
-     6.3.  Menu-load  . . . . . . . . . . . . . . . . . . . . . . . . 36
-       6.3.1.  The Avatar Module  . . . . . . . . . . . . . . . . . . 37
 
 
 
@@ -113,35 +113,41 @@
                              Tkabber 0.11.1                    June 2008
 
 
-       6.3.2.  The Browser Module . . . . . . . . . . . . . . . . . . 37
-       6.3.3.  The Groupchat Module . . . . . . . . . . . . . . . . . 37
+       6.2.15. The Message Module . . . . . . . . . . . . . . . . . . 33
+       6.2.16. The Raw XML Input Module . . . . . . . . . . . . . . . 33
+       6.2.17. The Roster Module  . . . . . . . . . . . . . . . . . . 34
+       6.2.18. The Sound Module . . . . . . . . . . . . . . . . . . . 34
+     6.3.  Menu-load  . . . . . . . . . . . . . . . . . . . . . . . . 36
+       6.3.1.  The Avatar Module  . . . . . . . . . . . . . . . . . . 36
+       6.3.2.  The Browser Module . . . . . . . . . . . . . . . . . . 36
+       6.3.3.  The Groupchat Module . . . . . . . . . . . . . . . . . 36
        6.3.4.  The Login Module . . . . . . . . . . . . . . . . . . . 37
        6.3.5.  The Message Module . . . . . . . . . . . . . . . . . . 37
        6.3.6.  The Presence Module  . . . . . . . . . . . . . . . . . 37
        6.3.7.  Miscellany . . . . . . . . . . . . . . . . . . . . . . 38
      6.4.  Final-Load . . . . . . . . . . . . . . . . . . . . . . . . 38
-   7.  Extensibility  . . . . . . . . . . . . . . . . . . . . . . . . 40
-     7.1.  Chat Hooks . . . . . . . . . . . . . . . . . . . . . . . . 41
-     7.2.  Login Hooks  . . . . . . . . . . . . . . . . . . . . . . . 43
-     7.3.  Presence Hooks . . . . . . . . . . . . . . . . . . . . . . 43
-     7.4.  Roster Hooks . . . . . . . . . . . . . . . . . . . . . . . 44
-     7.5.  Miscellaneous Hooks  . . . . . . . . . . . . . . . . . . . 45
-   8.  User Interface basics  . . . . . . . . . . . . . . . . . . . . 46
-     8.1.  Searching  . . . . . . . . . . . . . . . . . . . . . . . . 46
-   Appendix A.  Releases History  . . . . . . . . . . . . . . . . . . 48
-     A.1.  Main changes in 0.11.1 . . . . . . . . . . . . . . . . . . 48
-     A.2.  Main changes in 0.11.0 . . . . . . . . . . . . . . . . . . 48
-     A.3.  Main changes in 0.10.0 . . . . . . . . . . . . . . . . . . 49
-     A.4.  Main changes in 0.9.9  . . . . . . . . . . . . . . . . . . 50
-     A.5.  Main changes in 0.9.8  . . . . . . . . . . . . . . . . . . 50
-     A.6.  Main changes in 0.9.7beta  . . . . . . . . . . . . . . . . 50
-     A.7.  Main changes in 0.9.6beta  . . . . . . . . . . . . . . . . 51
-     A.8.  Main changes in 0.9.5beta  . . . . . . . . . . . . . . . . 51
-   Appendix B.  Tk option database resources  . . . . . . . . . . . . 52
-   Appendix C.  Documentation TODO  . . . . . . . . . . . . . . . . . 56
-   Appendix D.  Acknowledgements  . . . . . . . . . . . . . . . . . . 57
-   Appendix E.  Copyrights  . . . . . . . . . . . . . . . . . . . . . 58
-   Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . . 59
+   7.  Extensibility  . . . . . . . . . . . . . . . . . . . . . . . . 39
+     7.1.  Chat Hooks . . . . . . . . . . . . . . . . . . . . . . . . 40
+     7.2.  Login Hooks  . . . . . . . . . . . . . . . . . . . . . . . 42
+     7.3.  Presence Hooks . . . . . . . . . . . . . . . . . . . . . . 42
+     7.4.  Roster Hooks . . . . . . . . . . . . . . . . . . . . . . . 43
+     7.5.  Miscellaneous Hooks  . . . . . . . . . . . . . . . . . . . 44
+   8.  User Interface basics  . . . . . . . . . . . . . . . . . . . . 45
+     8.1.  Searching  . . . . . . . . . . . . . . . . . . . . . . . . 45
+   Appendix A.  Releases History  . . . . . . . . . . . . . . . . . . 49
+     A.1.  Main changes in 0.11.1 . . . . . . . . . . . . . . . . . . 49
+     A.2.  Main changes in 0.11.0 . . . . . . . . . . . . . . . . . . 49
+     A.3.  Main changes in 0.10.0 . . . . . . . . . . . . . . . . . . 50
+     A.4.  Main changes in 0.9.9  . . . . . . . . . . . . . . . . . . 51
+     A.5.  Main changes in 0.9.8  . . . . . . . . . . . . . . . . . . 51
+     A.6.  Main changes in 0.9.7beta  . . . . . . . . . . . . . . . . 51
+     A.7.  Main changes in 0.9.6beta  . . . . . . . . . . . . . . . . 52
+     A.8.  Main changes in 0.9.5beta  . . . . . . . . . . . . . . . . 52
+   Appendix B.  Tk option database resources  . . . . . . . . . . . . 53
+   Appendix C.  Documentation TODO  . . . . . . . . . . . . . . . . . 57
+   Appendix D.  Acknowledgements  . . . . . . . . . . . . . . . . . . 58
+   Appendix E.  Copyrights  . . . . . . . . . . . . . . . . . . . . . 59
+   Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . . 60
 
 
 
@@ -158,12 +164,6 @@
 
 
 
-
-
-
-
-
-
 Shchepin, et al.                                                [Page 3]
 
                              Tkabber 0.11.1                    June 2008
@@ -374,9 +374,9 @@
       later).  This package works on both Unix and Windows.
 
 
-   o  By default, Tkabber uses pure-Tcl XML parser.  If its performance
-      is insufficient, you may want to install tDOM version 0.8.0 [7]
-      (or later) and use expat based XML parser.
+   o  Tkabber comes bundled with pure-Tcl XML parser.  If its
+      performance is insufficient, you may want to install tDOM version
+      0.8.0 [7] (or later) and use expat based XML parser.
 
    o  By default, communications between the server and client take
       place over a plaintext connection.  While this may not be a
@@ -766,17 +766,17 @@
    which controlled the loading of _TclXML_.
 
    Now expat-based _Tcl_ package _tDOM_ is supported as an external XML
-   parser.  It can be enabled by loading it manually in config.tcl using
-   the Tcl package command, for example:
+   parser.  It is enabled by default if it is installed.
 
-   package require tdom
-
 4.2.  User interface
 
    There are notable changes in systray mouse gestures, appearance of a
    main tabbed window, and in behavior of paned window splitters.
 
+4.2.1.  System tray icon mouse gestures
 
+   Mouse gestures bound to system tray (system notification area) icon
+   have been reworked:
 
 
 
@@ -785,11 +785,6 @@
                              Tkabber 0.11.1                    June 2008
 
 
-4.2.1.  System tray icon mouse gestures
-
-   Mouse gestures bound to system tray (system notification area) icon
-   have been reworked:
-
    o  Single click on it with the left mouse button now unconditionally
       brings the main _Tkabber_ window to front, possibly deiconifying
       it first.
@@ -836,6 +831,11 @@
 
 
 
+
+
+
+
+
 Shchepin, et al.                                               [Page 15]
 
                              Tkabber 0.11.1                    June 2008
@@ -1034,11 +1034,6 @@
    set ssj::options(encrypt-traffic) 0
 
 
-   # using of external XML parser
-
-   package require tdom 0.8
-
-
    # debugging output
 
    set debug_lvls {xmpp warning}
@@ -1053,27 +1048,23 @@
 
    ::msgcat::mclocale en
 
+6.1.1.  Tabbed Interface
 
+   The first of these options, "ifacetk::options(use_tabbar)", tells
+   _Tkabber_ whether you want a tabbed interface or not.  If not, here's
+   what to put in your configuration file:
 
+   set ifacetk::options(use_tabbar) 0
 
+   Although _Tkabber_ immediately applies most of its configuration
 
 
 
-
 Shchepin, et al.                                               [Page 19]
 
                              Tkabber 0.11.1                    June 2008
 
 
-6.1.1.  Tabbed Interface
-
-   The first of these options, "ifacetk::options(use_tabbar)", tells
-   _Tkabber_ whether you want a tabbed interface or not.  If not, here's
-   what to put in your configuration file:
-
-   set ifacetk::options(use_tabbar) 0
-
-   Although _Tkabber_ immediately applies most of its configuration
    changes, in order to apply changed option
    "ifacetk::options(use_tabbar)" you have to restart _Tkabber_.  So,
    basically you have two options: set "ifacetk::options(use_tabbar)" at
@@ -1109,18 +1100,6 @@
    See Appendix B for a list of all the resources that you can set to
    control _Tkabber's_ look-and-feel.
 
-
-
-
-
-
-
-
-Shchepin, et al.                                               [Page 20]
-
-                             Tkabber 0.11.1                    June 2008
-
-
    Probably the most commonly used way to configure _Tkabber_'s visual
    appearance (especially on Windows platforms which lack _XRDB_
    mechanism) is to put all the necessary settings in some file and then
@@ -1134,6 +1113,14 @@
    Look at the provided example "xrdb" files to get the idea about how
    they are organised.  Of course, you can use any of that files as a
    template.  And of course, you can simply specify any of the example
+
+
+
+Shchepin, et al.                                               [Page 20]
+
+                             Tkabber 0.11.1                    June 2008
+
+
    files instead of your own to the "option readfile" command to get the
    provided "theme".
 
@@ -1148,9 +1135,9 @@
    You can also customize the fonts _Tkabber_ uses to render its user
    interface:
 
-       option add *font \
-              "-monotype-arial-medium-r-normal-*-13-*-*-*-*-*-iso10646-1" \
-              userDefault
+    option add *font \
+           "-monotype-arial-medium-r-normal-*-13-*-*-*-*-*-iso10646-1" \
+           userDefault
 
    The above setting (operating on the Tk option database) selects the
    font used for all UI elements like buttons and labels and roster and
@@ -1169,14 +1156,6 @@
    o  Under X, encoding (charset) of fonts must match that of your
       locale.
 
-
-
-
-Shchepin, et al.                                               [Page 21]
-
-                             Tkabber 0.11.1                    June 2008
-
-
    o  Ensure that the specified font exists, since if it's not, _Tk_
       will try hard to pick the most suitable one which often yields not
       what you want.  (The best bet is to first pick the font using some
@@ -1188,6 +1167,16 @@
    specify fonts using sometimes more convenient _Tk_ features described
    in Tk font manual page.
 
+
+
+
+
+
+Shchepin, et al.                                               [Page 21]
+
+                             Tkabber 0.11.1                    June 2008
+
+
 6.1.3.  Cryptography by default
 
    Next, you may want to _Tkabber_ to use cryptography by default.
@@ -1203,36 +1192,13 @@
    otherwise, the default behavior is to proceed without any
    cryptographic buttons, menus, and so on.)
 
-6.1.4.  Using of external XML parser from tDOM
+6.1.4.  Debugging Output
 
-   By default for parsing XML _Tkabber_ uses (modified) _TclXML_ library
-   that comes with it distribution.  This parser is pure-Tcl, and it
-   performance can be not suitable.  Then you can install _tDOM_ with
-   built-in _expat_ support and require it in the config file:
-
-   package require tdom 0.8
-
-6.1.5.  Debugging Output
-
    _Tkabber_ has a lot of debugging output.  By default, it gets printed
    to the standard output by a Tcl procedure called "debugmsg".
    However, only information about those modules listed in a variable
    called "debug_lvls" will be printed.
 
-
-
-
-
-
-
-
-
-
-Shchepin, et al.                                               [Page 22]
-
-                             Tkabber 0.11.1                    June 2008
-
-
    If you know how to program Tcl, then this will seem rather obvious:
 
    set debug_lvls [list message presence ssj warning]
@@ -1252,7 +1218,7 @@
 
    set debug_lvls {}
 
-6.1.6.  Splash window
+6.1.5.  Splash window
 
    By default, when _Tkabber_ startup, it show loading process in splash
    window.  To disable this feature, put this in your configuration
@@ -1260,8 +1226,15 @@
 
    set show_splash_window 0
 
-6.1.7.  I18n/L10n
 
+
+Shchepin, et al.                                               [Page 22]
+
+                             Tkabber 0.11.1                    June 2008
+
+
+6.1.6.  I18n/L10n
+
    _Tkabber_ can show all messages in user's native language.  This is
    done by using Tcl's built-in _msgcat_ package which looks for a
    directory called "msgs/" wherever you installed _Tkabber_, and then
@@ -1272,7 +1245,7 @@
 
    ::msgcat::mclocale en
 
-6.1.8.  Searching
+6.1.7.  Searching
 
    _Tkabber_ allows the user to perform textual searching in certain
    classes of its windows.  This searching is controlled by several
@@ -1280,15 +1253,6 @@
 
    These settings are described in detail in Section 8.1.
 
-
-
-
-
-Shchepin, et al.                                               [Page 23]
-
-                             Tkabber 0.11.1                    June 2008
-
-
 6.2.  Post-load
 
    After _Tkabber_ reads your configuration file, it loads all of its
@@ -1299,199 +1263,211 @@
    want to configure one more module modules, then you need to define
    the procedure in your configuration file, e.g.,
 
-   proc postload {} {
-   # look-and-feel
+proc postload {} {
+# look-and-feel
 
-       set pixmaps::options(pixmaps_theme) Default
+    set pixmaps::options(pixmaps_theme) Default
 
-       global alert colors alert_lvls
+    global alert colors alert_lvls
 
-       set alert_lvls(error)        1
-       set alert_lvls(server)       1
-       set alert_lvls(message)      2
-       set alert_lvls(mesg_to_user) 3
-       set alert_colors             {Black DarkBlue Blue Red}
+    set alert_lvls(error)        1
+    set alert_lvls(server)       1
+    set alert_lvls(message)      2
+    set alert_lvls(mesg_to_user) 3
+    set alert_colors             {Black DarkBlue Blue Red}
 
-       set ifacetk::options(raise_new_tab) 1
+    set ifacetk::options(raise_new_tab) 1
 
 
-   # the autoaway module
+# the autoaway module
 
-       set plugins::autoaway::options(awaytime)  5
-       set plugins::autoaway::options(xatime)   15
-       set plugins::autoaway::options(status) "Automatically away due to idle"
-       set plugins::autoaway::options(drop_priority) 1
 
 
-   # the avatar module
 
-       set avatar::options(announce) 0
-       set avatar::options(share)    0
+Shchepin, et al.                                               [Page 23]
+
+                             Tkabber 0.11.1                    June 2008
 
 
-   # the chat module
+    set plugins::autoaway::options(awaytime)  5
+    set plugins::autoaway::options(xatime)   15
+    set plugins::autoaway::options(status) "Automatically away due to idle"
+    set plugins::autoaway::options(drop_priority) 1
 
-       set chat::options(default_message_type) chat
-       set chat::options(stop_scroll)          0
-       set plugins::options(timestamp_format)  {[%R]}
 
+# the avatar module
 
-   # the clientinfo module
+    set avatar::options(announce) 0
+    set avatar::options(share)    0
 
 
+# the chat module
 
-Shchepin, et al.                                               [Page 24]
-
-                             Tkabber 0.11.1                    June 2008
+    set chat::options(default_message_type) chat
+    set chat::options(stop_scroll)          0
+    set plugins::options(timestamp_format)  {[%R]}
 
 
-       set plugins::clientinfo::options(autoask) 0
+# the clientinfo module
 
+    set plugins::clientinfo::options(autoask) 0
 
-   # the conferenceinfo module
 
-       set plugins::conferenceinfo::options(autoask)        0
-       set plugins::conferenceinfo::options(interval)       1
-       set plugins::conferenceinfo::options(err_interval)  60
+# the conferenceinfo module
 
+    set plugins::conferenceinfo::options(autoask)        0
+    set plugins::conferenceinfo::options(interval)       1
+    set plugins::conferenceinfo::options(err_interval)  60
 
-   # the cryptographic module
 
-       set ssj::options(encrypt,fred at example.com) 1
+# the cryptographic module
 
+    set ssj::options(encrypt,fred at example.com) 1
 
-   # the emoticon module
 
-       set plugins::emoticons::options(theme) \
-                   $::configdir/emoticons/rythmbox
+# the emoticon module
 
+    set plugins::emoticons::options(theme) \
+                $::configdir/emoticons/rythmbox
 
-   # the file transfer module
 
-       set ft::options(download_dir) "/tmp"
+# the file transfer module
 
+    set ft::options(download_dir) "/tmp"
 
-   # the groupchat module
 
-       global gra_group gra_server
-       global gr_nick gr_group gr_server
-       global defaultnick
+# the groupchat module
 
-       set defaultnick(adhoc at conference.example.com) publius
-       set defaultnick(*@conference.example.com) cicerone
 
 
-   # the ispell module
+Shchepin, et al.                                               [Page 24]
+
+                             Tkabber 0.11.1                    June 2008
 
-       set plugins::ispell::options(enable)              1
-       set plugins::ispell::options(executable)          /usr/bin/ispell
-       set plugins::ispell::options(command_line)        -C -d russian
-       set plugins::ispell::options(dictionary_encoding) koi8-r
-       set plugins::ispell::options(check_every_symbol)  1
 
-   # the stream initiation module
+    global gra_group gra_server
+    global gr_nick gr_group gr_server
+    global defaultnick
 
-       set si::transport(allowed,http://jabber.org/protocol/bytestreams) 0
-       set si::transport(allowed,http://jabber.org/protocol/ibb) 1
+    set defaultnick(adhoc at conference.example.com) publius
+    set defaultnick(*@conference.example.com) cicerone
 
 
+# the ispell module
 
+    set plugins::ispell::options(enable)              1
+    set plugins::ispell::options(executable)          /usr/bin/ispell
+    set plugins::ispell::options(command_line)        -C -d russian
+    set plugins::ispell::options(dictionary_encoding) koi8-r
+    set plugins::ispell::options(check_every_symbol)  1
+
+# the stream initiation module
+
+    set si::transport(allowed,http://jabber.org/protocol/bytestreams) 0
+    set si::transport(allowed,http://jabber.org/protocol/ibb) 1
+
+
+# the logger module
+
+    set logger::options(logdir)        [file join $::configdir logs]
+    set logger::options(log_chat)      1
+    set logger::options(log_groupchat) 1
+
+
+# the login module
+
+    global loginconf loginconf1 loginconf2 autologin
+
+    set loginconf(user)           ""
+    set loginconf(password)       ""
+    set loginconf(server)         example.com
+    set loginconf(resource)       tkabber
+    set loginconf(priority)       16
+    set loginconf(usealtserver)   0
+    set loginconf(altserver)      ""
+    set loginconf(altport)        5422
+    set loginconf(stream_options) plaintext
+    set loginconf(proxy)          https
+    set loginconf(usesasl)        1
+    set loginconf(allowauthplain) 0
+    set loginconf(proxyhost)      localhost
+    set loginconf(proxyport)      3128
+    set loginconf(proxyusername)  ""
+
+
+
 Shchepin, et al.                                               [Page 25]
 
                              Tkabber 0.11.1                    June 2008
 
 
-   # the logger module
+    set loginconf(proxypassword)  ""
 
-       set logger::options(logdir)        [file join $::configdir logs]
-       set logger::options(log_chat)      1
-       set logger::options(log_groupchat) 1
+    # The following variables are useful when your jabber-server
+    # (example.com) does not have SRV or A-record in DNS
+    set loginconf(usealtserver)  1
+    set loginconf(altserver)     "jabber.example.com"
 
+    set loginconf1(profile)      "Default Account"
+    set loginconf1(user)         mrose
 
-   # the login module
+    set loginconf2(profile)      "Test Account"
+    set loginconf2(user)         test
 
-       global loginconf loginconf1 loginconf2 autologin
+    array set loginconf          [array get loginconf1]
 
-       set loginconf(user)           ""
-       set loginconf(password)       ""
-       set loginconf(server)         example.com
-       set loginconf(resource)       tkabber
-       set loginconf(priority)       16
-       set loginconf(usealtserver)   0
-       set loginconf(altserver)      ""
-       set loginconf(altport)        5422
-       set loginconf(stream_options) plaintext
-       set loginconf(proxy)          https
-       set loginconf(usesasl)        1
-       set loginconf(allowauthplain) 0
-       set loginconf(proxyhost)      localhost
-       set loginconf(proxyport)      3128
-       set loginconf(proxyusername)  ""
-       set loginconf(proxypassword)  ""
+    set autologin 0
 
-       # The following variables are useful when your jabber-server
-       # (example.com) does not have SRV or A-record in DNS
-       set loginconf(usealtserver)  1
-       set loginconf(altserver)     "jabber.example.com"
 
-       set loginconf1(profile)      "Default Account"
-       set loginconf1(user)         mrose
+# the message module
 
-       set loginconf2(profile)      "Test Account"
-       set loginconf2(user)         test
+    set message::options(headlines,cache)    1
+    set message::options(headlines,multiple) 1
 
-       array set loginconf          [array get loginconf1]
 
-       set autologin 0
+# the raw xml input module
 
+    set plugins::rawxml::set options(pretty_print) 0
+    set plugins::rawxml::set options(indent)       2
 
-   # the message module
 
-       set message::options(headlines,cache)    1
-       set message::options(headlines,multiple) 1
+# the roster module
 
+    set roster::show_only_online            1
+    set roster::roster(collapsed,RSS)       1
+    set roster::roster(collapsed,Undefined) 1
 
+    set roster::aliases(friend at some.host) \
+        {friend at other.host friend at another.host}
+    set roster::use_aliases                 1
 
-Shchepin, et al.                                               [Page 26]
-
-                             Tkabber 0.11.1                    June 2008
 
+# the sound module
 
-   # the raw xml input module
+    set sound::options(mute)                   0
+    set sound::options(mute_if_focus)          0
+    set sound::options(notify_online)          0
+    set sound::options(mute_groupchat_delayed) 1
+    set sound::options(mute_chat_delayed)      0
 
-       set plugins::rawxml::set options(pretty_print) 0
-       set plugins::rawxml::set options(indent)       2
 
 
-   # the roster module
+Shchepin, et al.                                               [Page 26]
+
+                             Tkabber 0.11.1                    June 2008
 
-       set roster::show_only_online            1
-       set roster::roster(collapsed,RSS)       1
-       set roster::roster(collapsed,Undefined) 1
 
-       set roster::aliases(friend at some.host) \
-           {friend at other.host friend at another.host}
-       set roster::use_aliases                 1
+    set sound::options(external_play_program) /usr/bin/aplay
+    set sound::options(external_play_program_options) -q
+    set sound::options(delay)
 
+    set sound::options(connected_sound)                     ""
+    set sound::options(presence_available_sound)            ""
+    set sound::options(presence_unavailable_sound)          ""
+    set sound::options(groupchat_server_message_sound)      ""
+    set sound::options(groupchat_their_message_to_me_sound) ""
+}
 
-   # the sound module
-
-       set sound::options(mute)                   0
-       set sound::options(mute_if_focus)          0
-       set sound::options(notify_online)          0
-       set sound::options(mute_groupchat_delayed) 1
-       set sound::options(mute_chat_delayed)      0
-       set sound::options(external_play_program) /usr/bin/aplay
-       set sound::options(external_play_program_options) -q
-       set sound::options(delay)
-
-       set sound::options(connected_sound)                     ""
-       set sound::options(presence_available_sound)            ""
-       set sound::options(presence_unavailable_sound)          ""
-       set sound::options(groupchat_server_message_sound)      ""
-       set sound::options(groupchat_their_message_to_me_sound) ""
-   }
-
    This isn't nearly as complicated as it seems.  Let's break it down by
    individual module
 
@@ -1505,14 +1481,6 @@
 
    If you want, you can have _Tkabber_ use a different theme by putting
    custom theme subdirectory to "$::configdir/pixmaps/" directory (tilde
-
-
-
-Shchepin, et al.                                               [Page 27]
-
-                             Tkabber 0.11.1                    June 2008
-
-
    means home directory). _Tkabber_ knows that it is a theme directory
    by looking for "icondef.xml" file in the directory.  To find out the
    structure of icon definition file, look through _XEP-0038_ and go to
@@ -1537,6 +1505,14 @@
    o  a chat message addressed directly to you will cause the tab to go
       red.
 
+
+
+
+Shchepin, et al.                                               [Page 27]
+
+                             Tkabber 0.11.1                    June 2008
+
+
    By default, whenever a new tab is created, it is automatically
    raised.  If you don't like this behavior, add this line:
    set ifacetk::options(raise_new_tab) 0
@@ -1561,14 +1537,6 @@
    Variable "plugins::autoaway::options(status)" allows to specify text
    status, which is set when _Tkabber_ is moving in away state.
 
-
-
-
-Shchepin, et al.                                               [Page 28]
-
-                             Tkabber 0.11.1                    June 2008
-
-
 6.2.3.  The Avatar Module
 
    There are two variables that you can set to control whether _Tkabber_
@@ -1593,6 +1561,14 @@
    chat window should automatically scroll down to the bottom whenever
    something new comes in.
 
+
+
+
+Shchepin, et al.                                               [Page 28]
+
+                             Tkabber 0.11.1                    June 2008
+
+
    You can also set format of time stamp that displayed in beginning of
    each chat message.  Refer to _Tcl_ documentation for description of
    format.  E.g., to display it in ""dd:mm:ss"" format, add this line:
@@ -1615,16 +1591,6 @@
    add this line to your post-load:
    set plugins::conferenceinfo::options(autoask) 1
 
-
-
-
-
-
-Shchepin, et al.                                               [Page 29]
-
-                             Tkabber 0.11.1                    June 2008
-
-
    You can also set interval between these requests with these two
    variables:
 
@@ -1651,6 +1617,14 @@
    The procedure called _plugins::emoticons::load_dir_ is used to load
    emoticon definitions from a directory.  The directory contains a file
    called ""icondef.xml"", which defines the mapping between each image
+
+
+
+Shchepin, et al.                                               [Page 29]
+
+                             Tkabber 0.11.1                    June 2008
+
+
    and its textual emoticon (To find out what this file looks like, go
    to where you installed _Tkabber_ and take a look at the file called
    ""emoticons/default/icondef.xml"" or read XEP-0038 [24].)
@@ -1673,24 +1647,16 @@
 
        set ft::options(download_dir) "/tmp"
 
-
-
-
-Shchepin, et al.                                               [Page 30]
-
-                             Tkabber 0.11.1                    June 2008
-
-
 6.2.10.  The Groupchat Module
 
    There are several variables that set the dialog window defaults for
    adding a groupchat to your roster, or joining a groupchat:
 
-   add to roster dialog window: "gra_group" and "gra_server" specify the
-      default room and conference server, repectively; and,
+   add to roster dialog window:  "gra_group" and "gra_server" specify
+      the default room and conference server, repectively; and,
 
-   join dialog window: "gr_nick", "gr_group" and "gr_server" specify the
-      default nickname, room, and conference server, respectively.
+   join dialog window:  "gr_nick", "gr_group" and "gr_server" specify
+      the default nickname, room, and conference server, respectively.
 
    Note that variables "gra_server", "gr_nick" and "gr_server" overriden
    in login procedure, so better place for changing them is in
@@ -1703,6 +1669,18 @@
 
        set defaultnick(adhoc at conference.example.com) publius
 
+
+
+
+
+
+
+
+Shchepin, et al.                                               [Page 30]
+
+                             Tkabber 0.11.1                    June 2008
+
+
    Another possibility is to put pattern in parentheses.  The following
    example shows how to specify default nickname for all conferences at
    _conference.example.com_:
@@ -1730,13 +1708,6 @@
    o  the encoding of the output by setting
       "plugins::ispell::options(dictionary_encoding)".
 
-
-
-Shchepin, et al.                                               [Page 31]
-
-                             Tkabber 0.11.1                    June 2008
-
-
    If you don't care about putting a large load on your process, then
    you can also set "plugins::ispell::options(check_every_symbol)" to 1
    to check correctness of current word after every entered symbol.
@@ -1750,13 +1721,22 @@
    choose more appropriate one. _Tkabber_ comes with two transport
    implementations:
 
-   bytestreams: that allows you to connect to any node that supports
+   bytestreams:  that allows you to connect to any node that supports
       "bytestreams" transport (mediated connection is not supported
       yet);
 
-   ibb: that uses your "Jabber" connection to transmit the data (which
+   ibb:  that uses your "Jabber" connection to transmit the data (which
       may slowdown other traffic to you).
 
+
+
+
+
+Shchepin, et al.                                               [Page 31]
+
+                             Tkabber 0.11.1                    June 2008
+
+
    If your machine is behind a NAT, then you can't use the "bytestreams"
    transport, so you should disable it:
 
@@ -1786,13 +1766,6 @@
    Element "loginconf(server)" must be set to _Jabber_ server name (the
    part of you _JID_ after "@".
 
-
-
-Shchepin, et al.                                               [Page 32]
-
-                             Tkabber 0.11.1                    June 2008
-
-
    Element "loginconf(stream_options)" is set to one of the following
    values:
 
@@ -1812,6 +1785,14 @@
    you are in LAN environment without _DNS_) you can force _Tkabber_ to
    connect to the server using "loginconf(altserver)" and
    "loginconf(altport)" options (do not forget to set
+
+
+
+Shchepin, et al.                                               [Page 32]
+
+                             Tkabber 0.11.1                    June 2008
+
+
    "loginconf(usealtserver)" to "1").
 
    Another option is to use _HTTP_-polling connect method (if your
@@ -1842,13 +1823,6 @@
    Default value for "autologin" is "0".  In this case _Tkabber_ shows
    login dialog.
 
-
-
-Shchepin, et al.                                               [Page 33]
-
-                             Tkabber 0.11.1                    June 2008
-
-
 6.2.15.  The Message Module
 
    By default, when you restart _Tkabber_ it won't remember the
@@ -1868,6 +1842,13 @@
    drawed incorrectly, e.g. for XHTML tags.  Also you can set
    indentation level via "indent" option.
 
+
+
+Shchepin, et al.                                               [Page 33]
+
+                             Tkabber 0.11.1                    June 2008
+
+
 6.2.17.  The Roster Module
 
    By default, your entire roster is shown, even those items that aren't
@@ -1896,15 +1877,6 @@
    line:
    set sound::options(mute) 1
 
-
-
-
-
-Shchepin, et al.                                               [Page 34]
-
-                             Tkabber 0.11.1                    June 2008
-
-
    If you want _Tkabber_ to stop notifying you when you are not online
    (in away or dnd state) add the following line:
    set sound::options(notify_online) 1
@@ -1926,6 +1898,13 @@
    set sound::options(external_play_program) /usr/bin/aplay
    set sound::options(external_play_program_options) -q
 
+
+
+Shchepin, et al.                                               [Page 34]
+
+                             Tkabber 0.11.1                    June 2008
+
+
    You can also set minimal interval (in milliseconds) between playing
    different sounds.
    set sound::options(delay) 200
@@ -1954,13 +1933,6 @@
    o  "sound::options(groupchat_my_message_sound)" -- sound playing when
       you receive groupchat message from server;
 
-
-
-Shchepin, et al.                                               [Page 35]
-
-                             Tkabber 0.11.1                    June 2008
-
-
    o  "sound::options(groupchat_their_message_sound)" -- sound playing
       when you receive groupchat message from another user;
 
@@ -1977,6 +1949,18 @@
    set sound::options(groupchat_server_message_sound)      ""
    set sound::options(groupchat_their_message_to_me_sound) ""
 
+
+
+
+
+
+
+
+Shchepin, et al.                                               [Page 35]
+
+                             Tkabber 0.11.1                    June 2008
+
+
 6.3.  Menu-load
 
    After _Tkabber_ invokes your "postload" procedure, it starts building
@@ -2008,15 +1992,6 @@
        procedure defined there.  It lays out _Tkabber's_ menu bar
        similar to _Gabber's_.
 
-
-
-
-
-Shchepin, et al.                                               [Page 36]
-
-                             Tkabber 0.11.1                    June 2008
-
-
    4.  Finally, study the procedures listed here.
 
 6.3.1.  The Avatar Module
@@ -2035,6 +2010,13 @@
    called "join_group_dialog" displays a dialog window when you want to
    join a groupchat.
 
+
+
+Shchepin, et al.                                               [Page 36]
+
+                             Tkabber 0.11.1                    June 2008
+
+
 6.3.4.  The Login Module
 
    The procedure called "show_login_dialog" displays a dialog window
@@ -2064,15 +2046,6 @@
    arguments: the user's JID; and, whether or not the dialog window
    should be editable.
 
-
-
-
-
-Shchepin, et al.                                               [Page 37]
-
-                             Tkabber 0.11.1                    June 2008
-
-
    Obviously, the second argument makes sense only if it's your own
    information, i.e.,
 
@@ -2091,6 +2064,15 @@
 
    o  away;
 
+
+
+
+
+Shchepin, et al.                                               [Page 37]
+
+                             Tkabber 0.11.1                    June 2008
+
+
    o  xa;
 
    o  dnd; or,
@@ -2121,14 +2103,6 @@
 6.4.  Final-Load
 
    Finally, right before _Tkabber_ goes to display the login dialog, it
-
-
-
-Shchepin, et al.                                               [Page 38]
-
-                             Tkabber 0.11.1                    June 2008
-
-
    invokes a procedure called "finload", which does whatever you want it
    to.
 
@@ -2150,37 +2124,7 @@
 
 
 
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Shchepin, et al.                                               [Page 39]
+Shchepin, et al.                                               [Page 38]
 
                              Tkabber 0.11.1                    June 2008
 
@@ -2236,7 +2180,7 @@
 
 
 
-Shchepin, et al.                                               [Page 40]
+Shchepin, et al.                                               [Page 39]
 
                              Tkabber 0.11.1                    June 2008
 
@@ -2292,7 +2236,7 @@
 
 
 
-Shchepin, et al.                                               [Page 41]
+Shchepin, et al.                                               [Page 40]
 
                              Tkabber 0.11.1                    June 2008
 
@@ -2348,7 +2292,7 @@
 
 
 
-Shchepin, et al.                                               [Page 42]
+Shchepin, et al.                                               [Page 41]
 
                              Tkabber 0.11.1                    June 2008
 
@@ -2404,7 +2348,7 @@
 
 
 
-Shchepin, et al.                                               [Page 43]
+Shchepin, et al.                                               [Page 42]
 
                              Tkabber 0.11.1                    June 2008
 
@@ -2460,7 +2404,7 @@
 
 
 
-Shchepin, et al.                                               [Page 44]
+Shchepin, et al.                                               [Page 43]
 
                              Tkabber 0.11.1                    June 2008
 
@@ -2516,7 +2460,7 @@
 
 
 
-Shchepin, et al.                                               [Page 45]
+Shchepin, et al.                                               [Page 44]
 
                              Tkabber 0.11.1                    June 2008
 
@@ -2572,7 +2516,7 @@
 
 
 
-Shchepin, et al.                                               [Page 46]
+Shchepin, et al.                                               [Page 45]
 
                              Tkabber 0.11.1                    June 2008
 
@@ -2628,11 +2572,123 @@
 
 
 
+Shchepin, et al.                                               [Page 46]
+
+                             Tkabber 0.11.1                    June 2008
+
+
+URIs
+
+   [1]   <http://tkabber.jabber.ru/>
+
+   [2]   <http://www.jabber.org/>
+
+   [3]   <http://sourceforge.net/project/showfiles.php?group_id=10894>
+
+   [4]   <http://sourceforge.net/project/showfiles.php?group_id=12883>
+
+   [5]   <http://www.activestate.com/Products/ActiveTcl>
+
+   [6]   <http://sourceforge.net/projects/tkimg/>
+
+   [7]   <http://www.tdom.org/>
+
+   [8]   <http://sourceforge.net/project/showfiles.php?group_id=13248>
+
+   [9]   <http://www.openssl.org/source/>
+
+   [10]  <https://gna.org/projects/ztcl/>
+
+   [11]  <http://sgolovan.nes.ru/jabber/ztcl/>
+
+   [12]  <http://beepcore-tcl.sourceforge.net/tclgpgme-1.0.tgz>
+
+   [13]  <ftp://ftp.gnupg.org/gcrypt/alpha/gpgme/>
+
+   [14]  <http://www.gnupg.org/download.html>
+
+   [15]  <http://beepcore-tcl.sourceforge.net/tkXwin-1.0.tgz>
+
+   [16]  <http://sgolovan.nes.ru/jabber/tclWinidle/>
+
+   [17]  <http://tkabber.jabber.ru/files/other/Tk_Theme-23.tgz>
+
+   [18]  <http://sw4me.com/wiki/Tktray>
+
+   [19]  <http://sourceforge.net/projects/tktable/>
+
+   [20]  <http://tkcon.sourceforge.net>
+
+   [21]  <http://www.xmpp.org/extensions/xep-0081.html>
+
+   [22]  <http://wiki.tcl.tk/1727>
+
+   [23]  <http://www.tcl.tk/man/tcl8.4/TkCmd/option.htm>
+
+
+
+
 Shchepin, et al.                                               [Page 47]
 
                              Tkabber 0.11.1                    June 2008
 
 
+   [24]  <http://www.xmpp.org/extensions/xep-0038.html>
+
+   [25]  <http://www.tcl.tk/man/tcl8.4/TclCmd/re_syntax.htm>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Shchepin, et al.                                               [Page 48]
+
+                             Tkabber 0.11.1                    June 2008
+
+
 Appendix A.  Releases History
 
 A.1.  Main changes in 0.11.1
@@ -2684,7 +2740,7 @@
 
 
 
-Shchepin, et al.                                               [Page 48]
+Shchepin, et al.                                               [Page 49]
 
                              Tkabber 0.11.1                    June 2008
 
@@ -2740,7 +2796,7 @@
 
 
 
-Shchepin, et al.                                               [Page 49]
+Shchepin, et al.                                               [Page 50]
 
                              Tkabber 0.11.1                    June 2008
 
@@ -2796,7 +2852,7 @@
 
 
 
-Shchepin, et al.                                               [Page 50]
+Shchepin, et al.                                               [Page 51]
 
                              Tkabber 0.11.1                    June 2008
 
@@ -2852,7 +2908,7 @@
 
 
 
-Shchepin, et al.                                               [Page 51]
+Shchepin, et al.                                               [Page 52]
 
                              Tkabber 0.11.1                    June 2008
 
@@ -2862,7 +2918,7 @@
    Here is list of the most essential _Tkabber_-specific _Tk option
    database_ resources that you need to change look:
 
-   Tkabber.geometry Geometry of main window.
+   Tkabber.geometry  Geometry of main window.
 
    *Chat.chatgeometry
 
@@ -2876,30 +2932,30 @@
 
    *Messages.geometry
 
-   *JDisco.geometry Geometry of various windows (when not using tabs).
+   *JDisco.geometry  Geometry of various windows (when not using tabs).
 
-   *mainRosterWidth The width of the main roster window.
+   *mainRosterWidth  The width of the main roster window.
 
    *Chat.inputheight
 
-   *RawXML.inputheight Height of input windows in chat and raw XML
+   *RawXML.inputheight  Height of input windows in chat and raw XML
       windows.
 
    *Balloon.background
 
-   *Balloon.foreground Background and foreground colors of popup
+   *Balloon.foreground  Background and foreground colors of popup
       balloon.
 
-   *Balloon.style Behaviour of popup balloon: can be "delay" (balloon
+   *Balloon.style  Behaviour of popup balloon: can be "delay" (balloon
       appeared after some time) and "follow" (balloon appeared
       immediately and follows mouse).
 
-   *JDisco.fill Color of service discovery browser item name.
+   *JDisco.fill  Color of service discovery browser item name.
 
-   *JDisco.identitycolor Color of service discovery browser item
+   *JDisco.identitycolor  Color of service discovery browser item
       identity.
 
-   *JDisco.featurecolor Color of service discovery browser entity
+   *JDisco.featurecolor  Color of service discovery browser entity
       feature.
 
 
@@ -2908,40 +2964,41 @@
 
 
 
-Shchepin, et al.                                               [Page 52]
+Shchepin, et al.                                               [Page 53]
 
                              Tkabber 0.11.1                    June 2008
 
 
-   *JDisco*Tree*background Background of service discovery browser.
+   *JDisco*Tree*background  Background of service discovery browser.
 
-   *Chat.meforeground Color of user's messages in chat windows.
+   *Chat.meforeground  Color of user's messages in chat windows.
 
-   *Chat.theyforeground Color of other peoples messages in chat windows.
+   *Chat.theyforeground  Color of other peoples messages in chat
+      windows.
 
-   *Chat.serverlabelforeground Color of label before server message.
+   *Chat.serverlabelforeground  Color of label before server message.
 
-   *Chat.serverforeground Color of server messages in chat windows.
+   *Chat.serverforeground  Color of server messages in chat windows.
 
-   *Chat.errforeground Color of error messages in chat windows.
+   *Chat.errforeground  Color of error messages in chat windows.
 
-   *Chat.urlforeground Color of URLs in chat windows.
+   *Chat.urlforeground  Color of URLs in chat windows.
 
-   *Chat.urlactiveforeground Color of mouse highlighted URLs in chat
+   *Chat.urlactiveforeground  Color of mouse highlighted URLs in chat
       windows.
 
-   *JDisco.fill Default color of items in Service Discovery Browser.
+   *JDisco.fill  Default color of items in Service Discovery Browser.
 
-   *JDisco.featurecolor Default color of feature items in Service
+   *JDisco.featurecolor  Default color of feature items in Service
       Discovery Browser.
 
-   *JDisco.identitycolor Default color of identity items in Service
+   *JDisco.identitycolor  Default color of identity items in Service
       Discovery Browser.
 
-   *JDisco.optioncolor Default color of option items in Service
+   *JDisco.optioncolor  Default color of option items in Service
       Discovery Browser.
 
-   *JDisco*Tree*background Default color of background in Service
+   *JDisco*Tree*background  Default color of background in Service
       Discovery Browser.
 
    *NoteBook.alertColor0
@@ -2950,58 +3007,57 @@
 
    *NoteBook.alertColor2
 
-   *NoteBook.alertColor3 Tabs alert colors.
+   *NoteBook.alertColor3  Tabs alert colors.
 
-   *Roster.cbackground Roster background color.
+   *Roster.cbackground  Roster background color.
 
-   *Roster.groupindent Indentation for group title.
+   *Roster.groupindent  Indentation for group title.
 
-   *Roster.groupiconindent Indentation for group icon.
+   *Roster.groupiconindent  Indentation for group icon.
 
 
 
 
 
 
-
-Shchepin, et al.                                               [Page 53]
+Shchepin, et al.                                               [Page 54]
 
                              Tkabber 0.11.1                    June 2008
 
 
-   *Roster.jidindent Indentation for item name.
+   *Roster.jidindent  Indentation for item name.
 
-   *Roster.jidmultindent Indentation for item with multiple resources.
+   *Roster.jidmultindent  Indentation for item with multiple resources.
 
-   *Roster.subjidindent Indentation for item resource.
+   *Roster.subjidindent  Indentation for item resource.
 
-   *Roster.iconindent Indentation for item icon.
+   *Roster.iconindent  Indentation for item icon.
 
    *Roster.subitemtype
 
-   *Roster.subiconindent Indentation for resource icon.
+   *Roster.subiconindent  Indentation for resource icon.
 
-   *Roster.textuppad Top pad for item's names.
+   *Roster.textuppad  Top pad for item's names.
 
-   *Roster.textdownpad Bottom pad for item's names.
+   *Roster.textdownpad  Bottom pad for item's names.
 
-   *Roster.linepad Vertical distance between items.
+   *Roster.linepad  Vertical distance between items.
 
-   *Roster.foreground Color of item's names.
+   *Roster.foreground  Color of item's names.
 
-   *Roster.jidfill Background of roster item.
+   *Roster.jidfill  Background of roster item.
 
-   *Roster.jidhlfill Background of roster item when mouse is over.
+   *Roster.jidhlfill  Background of roster item when mouse is over.
 
-   *Roster.jidborder Color of item's border.
+   *Roster.jidborder  Color of item's border.
 
    *Roster.groupfill
 
    *Roster.grouphlfill
 
-   *Roster.groupborder The same to roster groups.
+   *Roster.groupborder  The same to roster groups.
 
-   *Roster.groupcfill Background color of collapsed group.
+   *Roster.groupcfill  Background color of collapsed group.
 
    *Roster.stalkerforeground
 
@@ -3020,12 +3076,12 @@
 
 
 
-Shchepin, et al.                                               [Page 54]
+Shchepin, et al.                                               [Page 55]
 
                              Tkabber 0.11.1                    June 2008
 
 
-   *Roster.chatforeground Colors of item name for different presences.
+   *Roster.chatforeground  Colors of item name for different presences.
 
 
 
@@ -3076,7 +3132,7 @@
 
 
 
-Shchepin, et al.                                               [Page 55]
+Shchepin, et al.                                               [Page 56]
 
                              Tkabber 0.11.1                    June 2008
 
@@ -3132,7 +3188,7 @@
 
 
 
-Shchepin, et al.                                               [Page 56]
+Shchepin, et al.                                               [Page 57]
 
                              Tkabber 0.11.1                    June 2008
 
@@ -3188,7 +3244,7 @@
 
 
 
-Shchepin, et al.                                               [Page 57]
+Shchepin, et al.                                               [Page 58]
 
                              Tkabber 0.11.1                    June 2008
 
@@ -3244,7 +3300,7 @@
 
 
 
-Shchepin, et al.                                               [Page 58]
+Shchepin, et al.                                               [Page 59]
 
                              Tkabber 0.11.1                    June 2008
 
@@ -3300,5 +3356,5 @@
 
 
 
-Shchepin, et al.                                               [Page 59]
+Shchepin, et al.                                               [Page 60]
 

Modified: trunk/tkabber/doc/tkabber.html
===================================================================
--- trunk/tkabber/doc/tkabber.html	2008-10-29 18:56:19 UTC (rev 1591)
+++ trunk/tkabber/doc/tkabber.html	2008-11-01 08:26:27 UTC (rev 1592)
@@ -1,128 +1,146 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 <html lang="en"><head><title>Tkabber 0.11.1</title>
-<meta http-equiv="Expires" content="Fri, 17 Oct 2008 19:14:53 +0000">
+<meta http-equiv="Expires" content="Sat, 01 Nov 2008 08:21:08 +0000">
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 <meta name="description" content="Tkabber 0.11.1">
-<meta name="generator" content="xml2rfc v1.30 (http://xml.resource.org/)">
-<style type='text/css'>
-<!--
-    body {
-        font-family: verdana, charcoal, helvetica, arial, sans-serif;
-        margin: 2em;
-        font-size: small ; color: #000000 ; background-color: #ffffff ; }
-    .title { color: #990000; font-size: x-large ;
-        font-weight: bold; text-align: right;
-        font-family: helvetica, monaco, "MS Sans Serif", arial, sans-serif;
-        background-color: transparent; }
-    .filename { color: #666666; font-size: 18px; line-height: 28px;
-        font-weight: bold; text-align: right;
-        font-family: helvetica, arial, sans-serif;
-        background-color: transparent; }
-    td.rfcbug { background-color: #000000 ; width: 30px ; height: 30px ;
-        text-align: justify; vertical-align: middle ; padding-top: 2px ; }
-    td.rfcbug span.RFC { color: #666666; font-weight: bold; text-decoration: none;
-        background-color: #000000 ;
-        font-family: monaco, charcoal, geneva, "MS Sans Serif", helvetica, verdana, sans-serif;
-        font-size: x-small ; }
-    td.rfcbug span.hotText { color: #ffffff; font-weight: normal; text-decoration: none;
-        text-align: center ;
-        font-family: charcoal, monaco, geneva, "MS Sans Serif", helvetica, verdana, sans-serif;
-        font-size: x-small ; background-color: #000000; }
-    /* info code from SantaKlauss at http://www.madaboutstyle.com/tooltip2.html */
-    div#counter{margin-top: 100px}
+<meta name="generator" content="xml2rfc v1.32 (http://xml.resource.org/)">
+<style type='text/css'><!--
+        body {
+                font-family: verdana, charcoal, helvetica, arial, sans-serif;
+                font-size: small; color: #000; background-color: #FFF;
+                margin: 2em;
+        }
+        h1, h2, h3, h4, h5, h6 {
+                font-family: helvetica, monaco, "MS Sans Serif", arial, sans-serif;
+                font-weight: bold; font-style: normal;
+        }
+        h1 { color: #900; background-color: transparent; text-align: right; }
+        h3 { color: #333; background-color: transparent; }
 
-    a.info{
-        position:relative; /*this is the key*/
-        z-index:24;
-        text-decoration:none}
+        td.RFCbug {
+                font-size: x-small; text-decoration: none;
+                width: 30px; height: 30px; padding-top: 2px;
+                text-align: justify; vertical-align: middle;
+                background-color: #000;
+        }
+        td.RFCbug span.RFC {
+                font-family: monaco, charcoal, geneva, "MS Sans Serif", helvetica, verdana, sans-serif;
+                font-weight: bold; color: #666;
+        }
+        td.RFCbug span.hotText {
+                font-family: charcoal, monaco, geneva, "MS Sans Serif", helvetica, verdana, sans-serif;
+                font-weight: normal; text-align: center; color: #FFF;
+        }
 
-    a.info:hover{z-index:25; background-color:#990000 ; color: #ffffff ;}
+        table.TOCbug { width: 30px; height: 15px; }
+        td.TOCbug {
+                text-align: center; width: 30px; height: 15px;
+                color: #FFF; background-color: #900;
+        }
+        td.TOCbug a {
+                font-family: monaco, charcoal, geneva, "MS Sans Serif", helvetica, sans-serif;
+                font-weight: bold; font-size: x-small; text-decoration: none;
+                color: #FFF; background-color: transparent;
+        }
 
-    a.info span{display: none}
+        td.header {
+                font-family: arial, helvetica, sans-serif; font-size: x-small;
+                vertical-align: top; width: 33%;
+                color: #FFF; background-color: #666;
+        }
+        td.author { font-weight: bold; font-size: x-small; margin-left: 4em; }
+        td.author-text { font-size: x-small; }
 
-    a.info:hover span.info{ /*the span will display just on :hover state*/
-        display:block;
-        position:absolute;
-        font-size: smaller ;
-        top:2em; left:2em; width:15em;
-        padding: 2px ;
-        border:1px solid #333333;
-        background-color:#eeeeee; color:#990000;
-        text-align: left ;}
+        /* info code from SantaKlauss at http://www.madaboutstyle.com/tooltip2.html */
+        a.info {
+                /* This is the key. */
+                position: relative;
+                z-index: 24;
+                text-decoration: none;
+        }
+        a.info:hover {
+                z-index: 25;
+                color: #FFF; background-color: #900;
+        }
+        a.info span { display: none; }
+        a.info:hover span.info {
+                /* The span will display just on :hover state. */
+                display: block;
+                position: absolute;
+                font-size: smaller;
+                top: 2em; left: -5em; width: 15em;
+                padding: 2px; border: 1px solid #333;
+                color: #900; background-color: #EEE;
+                text-align: left;
+        }
 
-     A { font-weight: bold; }
-     A:link { color: #990000; background-color: transparent ; }
-     A:visited { color: #333333; background-color: transparent ; }
-     A:active { color: #333333; background-color: transparent ; }
+        a { font-weight: bold; }
+        a:link    { color: #900; background-color: transparent; }
+        a:visited { color: #633; background-color: transparent; }
+        a:active  { color: #633; background-color: transparent; }
 
-    p { margin-left: 2em; margin-right: 2em; }
-    p.copyright { font-size: x-small ; }
-    p.toc { font-size: small ; font-weight: bold ; margin-left: 3em ;}
-    table.toc { margin: 0 0 0 3em; padding: 0; border: 0; vertical-align: text-top; }
-    td.toc { font-size: small; font-weight: bold; vertical-align: text-top; }
+        p { margin-left: 2em; margin-right: 2em; }
+        p.copyright { font-size: x-small; }
+        p.toc { font-size: small; font-weight: bold; margin-left: 3em; }
+        table.toc { margin: 0 0 0 3em; padding: 0; border: 0; vertical-align: text-top; }
+        td.toc { font-size: small; font-weight: bold; vertical-align: text-top; }
 
-    span.emph { font-style: italic; }
-    span.strong { font-weight: bold; }
-    span.verb, span.vbare { font-family: "Courier New", Courier, monospace ; }
+        ol.text { margin-left: 2em; margin-right: 2em; }
+        ul.text { margin-left: 2em; margin-right: 2em; }
+        li      { margin-left: 3em; }
 
-    span.vemph { font-style: italic; font-family: "Courier New", Courier, monospace ; }
-    span.vstrong { font-weight: bold; font-family: "Courier New", Courier, monospace ; }
-    span.vdeluxe { font-weight: bold; font-style: italic; font-family: "Courier New", Courier, monospace ; }
+        /* RFC-2629 <spanx>s and <artwork>s. */
+        em     { font-style: italic; }
+        strong { font-weight: bold; }
+        dfn    { font-weight: bold; font-style: normal; }
+        cite   { font-weight: normal; font-style: normal; }
+        tt     { color: #036; }
+        tt, pre, pre dfn, pre em, pre cite, pre span {
+                font-family: "Courier New", Courier, monospace; font-size: small;
+        }
+        pre {
+                text-align: left; padding: 4px;
+                color: #000; background-color: #CCC;
+        }
+        pre dfn  { color: #900; }
+        pre em   { color: #66F; background-color: #FFC; font-weight: normal; }
+        pre .key { color: #33C; font-weight: bold; }
+        pre .id  { color: #900; }
+        pre .str { color: #000; background-color: #CFF; }
+        pre .val { color: #066; }
+        pre .rep { color: #909; }
+        pre .oth { color: #000; background-color: #FCF; }
+        pre .err { background-color: #FCC; }
 
-    ol.text { margin-left: 2em; margin-right: 2em; }
-    ul.text { margin-left: 2em; margin-right: 2em; }
-    li { margin-left: 3em;  }
+        /* RFC-2629 <texttable>s. */
+        table.all, table.full, table.headers, table.none {
+                font-size: small; text-align: center; border-width: 2px;
+                vertical-align: top; border-collapse: collapse;
+        }
+        table.all, table.full { border-style: solid; border-color: black; }
+        table.headers, table.none { border-style: none; }
+        th {
+                font-weight: bold; border-color: black;
+                border-width: 2px 2px 3px 2px;
+        }
+        table.all th, table.full th { border-style: solid; }
+        table.headers th { border-style: none none solid none; }
+        table.none th { border-style: none; }
+        table.all td {
+                border-style: solid; border-color: #333;
+                border-width: 1px 2px;
+        }
+        table.full td, table.headers td, table.none td { border-style: none; }
 
-    pre { margin-left: 3em; color: #333333;  background-color: transparent;
-        font-family: "Courier New", Courier, monospace ; font-size: small ;
-        text-align: left;
+        hr { height: 1px; }
+        hr.insert {
+                width: 80%; border-style: none; border-width: 0;
+                color: #CCC; background-color: #CCC;
         }
-
-    h3 { color: #333333; font-size: medium ;
-        font-family: helvetica, arial, sans-serif ;
-        background-color: transparent; }
-    h4 { font-size: small; font-family: helvetica, arial, sans-serif ; }
-
-    table.bug { width: 30px ; height: 15px ; }
-    td.bug { color: #ffffff ; background-color: #990000 ;
-        text-align: center ; width: 30px ; height: 15px ;
-         }
-    td.bug A.link2 { color: #ffffff ; font-weight: bold;
-        text-decoration: none;
-        font-family: monaco, charcoal, geneva, "MS Sans Serif", helvetica, sans-serif;
-        font-size: x-small ; background-color: transparent }
-
-    td.header { color: #ffffff; font-size: x-small ;
-        font-family: arial, helvetica, sans-serif; vertical-align: top;
-        background-color: #666666 ; width: 33% ; }
-    td.author { font-weight: bold; margin-left: 4em; font-size: x-small ; }
-    td.author-text { font-size: x-small; }
-    table.full { vertical-align: top ; border-collapse: collapse ;
-        border-style: solid solid solid solid ;
-        border-color: black black black black ;
-        font-size: small ; text-align: center ; }
-    table.headers, table.none { vertical-align: top ; border-collapse: collapse ;
-        border-style: none;
-        font-size: small ; text-align: center ; }
-    table.full th { font-weight: bold ;
-        border-style: solid ;
-        border-color: black black black black ; }
-    table.headers th { font-weight: bold ;
-        border-style: none none solid none;
-        border-color: black black black black ; }
-    table.none th { font-weight: bold ;
-        border-style: none; }
-    table.full td {
-        border-style: solid solid solid solid ;
-        border-color: #333333 #333333 #333333 #333333 ; }
-    table.headers td, table.none td { border-style: none; }
-
-    hr { height: 1px }
--->
-</style>
+--></style>
 </head>
 <body>
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
 <table summary="layout" width="66%" border="0" cellpadding="0" cellspacing="0"><tr><td><table summary="layout" width="100%" border="0" cellpadding="2" cellspacing="1">
 <tr><td class="header"> </td><td class="header">A. Shchepin</td></tr>
 <tr><td class="header">&nbsp;</td><td class="header">Process-One</td></tr>
@@ -136,14 +154,14 @@
 <tr><td class="header">&nbsp;</td><td class="header">Service 007</td></tr>
 <tr><td class="header">&nbsp;</td><td class="header">June 2008</td></tr>
 </table></td></tr></table>
-<div align="right"><span class="title"><br />Tkabber 0.11.1</span></div>
+<h1><br />Tkabber 0.11.1</h1>
 
 <h3>Abstract</h3>
 
-<p><span class="emph">Tkabber</span> is an open source Jabber client,
-written in <span class="emph">Tcl/Tk</span>.
+<p><em>Tkabber</em> is an open source Jabber client,
+written in <em>Tcl/Tk</em>.
 This memo describes the installation, configuration, and extension of
-<span class="emph">Tkabber</span>.
+<em>Tkabber</em>.
 </p><a name="toc"></a><br /><hr />
 <h3>Table of Contents</h3>
 <p class="toc">
@@ -187,15 +205,13 @@
 Fonts and colors<br />
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#s.preload-crypto">6.1.3.</a>&nbsp;
 Cryptography by default<br />
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#s.preload-tdom">6.1.4.</a>&nbsp;
-Using of external XML parser from tDOM<br />
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#s.preload-debugoutput">6.1.5.</a>&nbsp;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#s.preload-debugoutput">6.1.4.</a>&nbsp;
 Debugging Output<br />
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#s.preload-splashwindow">6.1.6.</a>&nbsp;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#s.preload-splashwindow">6.1.5.</a>&nbsp;
 Splash window<br />
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#s.preload-internation">6.1.7.</a>&nbsp;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#s.preload-internation">6.1.6.</a>&nbsp;
 I18n/L10n<br />
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#s.preload-searching">6.1.8.</a>&nbsp;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#s.preload-searching">6.1.7.</a>&nbsp;
 Searching<br />
 &nbsp;&nbsp;&nbsp;&nbsp;<a href="#s.postload">6.2.</a>&nbsp;
 Post-load<br />
@@ -301,38 +317,39 @@
 <br clear="all" />
 
 <a name="s.features"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.1"></a><h3>1.&nbsp;Features</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.1"></a><h3>1.&nbsp;
+Features</h3>
 
-<p><a href="http://tkabber.jabber.ru/">Tkabber</a>
-provides a <span class="emph">Tcl/Tk</span> interface to the
-<a href="http://www.jabber.org/">Jabber/XMPP</a> instant messaging
+<p><a href='http://tkabber.jabber.ru/'>Tkabber</a>
+provides a <em>Tcl/Tk</em> interface to the
+<a href='http://www.jabber.org/'>Jabber/XMPP</a> instant messaging
 and presence service.
 </p>
-<p><span class="emph">Tcl/Tk</span> is a graphical scripting language that runs on the Unix,
+<p><em>Tcl/Tk</em> is a graphical scripting language that runs on the Unix,
 Windows, and Macintosh platforms.
-The choice of <span class="emph">Tcl/Tk</span> for a Jabber client is three-fold:
+The choice of <em>Tcl/Tk</em> for a Jabber client is three-fold:
 </p>
 <ul class="text">
 <li>it is portable:
-once you install a <span class="emph">Tcl/Tk</span> interpreter on your system,
-the <span class="emph">Tkabber</span> script "just runs" &mdash; without having to compile
+once you install a <em>Tcl/Tk</em> interpreter on your system,
+the <em>Tkabber</em> script "just runs" &mdash; without having to compile
 anything;
 </li>
 <li>it is customizable:
-<span class="emph">Tkabber</span> reads a configuration file when it starts that tells it the
+<em>Tkabber</em> reads a configuration file when it starts that tells it the
 settings of various parameters;
 and,
 </li>
 <li>it is extensible:
-the configuration file is actually a <span class="emph">Tcl</span> script,
-so you can replace or augment entire portions of <span class="emph">Tkabber</span>
+the configuration file is actually a <em>Tcl</em> script,
+so you can replace or augment entire portions of <em>Tkabber</em>
 (if you're so inclined).
 </li>
 </ul>
 
 <p>
-<span class="emph">Tkabber</span> is fully-featured:
+<em>Tkabber</em> is fully-featured:
         </p>
 <blockquote class="text"><dl>
 <dt>sessions:</dt>
@@ -447,20 +464,21 @@
       
 </p>
 <a name="s.requirements"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.2"></a><h3>2.&nbsp;Requirements</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.2"></a><h3>2.&nbsp;
+Requirements</h3>
 
 <p>You should already have installed:
 </p>
 <ul class="text">
-<li><a href="http://sourceforge.net/project/showfiles.php?group_id=10894">Tcl/Tk
+<li><a href='http://sourceforge.net/project/showfiles.php?group_id=10894'>Tcl/Tk
 version 8.3.3</a> (or later, Tcl/Tk 8.4.9 or later is recommended)
 </li>
-<li><a href="http://sourceforge.net/project/showfiles.php?group_id=12883">tcllib
+<li><a href='http://sourceforge.net/project/showfiles.php?group_id=12883'>tcllib
 version 1.2</a> (or later, tcllib 1.8 or later is required for SRV and TXT DNS-records
 support). 
 </li>
-<li><a href="http://sourceforge.net/project/showfiles.php?group_id=12883">BWidget
+<li><a href='http://sourceforge.net/project/showfiles.php?group_id=12883'>BWidget
 1.3</a> (or later)
 </li>
 </ul><p>
@@ -470,27 +488,27 @@
 Otherwise,
 go to the URLs above and click on the appropriate download link for
 your system.
-Both <span class="emph">tcllib</span> and <span class="emph">BWidget</span> are script libraries &mdash;
+Both <em>tcllib</em> and <em>BWidget</em> are script libraries &mdash;
 no compiling is necessary.
-In the case of <span class="emph">Tcl/Tk</span>,
+In the case of <em>Tcl/Tk</em>,
 there are many ready-made binary packages available on the download site.
 </p>
-<p>The <a href="http://www.activestate.com/Products/ActiveTcl">ActiveTcl</a>
+<p>The <a href='http://www.activestate.com/Products/ActiveTcl'>ActiveTcl</a>
 distribution contains all three packages
-(along with the <span class="emph">Img</span> package mentioned next);
+(along with the <em>Img</em> package mentioned next);
 so,
 you may want to use that instead of three separate downloads.
 </p>
 <p>At your discretion,
 there are several optional packages that you may also install.
-<span class="emph">Tkabber</span> will run just fine without them,
-but if they're available <span class="emph">Tkabber</span> will make additional features
+<em>Tkabber</em> will run just fine without them,
+but if they're available <em>Tkabber</em> will make additional features
 available to you.
 So,
 here's the list:
 </p>
 <ul class="text">
-<li><span class="emph">Tcl/Tk</span> supports only a small number of image formats
+<li><em>Tcl/Tk</em> supports only a small number of image formats
 (i.e., bitmaps, GIFs and portable pixmaps).
 If presence information contains avatars,
 these may be in other formats
@@ -499,15 +517,15 @@
 
 Accordingly,
 you may want to install 
-<a href="http://sourceforge.net/projects/tkimg/">Img version
+<a href='http://sourceforge.net/projects/tkimg/'>Img version
 1.2</a> (or later).
 This package works on both Unix and Windows.
 </li><br />
 <br />
 
-<li>By default, Tkabber uses pure-Tcl XML parser. If its performance is
+<li>Tkabber comes bundled with pure-Tcl XML parser. If its performance is
 insufficient, you may want to install
-<a href="http://www.tdom.org/">tDOM version 0.8.0</a> (or later)
+<a href='http://www.tdom.org/'>tDOM version 0.8.0</a> (or later)
 and use expat based XML parser.
 
 </li>
@@ -521,16 +539,16 @@
 
 Accordingly,
 you may to install
-<a href="http://sourceforge.net/project/showfiles.php?group_id=13248">tls
+<a href='http://sourceforge.net/project/showfiles.php?group_id=13248'>tls
 version 1.4.1</a> (or later).
 This package works on both Unix and Windows.
 Note that if you're using Unix,
-then you'll also need to have <span class="emph">OpenSSL</span> installed.
+then you'll also need to have <em>OpenSSL</em> installed.
 Fortunately,
 this comes preinstalled on many Unix systems.
 If it's not on your system,
-check <a href="http://www.openssl.org/source/">OpenSSL source page</a>.
-(The Windows distribution of <span class="emph">tls</span> comes with all the necessary DLLs.)
+check <a href='http://www.openssl.org/source/'>OpenSSL source page</a>.
+(The Windows distribution of <em>tls</em> comes with all the necessary DLLs.)
 </li><br />
 <br />
 
@@ -539,13 +557,13 @@
 <br />
 
 If you want to compress traffic you should install
-<a href="https://gna.org/projects/ztcl/">ZTcl version 1.0b4</a> (or later)
-and <a href="https://gna.org/projects/ztcl/">Tclmore version 0.7b1</a> (or later).
+<a href='https://gna.org/projects/ztcl/'>ZTcl version 1.0b4</a> (or later)
+and <a href='https://gna.org/projects/ztcl/'>Tclmore version 0.7b1</a> (or later).
 <br />
 
-(At the time of 0.11.0 release <span class="emph">ZTcl</span> and <span class="emph">Tclmore</span> home page
+(At the time of 0.11.0 release <em>ZTcl</em> and <em>Tclmore</em> home page
 were unavailable, so you may grab them from
-<a href="http://sgolovan.nes.ru/jabber/ztcl/">a mirror</a>.)
+<a href='http://sgolovan.nes.ru/jabber/ztcl/'>a mirror</a>.)
 
 </li><br />
 <br />
@@ -561,7 +579,7 @@
 <br />
 
 Accordingly,
-you may want to install the <span class="emph">gpgme</span> package,
+you may want to install the <em>gpgme</em> package,
 which,
 at present,
 works only on Unix.
@@ -569,13 +587,13 @@
 you may have to download upto three files:
 
 <ul class="text">
-<li><a href="http://beepcore-tcl.sourceforge.net/tclgpgme-1.0.tgz">Tcl
+<li><a href='http://beepcore-tcl.sourceforge.net/tclgpgme-1.0.tgz'>Tcl
 GPGME version 1.0</a> (or later);
 </li>
-<li><a href="ftp://ftp.gnupg.org/gcrypt/alpha/gpgme/">GPGME
+<li><a href='ftp://ftp.gnupg.org/gcrypt/alpha/gpgme/'>GPGME
 version 0.3.11</a> (or later but only 0.3.x); and,
 </li>
-<li><a href="http://www.gnupg.org/download.html">GPG version 1.0.7</a>
+<li><a href='http://www.gnupg.org/download.html'>GPG version 1.0.7</a>
 (or later).
 </li>
 </ul>
@@ -583,46 +601,46 @@
 <br />
 
 <li>If you're running Unix or Windows,
-then you may want <span class="emph">Tkabber</span> to automatically mark you as away after a
+then you may want <em>Tkabber</em> to automatically mark you as away after a
 priod of inactivity.
 <br />
 
-Accordingly (if you're using <span class="emph">Tcl/Tk</span> 8.3 or 8.4),
+Accordingly (if you're using <em>Tcl/Tk</em> 8.3 or 8.4),
 on Unix,
 you may want to install
-<a href="http://beepcore-tcl.sourceforge.net/tkXwin-1.0.tgz">Tk
+<a href='http://beepcore-tcl.sourceforge.net/tkXwin-1.0.tgz'>Tk
 Xwin version 1.0</a> (or later),
 whilst on WIndows,
 you may want to install
-<a href="http://sgolovan.nes.ru/jabber/tclWinidle/">Tcl
+<a href='http://sgolovan.nes.ru/jabber/tclWinidle/'>Tcl
 Winidle version 0.1</a> (or later).
 </li>
-<li>Users of <span class="emph">Tcl/Tk</span> 8.5 don't have to
+<li>Users of <em>Tcl/Tk</em> 8.5 don't have to
 use external packages to measure their idle time.
 </li><br />
 <br />
 
 <li>If you're running Unix,
-then you may want <span class="emph">Tkabber</span> to use the docking tray.
+then you may want <em>Tkabber</em> to use the docking tray.
 <br />
 
 Accordingly,
 you may want to install
-<a href="http://tkabber.jabber.ru/files/other/Tk_Theme-23.tgz">Tk Theme
-version 1.20</a> (or later) for <span class="emph">KDE</span> icon,
-or <a href="http://sw4me.com/wiki/Tktray">tktray
-version 1.1</a> (or later) for freedesktop icon (supported by modern <span class="emph">KDE</span>
-and <span class="emph">GNOME</span>).
+<a href='http://tkabber.jabber.ru/files/other/Tk_Theme-23.tgz'>Tk Theme
+version 1.20</a> (or later) for <em>KDE</em> icon,
+or <a href='http://sw4me.com/wiki/Tktray'>tktray
+version 1.1</a> (or later) for freedesktop icon (supported by modern <em>KDE</em>
+and <em>GNOME</em>).
 </li><br />
 <br />
 
 <li>If you're running Windows,
-then you may want <span class="emph">Tkabber</span> to use the system tray.
+then you may want <em>Tkabber</em> to use the system tray.
 <br />
 
 Accordingly,
 you may want to install
-<a href="http://sourceforge.net/projects/tktable/">Winico
+<a href='http://sourceforge.net/projects/tktable/'>Winico
 version 0.6</a> (or later).
 
 </li><br />
@@ -634,7 +652,7 @@
 
 Accordingly,
 you may want to install
-<a href="http://tkcon.sourceforge.net">tkcon version 2.3</a>
+<a href='http://tkcon.sourceforge.net'>tkcon version 2.3</a>
 (or later).
 </li>
 </ul><p>
@@ -643,115 +661,119 @@
 don't bother with them!
 </p>
 <a name="s.download"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.3"></a><h3>3.&nbsp;Download, install and run</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.3"></a><h3>3.&nbsp;
+Download, install and run</h3>
 
 <p>Latest stable version is 0.11.1 and available at
-<a href="http://tkabber.jabber.ru/download">http://tkabber.jabber.ru/download</a>.
+<a href='http://tkabber.jabber.ru/download'>http://tkabber.jabber.ru/download</a>.
 </p>
 <p>Older versions can be found at
-<a href="http://files.jabber.ru/tkabber/">http://files.jabber.ru/tkabber/</a>.
+<a href='http://files.jabber.ru/tkabber/'>http://files.jabber.ru/tkabber/</a>.
 </p>
 <p>You can always find the latest development version via SVN. Execute the following command:
-</p><pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
 svn co https://svn.xmpp.ru/repos/tkabber/trunk/tkabber
-</pre>
+</pre></div>
 <p>And if you want to test some plugins, then do
-</p><pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
 svn co https://svn.xmpp.ru/repos/tkabber/trunk/tkabber-plugins
-</pre>
+</pre></div>
 <p>If you use the Debian GNU/Linux distribution, you may want to get 
-all required packages by using <span class="emph">apt</span>. 
+all required packages by using <em>apt</em>. 
 Just execute
-</p><pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
 apt-get install tk tcllib bwidget
-</pre>
+</pre></div>
 <p>or
-</p><pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
 apt-get install tkabber
-</pre>
+</pre></div>
 <p>to get the version included into Debian repository.
 </p>
-<p>No real installation is required, simply copy the <span class="verb">tkabber/</span>
+<p>No real installation is required, simply copy the <tt>tkabber/</tt>
 directory to a commonly-available area, and then either:
 </p>
 <ul class="text">
 <li>put this directory in your search-path; or,
 </li>
-<li>make a calling script/shortcut to the file <span class="verb">tkabber.tcl</span> in that directory.
+<li>make a calling script/shortcut to the file <tt>tkabber.tcl</tt> in that directory.
 </li>
 </ul><p>
-Although <span class="emph">Tkabber</span> comes with a Makefile,
+Although <em>Tkabber</em> comes with a Makefile,
 there's really not much to do &mdash; most folks prefer to simply copy
 the distribution directory to somewhere in their home directory.
 </p>
 <p>From the shell,
-you can invoke <span class="emph">Tkabber</span> as:
-</p><pre>
+you can invoke <em>Tkabber</em> as:
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
 % tkabber.tcl
-</pre>
+</pre></div>
 <p>whilst on a windowing system,
 simply double-click on that file or a short-cut to it.
 </p>
-<p>If you're a Tcl/Tk guru and have installed <span class="emph">tkcon</span>,
-then you may want to invoke <span class="emph">Tkabber</span> as:
-</p><pre>
+<p>If you're a Tcl/Tk guru and have installed <em>tkcon</em>,
+then you may want to invoke <em>Tkabber</em> as:
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
 % tkcon.tcl -exec "" -root .tkconn -main "source tkabber.tcl"
-</pre>
+</pre></div>
 <p>
-<span class="emph">Tkabber</span> will automatically know that it's running under <span class="emph">tkcon</span>
-and will start by hiding the <span class="emph">Tk</span> console window.
-Look under the <span class="verb">Help</span> menu to find the checkbutton to show the
+<em>Tkabber</em> will automatically know that it's running under <em>tkcon</em>
+and will start by hiding the <em>Tk</em> console window.
+Look under the <tt>Help</tt> menu to find the checkbutton to show the
 console.
 </p>
 <p>
-            Also you can setup <span class="emph">Tkabber</span> as handler for
-            <a href="http://www.xmpp.org/extensions/xep-0081.html">XMPP/Jabber MIME Type</a>.  For this you need to set hanler for
-            <span class="verb">application/xmpp+xml</span> MIME type in your
+            Also you can setup <em>Tkabber</em> as handler for
+            <a href='http://www.xmpp.org/extensions/xep-0081.html'>XMPP/Jabber MIME Type</a>.  For this you need to set hanler for
+            <tt>application/xmpp+xml</tt> MIME type in your
             browser to something like this:
           
-</p><pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
 tkabber -mime %s
-</pre>
+</pre></div>
 <a name="s.upgrading0.10.0"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.4"></a><h3>4.&nbsp;Upgrading from version 0.10.0</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.4"></a><h3>4.&nbsp;
+Upgrading from version 0.10.0</h3>
 
-<p>When upgrading <span class="emph">Tkabber</span> from version 0.10.0 or earlier note that
+<p>When upgrading <em>Tkabber</em> from version 0.10.0 or earlier note that
 several configuration options and user interface elements have been changed.
 </p>
 <a name="ss.upgrading0.10.0.conf"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.4.1"></a><h3>4.1.&nbsp;Configuration options</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.4.1"></a><h3>4.1.&nbsp;
+Configuration options</h3>
 
 <p>There are notable changes in handling connection through proxy servers, managing
 fonts and balloon colors, and detecting breaks in underlying TCP
 connection to a server.
 </p>
 <a name="ss.upgrading0.10.0.conf.proxy"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.4.1.1"></a><h3>4.1.1.&nbsp;Proxy servers</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.4.1.1"></a><h3>4.1.1.&nbsp;
+Proxy servers</h3>
 
 <p>Since SOCKS4 and SOCKS5 proxy types were implemented in addition to HTTP
 proxy type, the whole set of connection options regarding proxy servers has
 been changed. This means that after upgrade the old values stored using the
 Customize mechanism will be lost and the same values in
-<span class="verb">loginconf</span> arrays will not be recognized any longer.
+<tt>loginconf</tt> arrays will not be recognized any longer.
 </p>
 <p>If you do not use HTTP proxy, you can skip this section because these
 changes will not affect you.
 </p>
-<p>If your options are set using the <span class="emph">Customize</span> interface,
+<p>If your options are set using the <em>Customize</em> interface,
 write down values for options relevant to proxy server from the "Login"
-group of <span class="emph">Customize</span> settings, then after upgrade visit
+group of <em>Customize</em> settings, then after upgrade visit
 this group of settings, select "HTTPS" for the option
-<span class="verb">::loginconf(proxy)</span> and then fill in the rest
+<tt>::loginconf(proxy)</tt> and then fill in the rest
 of relevant settings with recorded values. As usual, save each setting after
 you change them. Do not be surprised with the word "HTTPS" (which stands for
-"HTTP over SSL"). It just means that <span class="emph">Tkabber</span> will use CONNECT
+"HTTP over SSL"). It just means that <em>Tkabber</em> will use CONNECT
 method to tunnel TCP connection through a proxy.
 </p>
-<p>If you maintain <span class="verb">loginconf</span> arrays in config.tcl,
+<p>If you maintain <tt>loginconf</tt> arrays in config.tcl,
 you have to modify each array using this scheme:
 </p>
 <ul class="text">
@@ -777,47 +799,49 @@
 
 </p>
 <a name="ss.upgrading0.10.0.conf.fonts"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.4.1.2"></a><h3>4.1.2.&nbsp;Resources to control fonts</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.4.1.2"></a><h3>4.1.2.&nbsp;
+Resources to control fonts</h3>
 
 <p>Fonts handling has been partially reworked: the global variable
-<span class="verb">font</span> that
-controls chat and roster fonts has been removed and now <span class="emph">Tkabber</span>
-relies on <span class="emph">Tk</span> option database to manage these settings.
+<tt>font</tt> that
+controls chat and roster fonts has been removed and now <em>Tkabber</em>
+relies on <em>Tk</em> option database to manage these settings.
 You can override roster and chat fonts independently of each other. To do
-that on systems not based on X Window use <span class="emph">Customize</span> options
+that on systems not based on X Window use <em>Customize</em> options
 described below.
 </p>
 <p>The main consequence of this change is that now the fonts are taken from
-<span class="emph">Tk</span> option database and if it contains sane values you don't need to
+<em>Tk</em> option database and if it contains sane values you don't need to
 touch anything (until the update you had to tweak the
-<span class="verb">font</span> variable because it was set to font "fixed"
-by default). The variable <span class="verb">font</span> does not have any
+<tt>font</tt> variable because it was set to font "fixed"
+by default). The variable <tt>font</tt> does not have any
 special meaning starting from 0.11.0 release.
 </p>
 <p>The second consequence is that you are now able to set fonts for chat
 and roster windows separately from each other using this list as a reference:
 </p>
 <ul class="text">
-<li><span class="verb">*font</span> <span class="emph">Tk</span> option database resource sets default font for
-all widgets used in <span class="emph">Tkabber</span>.
+<li><tt>*font</tt> <em>Tk</em> option database resource sets default font for
+all widgets used in <em>Tkabber</em>.
 </li>
-<li><span class="verb">*Chat*Text.font</span> <span class="emph">Tk</span> option database resource can be used
+<li><tt>*Chat*Text.font</tt> <em>Tk</em> option database resource can be used
 to override font used for chat windows. This resource can be overridden by the
-<span class="verb">::ifacetk::options(font)</span> option from the
-"Main Interface" group of <span class="emph">Customize</span> settings.
+<tt>::ifacetk::options(font)</tt> option from the
+"Main Interface" group of <em>Customize</em> settings.
 </li>
-<li><span class="verb">*Roster*font</span> <span class="emph">Tk</span> option database resource can be used to override
+<li><tt>*Roster*font</tt> <em>Tk</em> option database resource can be used to override
 font used for roster windows. This resource can be overridden by the
-<span class="verb">::ifacetk::options(roster_font)</span> option from the
-"Main Interface" group of <span class="emph">Customize</span> settings.
+<tt>::ifacetk::options(roster_font)</tt> option from the
+"Main Interface" group of <em>Customize</em> settings.
 </li>
 </ul><p>
 
 </p>
 <a name="ss.upgrading0.10.0.conf.kalive"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.4.1.3"></a><h3>4.1.3.&nbsp;Keep-alives and dead link detection</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.4.1.3"></a><h3>4.1.3.&nbsp;
+Keep-alives and dead link detection</h3>
 
 <p>Keep-alive mechanism that was used to keep NATP devices from disconnecting
 idle XMPP sessions was accompanied in 0.10.0 with "XMPP ping" mechanism
@@ -828,9 +852,9 @@
 so the following two global options have no effect now:
 </p>
 <ul class="text">
-<li><span class="verb">keep_alive</span>
+<li><tt>keep_alive</tt>
 </li>
-<li><span class="verb">keep_alive_interval</span>
+<li><tt>keep_alive_interval</tt>
 </li>
 </ul><p>
 
@@ -839,12 +863,12 @@
 options in the "IQ" group of Customize settings:
 </p>
 <ul class="text">
-<li>Enabling <span class="verb">::plugins::ping::options(ping)</span> will make
-<span class="emph">Tkabber</span> periodically
+<li>Enabling <tt>::plugins::ping::options(ping)</tt> will make
+<em>Tkabber</em> periodically
 send xmpp:ping IQ request to the server.
 </li>
-<li>Set <span class="verb">::plugins::ping::options(timeout)</span> option to a number of seconds
-<span class="emph">Tkabber</span> should wait for either a xmpp:ping reply or an error to arrive
+<li>Set <tt>::plugins::ping::options(timeout)</tt> option to a number of seconds
+<em>Tkabber</em> should wait for either a xmpp:ping reply or an error to arrive
 from the server; if there is no answer from the server during this
 timeout, the socket for this connection will be forcibly disconnected.
 </li>
@@ -852,94 +876,97 @@
 
 </p>
 <a name="ss.upgrading0.10.0.conf.ballons"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.4.1.4"></a><h3>4.1.4.&nbsp;Resources to control appearance of balloon windows</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.4.1.4"></a><h3>4.1.4.&nbsp;
+Resources to control appearance of balloon windows</h3>
 
 <p>Resources controlling the appearance of balloon windows have been made
-more generic. If you use custom <span class="emph">Tk</span> option database settings for balloon
+more generic. If you use custom <em>Tk</em> option database settings for balloon
 windows, change the relevant resources using this map:
 </p>
 <ul class="text">
-<li>Change references to <span class="verb">*Balloon.background</span> and
-<span class="verb">*Balloon.foreground</span>
-resources to <span class="verb">*Balloon*background</span> and
-<span class="verb">*Balloon*foreground</span>, respectively.
+<li>Change references to <tt>*Balloon.background</tt> and
+<tt>*Balloon.foreground</tt>
+resources to <tt>*Balloon*background</tt> and
+<tt>*Balloon*foreground</tt>, respectively.
 </li>
-<li>Change references to <span class="verb">*Balloon*padX</span> and
-<span class="verb">*Balloon*padY</span> resources to
-<span class="verb">*Balloon.text.padX</span> and
-<span class="verb">*Balloon.text.padY</span>, respectively.
+<li>Change references to <tt>*Balloon*padX</tt> and
+<tt>*Balloon*padY</tt> resources to
+<tt>*Balloon.text.padX</tt> and
+<tt>*Balloon.text.padY</tt>, respectively.
 </li>
 </ul><p>
 
 </p>
 <a name="ss.upgrading0.10.0.conf.parser"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.4.1.5"></a><h3>4.1.5.&nbsp;Support for external XML parser</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.4.1.5"></a><h3>4.1.5.&nbsp;
+Support for external XML parser</h3>
 
-<p>Support for <span class="emph">TclXML</span> as an external XML parser has been removed
-(since <span class="emph">TclXML</span> has anyway been unable to support partial XML processing)
-along with the global variable <span class="verb">use_external_tclxml</span>
-which controlled the loading of <span class="emph">TclXML</span>.
+<p>Support for <em>TclXML</em> as an external XML parser has been removed
+(since <em>TclXML</em> has anyway been unable to support partial XML processing)
+along with the global variable <tt>use_external_tclxml</tt>
+which controlled the loading of <em>TclXML</em>.
 </p>
-<p>Now expat-based <span class="emph">Tcl</span> package <span class="emph">tDOM</span>
+<p>Now expat-based <em>Tcl</em> package <em>tDOM</em>
 is supported as an external XML
-parser. It can be enabled by loading it manually in config.tcl
-using the Tcl package command, for example:
-</p><pre>
-package require tdom
-</pre>
+parser. It is enabled by default if it is installed.
+</p>
 <a name="ss.upgrading0.10.0.iface"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.4.2"></a><h3>4.2.&nbsp;User interface</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.4.2"></a><h3>4.2.&nbsp;
+User interface</h3>
 
 <p>There are notable changes in systray mouse gestures, appearance of a main
 tabbed window, and in behavior of paned window splitters.
 </p>
 <a name="ss.upgrading0.10.0.iface.tray"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.4.2.1"></a><h3>4.2.1.&nbsp;System tray icon mouse gestures</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.4.2.1"></a><h3>4.2.1.&nbsp;
+System tray icon mouse gestures</h3>
 
 <p>Mouse gestures bound to system tray (system notification area) icon
 have been reworked:
 </p>
 <ul class="text">
 <li>Single click on it with the left mouse button now unconditionally
-brings the main <span class="emph">Tkabber</span> window to front, possibly deiconifying it first.
+brings the main <em>Tkabber</em> window to front, possibly deiconifying it first.
 </li>
 <li>Single click with the middle mouse button now unconditionally
-iconifies the main <span class="emph">Tkabber</span> window.
+iconifies the main <em>Tkabber</em> window.
 </li>
 </ul><p>
 
 </p>
 <p>This differs from the previois behaviour where single click with the
-left mouse button on <span class="emph">Tkabber</span>'s system tray icon toggled the
-iconified/visible state of the main <span class="emph">Tkabber</span> window.
+left mouse button on <em>Tkabber</em>'s system tray icon toggled the
+iconified/visible state of the main <em>Tkabber</em> window.
 </p>
 <a name="ss.upgrading0.10.0.iface.tabs"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.4.2.2"></a><h3>4.2.2.&nbsp;New tab management widget</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.4.2.2"></a><h3>4.2.2.&nbsp;
+New tab management widget</h3>
 
-<p>The <span class="emph">notebook</span> widget which was used to render tabs in tabbed
+<p>The <em>notebook</em> widget which was used to render tabs in tabbed
 interface mode has been replaced with a new custom widget providing
 the ability for multi-row placement of tabs and docking them to the
 left or right sides of the chat window (in addition to top or bottom
 docking available in 0.10.0 version and earlier).
 </p>
-<p>If you adjusted any specific <span class="emph">Tk</span> option database resources pertaining
-to that <span class="emph">notebook</span> widget, you have to change them keeping in mind
-that the new widget is just a bunch of <span class="emph">Tk</span> buttons (class
-<span class="verb">Button</span>)
-placed in a frame (called <span class="verb">.nb</span> as before). The class name for the
-new widget is <span class="verb">ButtonBar</span>.
+<p>If you adjusted any specific <em>Tk</em> option database resources pertaining
+to that <em>notebook</em> widget, you have to change them keeping in mind
+that the new widget is just a bunch of <em>Tk</em> buttons (class
+<tt>Button</tt>)
+placed in a frame (called <tt>.nb</tt> as before). The class name for the
+new widget is <tt>ButtonBar</tt>.
 </p>
-<p>So if you explicitly set, say <span class="verb">*Notebook*font</span> option, you have to
-change it to <span class="verb">*ButtonBar*font</span> and so on.
+<p>So if you explicitly set, say <tt>*Notebook*font</tt> option, you have to
+change it to <tt>*ButtonBar*font</tt> and so on.
 </p>
 <a name="ss.upgrading0.10.0.iface.splitters"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.4.2.3"></a><h3>4.2.3.&nbsp;Window splitters</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.4.2.3"></a><h3>4.2.3.&nbsp;
+Window splitters</h3>
 
 <p>Window splitters (thin vertical and horizontal windows used to change
 relative sizes of windows between which a splitter is placed) have been
@@ -948,76 +975,78 @@
 "active point" of a splitter.
 </p>
 <a name="s.upgrading0.9.9"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.5"></a><h3>5.&nbsp;Upgrading from version 0.9.9</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.5"></a><h3>5.&nbsp;
+Upgrading from version 0.9.9</h3>
 
-<p>When upgrading <span class="emph">Tkabber</span> from version 0.9.9 or earlier note the following:
+<p>When upgrading <em>Tkabber</em> from version 0.9.9 or earlier note the following:
 </p>
 <ul class="text">
-<li>On Macintosh or Microsoft Windows <span class="emph">Tkabber</span> will copy
-    it's configuration directory to a new location (see <a class="info" href="#s.configuration">the next section<span> (</span><span class="info">Configuration</span><span>)</span></a>
+<li>On Macintosh or Microsoft Windows <em>Tkabber</em> will copy
+    it's configuration directory to a new location (see <a class='info' href='#s.configuration'>the next section<span> (</span><span class='info'>Configuration</span><span>)</span></a>
     for details). If the transfer of the config directory goes smoothly you may delete old
-    <span class="verb">"~/.tkabber"</span>
-    directory and replace its name in your config file by <span class="verb">$::configdir</span>.
+    <tt>"~/.tkabber"</tt>
+    directory and replace its name in your config file by <tt>$::configdir</tt>.
 </li>
-<li>Also, <span class="emph">Tkabber</span> will convert chatlogs directory to a new format.
+<li>Also, <em>Tkabber</em> will convert chatlogs directory to a new format.
 </li>
-<li>Also, <span class="emph">Tkabber</span> changed the way it works with emoticons. Instead of loading them in config file
-    you may put you faivorite emoticons directory into <span class="verb">$::configdir/plugins</span> directory,
+<li>Also, <em>Tkabber</em> changed the way it works with emoticons. Instead of loading them in config file
+    you may put you faivorite emoticons directory into <tt>$::configdir/plugins</tt> directory,
     restart Tkabber and then choose emoticons set using Customize GUI.
 </li>
 </ul><p>
 
 </p>
 <a name="s.configuration"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.6"></a><h3>6.&nbsp;Configuration</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.6"></a><h3>6.&nbsp;
+Configuration</h3>
 
-<p><span class="emph">Tkabber</span> maintains its configuration using a set
+<p><em>Tkabber</em> maintains its configuration using a set
 of files placed in a special configuration directory which
-location depends on the operating system <span class="emph">Tkabber</span>
+location depends on the operating system <em>Tkabber</em>
 runs on. These locations are:
 </p>
 <ul class="text">
-<li>Unix systems: <span class="verb">"~/.tkabber"</span>;
+<li>Unix systems: <tt>"~/.tkabber"</tt>;
         
 </li>
 <li>Macintosh:
-        <span class="verb">"~/Library/Application Support/Tkabber"</span>;
+        <tt>"~/Library/Application Support/Tkabber"</tt>;
         
 </li>
 <li>Under Microsoft Windows this location
         is governed by the policy of the particular flavor
         of this OS, but the general rule is that the
-        <span class="emph">Tkabber</span> configuration directory is named
-        <span class="verb">"Tkabber"</span> and is located
+        <em>Tkabber</em> configuration directory is named
+        <tt>"Tkabber"</tt> and is located
         in the special system folder for storing application-specific data.
         For example, under Windows XP this will be something like
-        <span class="verb">"C:\Documents and Settings\USERNAME\Application Data\Tkabber"</span>,
-        where <span class="verb">"USERNAME"</span>
+        <tt>"C:\Documents and Settings\USERNAME\Application Data\Tkabber"</tt>,
+        where <tt>"USERNAME"</tt>
         is the login name of a particular operating system's user.
         
 </li>
 </ul><p>
 
 </p>
-<p><span class="emph">Tkabber</span> also honors the value of the
-<span class="verb">"TKABBER_HOME"</span> environment variable
+<p><em>Tkabber</em> also honors the value of the
+<tt>"TKABBER_HOME"</tt> environment variable
 &mdash; if it exists the whole OS-based guessing of the
 configuration directory location is cancelled and the value of
 this environment variable is used instead.
 </p>
-<p>Once the pathname of the <span class="emph">Tkabber</span> configuration
+<p>Once the pathname of the <em>Tkabber</em> configuration
 directory is known, its value is assigned to the
-<span class="verb">"configdir"</span> global Tcl variable
+<tt>"configdir"</tt> global Tcl variable
 which can be accessed from within the main
-<span class="emph">Tkabber</span> configuration file (see below).
+<em>Tkabber</em> configuration file (see below).
 </p>
-<p>One of the first things that <span class="emph">Tkabber</span> does
+<p>One of the first things that <em>Tkabber</em> does
 when it's starting up is reading a file
 located in its configuration directory under the name
-<span class="verb">"config.tcl"</span>.
-This is a <span class="emph">Tcl</span> source file,
+<tt>"config.tcl"</tt>.
+This is a <em>Tcl</em> source file,
 so obviously,
 it's a lot easier to maintain this file if you know the Tcl
 programming language.
@@ -1025,14 +1054,14 @@
 that's okay &mdash; most things you'll need to do are pretty simple!
 (In fact,
 if you don't have your own configuration file,
-you'll get the vanilla <span class="emph">Tkabber</span>,
+you'll get the vanilla <em>Tkabber</em>,
 which hopefully you'll find quite usable.)
 </p>
-<p>Note that almost all <span class="emph">Tkabber</span> options can be cofigured
+<p>Note that almost all <em>Tkabber</em> options can be cofigured
 using graphical interface (menu Tkabber->Customize), so editing configuration
 file is not strictly necessary.
 </p>
-<p><span class="emph">Tkabber</span> is configured in four stages:
+<p><em>Tkabber</em> is configured in four stages:
 </p>
 <ul class="text">
 <li>in the pre-load stage,
@@ -1042,7 +1071,7 @@
 configuration options for each module are set;
 </li>
 <li>in the menu-load stage,
-the user is given an option to re-arrange <span class="emph">Tkabber's</span> menu bar; and,
+the user is given an option to re-arrange <em>Tkabber's</em> menu bar; and,
 </li>
 <li>the final-load stage allows any last changes to be made before the
 "login" dialog window is displayed to the user.
@@ -1052,13 +1081,14 @@
 in turn.
 </p>
 <a name="s.preload"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.6.1"></a><h3>6.1.&nbsp;Pre-load</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.6.1"></a><h3>6.1.&nbsp;
+Pre-load</h3>
 
-<p>There are a few things that you may let <span class="emph">Tkabber</span> know
+<p>There are a few things that you may let <em>Tkabber</em> know
 immediately.
 These are:
-</p><pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
 # tabbed interface
 
 set ifacetk::options(use_tabbar) 1
@@ -1079,11 +1109,6 @@
 set ssj::options(encrypt-traffic) 0
 
 
-# using of external XML parser
-
-package require tdom 0.8
-
-
 # debugging output
 
 set debug_lvls {xmpp warning}
@@ -1097,108 +1122,110 @@
 # force english labels instead of native language
 
 ::msgcat::mclocale en
-</pre>
+</pre></div>
 <a name="s.preload.tab"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.6.1.1"></a><h3>6.1.1.&nbsp;Tabbed Interface</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.6.1.1"></a><h3>6.1.1.&nbsp;
+Tabbed Interface</h3>
 
 <p>The first of these options,
-<span class="verb">ifacetk::options(use_tabbar)</span>,
-tells <span class="emph">Tkabber</span> whether you want a tabbed interface or not.
+<tt>ifacetk::options(use_tabbar)</tt>,
+tells <em>Tkabber</em> whether you want a tabbed interface or not.
 If not,
 here's what to put in your configuration file:
-</p><pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
 set ifacetk::options(use_tabbar) 0
-</pre>
-<p>Although <span class="emph">Tkabber</span> immediately applies most of its configuration changes,
-in order to apply changed option <span class="verb">ifacetk::options(use_tabbar)</span> you
-have to restart <span class="emph">Tkabber</span>. So, basically you have two options:
-set <span class="verb">ifacetk::options(use_tabbar)</span> at the
+</pre></div>
+<p>Although <em>Tkabber</em> immediately applies most of its configuration changes,
+in order to apply changed option <tt>ifacetk::options(use_tabbar)</tt> you
+have to restart <em>Tkabber</em>. So, basically you have two options:
+set <tt>ifacetk::options(use_tabbar)</tt> at the
 beginning of your configuration file, or using graphical interface save the option and restart
-<span class="emph">Tkabber</span>.
+<em>Tkabber</em>.
 </p>
 <a name="s.preload-looknfeel"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.6.1.2"></a><h3>6.1.2.&nbsp;Fonts and colors</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.6.1.2"></a><h3>6.1.2.&nbsp;
+Fonts and colors</h3>
 
-<p>Many aspects of the <span class="emph">Tkabber</span>'s visual appearance
+<p>Many aspects of the <em>Tkabber</em>'s visual appearance
         such as fonts, colors and geometry of windows can be
         configured using the
-        <a href="http://wiki.tcl.tk/1727">Tk option database.</a>
+        <a href='http://wiki.tcl.tk/1727'>Tk option database.</a>
 </p>
-<p>The corresponding <span class="emph">Tk</span>'s
-        <a href="http://www.tcl.tk/man/tcl8.4/TkCmd/option.htm">option</a>
+<p>The corresponding <em>Tk</em>'s
+        <a href='http://www.tcl.tk/man/tcl8.4/TkCmd/option.htm'>option</a>
         command can be used in the
-        <span class="emph">Tkabber</span>'s configuration file in any acceptable way:
+        <em>Tkabber</em>'s configuration file in any acceptable way:
         from small tweaks to reading files containing elaborate sets of
         configuration commands; ready-to-use examples of such files are
         included in the distribution and are located under the
         "examples/xrdb" directory.
 </p>
-<p>The <span class="emph">Tk</span> toolkit is able to initialize its option
-        database from the <span class="emph">XRDB</span> (X Resource Database)
+<p>The <em>Tk</em> toolkit is able to initialize its option
+        database from the <em>XRDB</em> (X Resource Database)
         if its availability is detected at run time.
         This means that any settings described here can be tuned via the
         standard XRDB mechanism
-        (see <span class="verb">man xrdb</span>).
+        (see <tt>man xrdb</tt>).
 </p>
-<p>Beware though that the <span class="emph">Tk</span>'s semantics of matching
+<p>Beware though that the <em>Tk</em>'s semantics of matching
         option specifications against the option database differ in some
-        subtle details from that of the <span class="emph">Xt</span> toolkit.
-        The most notable one is the priority of options: <span class="emph">Tk</span>
-        prefers the latest option it sees, while <span class="emph">Xt</span>
+        subtle details from that of the <em>Xt</em> toolkit.
+        The most notable one is the priority of options: <em>Tk</em>
+        prefers the latest option it sees, while <em>Xt</em>
         prefers "the most specific" one.
 </p>
-<p>When specifying <span class="emph">Tkabber</span>-specific options in your
-        <span class="emph">XRDB</span> file use the "Tkabber" class as the root
+<p>When specifying <em>Tkabber</em>-specific options in your
+        <em>XRDB</em> file use the "Tkabber" class as the root
         element of the options.
 </p>
-<p>See <a class="info" href="#XRDB">Appendix&nbsp;B<span> (</span><span class="info">Tk option database resources</span><span>)</span></a> for a list of all the resources that you
-        can set to control <span class="emph">Tkabber's</span> look-and-feel.
+<p>See <a class='info' href='#XRDB'>Appendix&nbsp;B<span> (</span><span class='info'>Tk option database resources</span><span>)</span></a> for a list of all the resources that you
+        can set to control <em>Tkabber's</em> look-and-feel.
 </p>
 <p>
               Probably the most commonly used way to configure
-                  <span class="emph">Tkabber</span>'s visual appearance (especially on
-                  Windows platforms which lack <span class="emph">XRDB</span>
+                  <em>Tkabber</em>'s visual appearance (especially on
+                  Windows platforms which lack <em>XRDB</em>
                   mechanism) is to put all the necessary settings in some
-                  file and then ask <span class="emph">Tk</span> to update its option
+                  file and then ask <em>Tk</em> to update its option
                   database from it, like this:
             
-</p><pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
     set load_default_xrdb 0
     option readfile $::configdir/newlook.xrdb userDefault
-</pre>
+</pre></div>
 <p>
-              The first line tells <span class="emph">Tkabber</span> not to load its default "xrdb"
-              file, whilst the second line tells <span class="emph">Tkabber</span> which file to load
+              The first line tells <em>Tkabber</em> not to load its default "xrdb"
+              file, whilst the second line tells <em>Tkabber</em> which file to load
               instead. Look at the provided example "xrdb" files to get the idea
                   about how they are organised. Of course, you can use any of that
                   files as a template. And of course, you can simply specify any
                   of the example files instead of your own to the
-                  <span class="verb">option readfile</span> command to get the
+                  <tt>option readfile</tt> command to get the
                   provided "theme".
             
 </p>
 <p>Alternatively,
 if you're a Tcl "old timer", you can always do:
 
-</p><pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
     set load_default_xrdb 0
     tk_bisque
-</pre>
+</pre></div>
 <p>to set the palette to a pleasing color scheme.
 Read more about this in
-<span class="verb">man palette</span>.
+<tt>man palette</tt>.
 
 </p>
-<p>You can also customize the fonts <span class="emph">Tkabber</span> uses to
+<p>You can also customize the fonts <em>Tkabber</em> uses to
 render its user interface:
 
-</p><pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
     option add *font \
            "-monotype-arial-medium-r-normal-*-13-*-*-*-*-*-iso10646-1" \
            userDefault
-</pre>
+</pre></div>
 <p>
 
 <p>The above setting
@@ -1211,11 +1238,11 @@
 <p>If you want to specify another font for roster labels use the
 following option:
 
-</p><pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
     option add *Roster*font \
            "-misc-fixed-medium-r-normal-*-12-*-*-*-*-*-iso10646-1" \
            userDefault
-</pre>
+</pre></div>
 <p>
 
 <p>When picking fonts, observe these rules:
@@ -1225,27 +1252,28 @@
 <li>Under X, encoding (charset) of fonts must match that of your locale.
 </li>
 <li>Ensure that the specified font exists, since if it's not,
-        <span class="emph">Tk</span> will try hard to pick the most suitable one which
+        <em>Tk</em> will try hard to pick the most suitable one which
         often yields not what you want. (The best bet is to first pick
-        the font using some tool like <span class="verb">xfontsel</span>.)
+        the font using some tool like <tt>xfontsel</tt>.)
 </li>
 </ul>
 
-<p>Note that when specifying settings using the <span class="emph">Tkabber</span>'s
-configuration files (i.e. not using <span class="emph">XRDB</span> directly)
+<p>Note that when specifying settings using the <em>Tkabber</em>'s
+configuration files (i.e. not using <em>XRDB</em> directly)
 you are not forced to use "X-style" (XLFD) font descriptions and may
-instead specify fonts using sometimes more convenient <span class="emph">Tk</span>
+instead specify fonts using sometimes more convenient <em>Tk</em>
 features described in
-<a href="http://tcl.tk/man/tcl8.4/TkCmd/font.htm#M13">Tk font manual page</a>.
+<a href='http://tcl.tk/man/tcl8.4/TkCmd/font.htm#M13'>Tk font manual page</a>.
 </p>
 
 
 <a name="s.preload-crypto"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.6.1.3"></a><h3>6.1.3.&nbsp;Cryptography by default</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.6.1.3"></a><h3>6.1.3.&nbsp;
+Cryptography by default</h3>
 
 <p>Next,
-you may want to <span class="emph">Tkabber</span> to use cryptography by default.
+you may want to <em>Tkabber</em> to use cryptography by default.
 There are two options:
 </p>
 <ul class="text">
@@ -1256,40 +1284,28 @@
 </li>
 </ul><p>
 (By defining these options early on,
-<span class="emph">Tkabber</span> will complain immediately if it isn't able to load its
+<em>Tkabber</em> will complain immediately if it isn't able to load its
 cryptographic module;
 otherwise,
 the default behavior is to proceed without any cryptographic buttons,
 menus, and so on.)
 </p>
-<a name="s.preload-tdom"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.6.1.4"></a><h3>6.1.4.&nbsp;Using of external XML parser from tDOM</h3>
-
-<p>
-              By default for parsing XML <span class="emph">Tkabber</span> uses (modified) <span class="emph">TclXML</span>
-              library that comes with it distribution. This parser is pure-Tcl, and it
-              performance can be not suitable.  Then you can install <span class="emph">tDOM</span>
-              with built-in <span class="emph">expat</span> support and require it in the config file:
-            
-</p><pre>
-package require tdom 0.8
-</pre>
 <a name="s.preload-debugoutput"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.6.1.5"></a><h3>6.1.5.&nbsp;Debugging Output</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.6.1.4"></a><h3>6.1.4.&nbsp;
+Debugging Output</h3>
 
-<p><span class="emph">Tkabber</span> has a lot of debugging output.
+<p><em>Tkabber</em> has a lot of debugging output.
 By default,
 it gets printed to the standard output by a Tcl procedure called
-<span class="verb">debugmsg</span>.
+<tt>debugmsg</tt>.
 However,
 only information about those modules listed in a variable called
-<span class="verb">debug_lvls</span> will be printed.
+<tt>debug_lvls</tt> will be printed.
 </p>
 <p>If you know how to program Tcl,
 then this will seem rather obvious:
-</p><pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
 set debug_lvls [list message presence ssj warning]
 
 # if you want a different behavior,
@@ -1298,72 +1314,76 @@
 proc debugmsg {module msg} {
 #    ...
 }
-</pre>
-<p>Most users won't care about <span class="verb">debugmsg</span> because they're
-running <span class="emph">Tkabber</span> under an application launcher so the standard
+</pre></div>
+<p>Most users won't care about <tt>debugmsg</tt> because they're
+running <em>Tkabber</em> under an application launcher so the standard
 output is never seen.
 However,
 if this isn't the case for you,
 and you just don't want to see any of this stuff,
 put this one line in your configuration file:
-</p><pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
 set debug_lvls {}
-</pre>
+</pre></div>
 <a name="s.preload-splashwindow"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.6.1.6"></a><h3>6.1.6.&nbsp;Splash window</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.6.1.5"></a><h3>6.1.5.&nbsp;
+Splash window</h3>
 
 <p>
-              By default, when <span class="emph">Tkabber</span> startup, it show loading process in
+              By default, when <em>Tkabber</em> startup, it show loading process in
               splash window.  To disable this feature, put this in your
               configuration file:
             
-</p><pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
 set show_splash_window 0
-</pre>
+</pre></div>
 <a name="s.preload-internation"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.6.1.7"></a><h3>6.1.7.&nbsp;I18n/L10n</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.6.1.6"></a><h3>6.1.6.&nbsp;
+I18n/L10n</h3>
 
 <p>
-              <span class="emph">Tkabber</span> can show all messages in user's native language.  This
-              is done by using Tcl's built-in <span class="emph">msgcat</span> package which looks for
-              a directory called <span class="verb">msgs/</span> wherever you installed <span class="emph">Tkabber</span>,
-              and then uses the <span class="verb">LC_MESSAGES</span> environment variable
-              (or <span class="verb">LANG</span>
-              if <span class="verb">LC_MESSAGES</span> not set) to select the appropriate file.  If
+              <em>Tkabber</em> can show all messages in user's native language.  This
+              is done by using Tcl's built-in <em>msgcat</em> package which looks for
+              a directory called <tt>msgs/</tt> wherever you installed <em>Tkabber</em>,
+              and then uses the <tt>LC_MESSAGES</tt> environment variable
+              (or <tt>LANG</tt>
+              if <tt>LC_MESSAGES</tt> not set) to select the appropriate file.  If
               you wish, you can force use of a particular language by putting a
               line like this in your configuration file:
             
-</p><pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
 ::msgcat::mclocale en
-</pre>
+</pre></div>
 <a name="s.preload-searching"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.6.1.8"></a><h3>6.1.8.&nbsp;Searching</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.6.1.7"></a><h3>6.1.7.&nbsp;
+Searching</h3>
 
-<p><span class="emph">Tkabber</span> allows the user to perform textual
+<p><em>Tkabber</em> allows the user to perform textual
                 searching in certain classes of its windows. This searching
                 is controlled by several settings which can be specified in
                 this section.
 </p>
 <p>These settings are described in detail in
-                <a class="info" href="#s.ui-searching">Section&nbsp;8.1<span> (</span><span class="info">Searching</span><span>)</span></a>.
+                <a class='info' href='#s.ui-searching'>Section&nbsp;8.1<span> (</span><span class='info'>Searching</span><span>)</span></a>.
 </p>
 <a name="s.postload"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.6.2"></a><h3>6.2.&nbsp;Post-load</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.6.2"></a><h3>6.2.&nbsp;
+Post-load</h3>
 
-<p>After <span class="emph">Tkabber</span> reads your configuration file,
+<p>After <em>Tkabber</em> reads your configuration file,
 it loads all of its own modules,
-it then invokes a procedure called <span class="verb">postload</span>.
+it then invokes a procedure called <tt>postload</tt>.
 This procedure is supposed to perform module-specific configuration.
 </p>
 <p>The default version of this procedure doesn't do anything.
 If you want to configure one more module modules,
 then you need to define the procedure in your configuration file,
 e.g.,
-</p><pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
 proc postload {} {
 # look-and-feel
 
@@ -1537,46 +1557,47 @@
     set sound::options(groupchat_server_message_sound)      ""
     set sound::options(groupchat_their_message_to_me_sound) ""
 }
-</pre>
+</pre></div>
 <p>This isn't nearly as complicated as it seems.
 Let's break it down by individual module
 </p>
 <a name="s.postload-looknfeel"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.6.2.1"></a><h3>6.2.1.&nbsp;Look-and-Feel</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.6.2.1"></a><h3>6.2.1.&nbsp;
+Look-and-Feel</h3>
 
 <p>
-            <span class="emph">Tkabber</span> is shameless in borrowing icons from other Jabber
-            clients.  By setting <span class="verb">pixmaps::options(pixmaps_theme)</span>,
+            <em>Tkabber</em> is shameless in borrowing icons from other Jabber
+            clients.  By setting <tt>pixmaps::options(pixmaps_theme)</tt>,
             you can select a family of
-            related icons.  Besides <span class="verb">"Default"</span>, you can choose one of
-            <span class="verb">"Gabber"</span>,
-            <span class="verb">"JAJC"</span>,
-            <span class="verb">"Jarl"</span>,
-            <span class="verb">"Psi"</span>,
-            <span class="verb">"ICQ"</span>,
+            related icons.  Besides <tt>"Default"</tt>, you can choose one of
+            <tt>"Gabber"</tt>,
+            <tt>"JAJC"</tt>,
+            <tt>"Jarl"</tt>,
+            <tt>"Psi"</tt>,
+            <tt>"ICQ"</tt>,
             or a few other themes.
           
 </p>
 <p>If you want,
-you can have <span class="emph">Tkabber</span> use a different theme by
+you can have <em>Tkabber</em> use a different theme by
 putting custom theme subdirectory to
-<span class="verb">$::configdir/pixmaps/</span>
-directory (tilde means home directory). <span class="emph">Tkabber</span> knows that it is a
-theme directory by looking for <span class="verb">icondef.xml</span> file in the
+<tt>$::configdir/pixmaps/</tt>
+directory (tilde means home directory). <em>Tkabber</em> knows that it is a
+theme directory by looking for <tt>icondef.xml</tt> file in the
 directory.
 
-To find out the structure of icon definition file, look through <span class="emph">XEP-0038</span>
-and go to where you installed <span class="emph">Tkabber</span> and take a look at the directory 
-called <span class="verb">"pixmaps/default/"</span>.
+To find out the structure of icon definition file, look through <em>XEP-0038</em>
+and go to where you installed <em>Tkabber</em> and take a look at the directory 
+called <tt>"pixmaps/default/"</tt>.
 </p>
 <p>
-            If you're using the tabbed window interface, <span class="emph">Tkabber</span> needs a way
+            If you're using the tabbed window interface, <em>Tkabber</em> needs a way
             of telling you that something has changed in a window that's not on
-            top.  This is where the an array called <span class="emph">alert_lvls</span> and a list
-            called <span class="emph">alert_colors</span> come in.  The array maps an incoming message
+            top.  This is where the an array called <em>alert_lvls</em> and a list
+            called <em>alert_colors</em> come in.  The array maps an incoming message
             to a priority number from zero to three.  The list, which is
-            indexed starting at <span class="emph">zero</span>, indicates what color the tab should
+            indexed starting at <em>zero</em>, indicates what color the tab should
             use to let you know that something's changed.  So, the way to read
             the example is that receiving:
             </p>
@@ -1604,76 +1625,80 @@
 If you don't like this behavior,
 add this line:
             
-</p><pre>set ifacetk::options(raise_new_tab) 0</pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>set ifacetk::options(raise_new_tab) 0</pre></div>
 <a name="s.postload-autoaway"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.6.2.2"></a><h3>6.2.2.&nbsp;The Autoaway Module</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.6.2.2"></a><h3>6.2.2.&nbsp;
+The Autoaway Module</h3>
 
 <p>This module is presently available only if either:
 </p>
 <ul class="text">
-<li>on UNIX, if you have the <span class="emph">Tk Xwin</span> extension installed; or,
+<li>on UNIX, if you have the <em>Tk Xwin</em> extension installed; or,
 </li>
-<li>On Windows, if you have the <span class="emph">Tcl Winidle</span> extension installed.
+<li>On Windows, if you have the <em>Tcl Winidle</em> extension installed.
 </li>
 </ul>
 
-<p>There are two variables that control when <span class="emph">Tkabber</span> automatically
+<p>There are two variables that control when <em>Tkabber</em> automatically
 marks you as away:
-<span class="verb">plugins::autoaway::options(awaytime)</span> and
-<span class="verb">plugins::autoaway::options(xatime)</span>.
+<tt>plugins::autoaway::options(awaytime)</tt> and
+<tt>plugins::autoaway::options(xatime)</tt>.
 Both define the idle threshold in minutes (the number does not have to be integer).
 </p>
-<p>If variable <span class="verb">plugins::autoaway::options(drop_priority)</span> is set in 1 then
-<span class="emph">Tkabber</span> will set priority to 0 when moving in extended away state.
+<p>If variable <tt>plugins::autoaway::options(drop_priority)</tt> is set in 1 then
+<em>Tkabber</em> will set priority to 0 when moving in extended away state.
 </p>
-<p>Variable <span class="verb">plugins::autoaway::options(status)</span> allows to specify text status, which
-is set when <span class="emph">Tkabber</span> is moving in away state.
+<p>Variable <tt>plugins::autoaway::options(status)</tt> allows to specify text status, which
+is set when <em>Tkabber</em> is moving in away state.
 </p>
 <a name="s.postload-avatar"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.6.2.3"></a><h3>6.2.3.&nbsp;The Avatar Module</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.6.2.3"></a><h3>6.2.3.&nbsp;
+The Avatar Module</h3>
 
 <p>There are two variables that you can set to control whether
-<span class="emph">Tkabber</span> will allow others to see your avatar:
+<em>Tkabber</em> will allow others to see your avatar:
 </p>
 <ul class="text">
-<li><span class="verb">avatar::options(announce)</span> determines whether your presence
+<li><tt>avatar::options(announce)</tt> determines whether your presence
 information indicates that you have an avatar; and,
 </li>
-<li><span class="verb">avatar::options(share)</span> determines whether requests for your
+<li><tt>avatar::options(share)</tt> determines whether requests for your
 avatar will be honored.
 </li>
 </ul>
 
 <a name="s.postload-chat"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.6.2.4"></a><h3>6.2.4.&nbsp;The Chat Module</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.6.2.4"></a><h3>6.2.4.&nbsp;
+The Chat Module</h3>
 
 <p>Most instant messaging users prefer to see all the back-and-forth
 communication in a single window.
 If you prefer to see each line sent back-and-forth in a separate
 window,
-here's what to put in your <span class="verb">postload</span>:
-</p><pre>
+here's what to put in your <tt>postload</tt>:
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
 set chat::options(default_message_type) normal
-</pre>
-<p>The variable named <span class="verb">chat::options(stop_scroll)</span> determines whether
+</pre></div>
+<p>The variable named <tt>chat::options(stop_scroll)</tt> determines whether
 a chat window should automatically scroll down to the bottom whenever
 something new comes in.
 </p>
 <p>
               You can also set format of time stamp that displayed in beginning
-              of each chat message.  Refer to <span class="emph">Tcl</span> documentation
+              of each chat message.  Refer to <em>Tcl</em> documentation
               for description of format.  E.g., to display it in
-              <span class="verb">"dd:mm:ss"</span> format, add this line:
+              <tt>"dd:mm:ss"</tt> format, add this line:
             
-</p><pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
 set plugins::options(timestamp_format) {[%T]}
-</pre>
+</pre></div>
 <a name="s.postload-clientinfo"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.6.2.5"></a><h3>6.2.5.&nbsp;The Clientinfo Module</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.6.2.5"></a><h3>6.2.5.&nbsp;
+The Clientinfo Module</h3>
 
 <p>
               This module shows in popup balloons information of used by this
@@ -1681,10 +1706,11 @@
               automatic asking of this info from users by setting this variable
               to 1 or 0:
             
-</p><pre>set plugins::clientinfo::options(autoask) 1</pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>set plugins::clientinfo::options(autoask) 1</pre></div>
 <a name="s.postload-confinfo"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.6.2.6"></a><h3>6.2.6.&nbsp;The Conferenceinfo Module</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.6.2.6"></a><h3>6.2.6.&nbsp;
+The Conferenceinfo Module</h3>
 
 <p>After you join a conference that's listed in your
             roster, then whenever you mouse over that roster entry,
@@ -1693,15 +1719,15 @@
             are currently joined with the conference, add this line to
             your post-load:
             
-</p><pre>set plugins::conferenceinfo::options(autoask) 1</pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>set plugins::conferenceinfo::options(autoask) 1</pre></div>
 <p>
               You can also set interval between these requests with
               these two variables:
             
-</p><pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
 set plugins::conferenceinfo::options(interval)       1
 set plugins::conferenceinfo::options(err_interval)  60
-</pre>
+</pre></div>
 <p>
             The second variable defines how many minutes to wait after
               receiving an error reply before trying again.
@@ -1711,58 +1737,62 @@
             
 </p>
 <a name="s.postload-crypto"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.6.2.7"></a><h3>6.2.7.&nbsp;The Cryptographic Module</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.6.2.7"></a><h3>6.2.7.&nbsp;
+The Cryptographic Module</h3>
 
-<p><a class="info" href="#s.preload">Earlier<span> (</span><span class="info">Pre-load</span><span>)</span></a> we saw an example where
-the <span class="verb">ssj::options</span> array from the cryptographic module was set during
+<p><a class='info' href='#s.preload'>Earlier<span> (</span><span class='info'>Pre-load</span><span>)</span></a> we saw an example where
+the <tt>ssj::options</tt> array from the cryptographic module was set during
 the preload.
 </p>
-<p>In addition to <span class="verb">signed-traffic</span>
-and <span class="verb">encrypt-traffic</span>,
-you can also tell <span class="emph">Tkabber</span> whether to encrypt for a particular JID,
+<p>In addition to <tt>signed-traffic</tt>
+and <tt>encrypt-traffic</tt>,
+you can also tell <em>Tkabber</em> whether to encrypt for a particular JID,
 e.g.,
-</p><pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
     set ssj::options(encrypt,fred at example.com) 1
-</pre>
+</pre></div>
 <a name="s.postload-emoti"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.6.2.8"></a><h3>6.2.8.&nbsp;The Emoticons Module</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.6.2.8"></a><h3>6.2.8.&nbsp;
+The Emoticons Module</h3>
 
 <p>
-            The procedure called <span class="emph">plugins::emoticons::load_dir</span> is used to load
+            The procedure called <em>plugins::emoticons::load_dir</em> is used to load
             emoticon definitions from a directory.  The directory contains a
-            file called <span class="verb">"icondef.xml"</span>, which defines the mapping between
+            file called <tt>"icondef.xml"</tt>, which defines the mapping between
             each image and its textual emoticon (To find out what this file
-            looks like, go to where you installed <span class="emph">Tkabber</span> and take a look at
-            the file called <span class="verb">"emoticons/default/icondef.xml"</span> or read <a href="http://www.xmpp.org/extensions/xep-0038.html">XEP-0038</a>.)
+            looks like, go to where you installed <em>Tkabber</em> and take a look at
+            the file called <tt>"emoticons/default/icondef.xml"</tt> or read <a href='http://www.xmpp.org/extensions/xep-0038.html'>XEP-0038</a>.)
           
 </p>
 <p>If you have just a few icons,
 and you don't want to create a directory and a textual mapping,
-you can use the procedure called <span class="verb">plugins::emoticons::add</span>, e.g.,
-</p><pre>
+you can use the procedure called <tt>plugins::emoticons::add</tt>, e.g.,
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
     plugins::emoticons::add ":beer:" \
         [image create photo -file $::configdir/emoticons/beer.gif]
-</pre>
+</pre></div>
 <p>If you want to disable all emoticons, you can simply load empty directory.
 Put in postload function
-</p><pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
     plugins::emoticons::load_dir ""
-</pre>
+</pre></div>
 <a name="s.postload-filexfer"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.6.2.9"></a><h3>6.2.9.&nbsp;The File Transfer Module</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.6.2.9"></a><h3>6.2.9.&nbsp;
+The File Transfer Module</h3>
 
 <p>
               You can set directory in which files will be saved by default:
             
-</p><pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
     set ft::options(download_dir) "/tmp"
-</pre>
+</pre></div>
 <a name="s.postload-groupchat"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.6.2.10"></a><h3>6.2.10.&nbsp;The Groupchat Module</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.6.2.10"></a><h3>6.2.10.&nbsp;
+The Groupchat Module</h3>
 
 <p>
             There are several variables that set the dialog window defaults for
@@ -1771,95 +1801,97 @@
 <blockquote class="text"><dl>
 <dt>add to roster dialog window:</dt>
 <dd>
-                <span class="verb">gra_group</span> and <span class="verb">gra_server</span> specify the default room and
+                <tt>gra_group</tt> and <tt>gra_server</tt> specify the default room and
                 conference server, repectively; and,
               
 </dd>
 <dt>join dialog window:</dt>
 <dd>
-                <span class="verb">gr_nick</span>, <span class="verb">gr_group</span> and <span class="verb">gr_server</span> specify the default
+                <tt>gr_nick</tt>, <tt>gr_group</tt> and <tt>gr_server</tt> specify the default
                 nickname, room, and conference server, respectively.
               
 </dd>
 </dl></blockquote><p>
-            Note that variables <span class="verb">gra_server</span>, <span class="verb">gr_nick</span> and <span class="verb">gr_server</span>
+            Note that variables <tt>gra_server</tt>, <tt>gr_nick</tt> and <tt>gr_server</tt>
             overriden in login procedure, so better place for changing them is
-            in <span class="verb">connected_hook</span> (see below).
+            in <tt>connected_hook</tt> (see below).
           
 </p>
 <p>You may want to have different nicknames for different groupchats.
 Accordingly,
-the array called <span class="emph">defaultnick</span> is used to set the default nickname
+the array called <em>defaultnick</em> is used to set the default nickname
 for when you enter a conference.
 The array is indexed by the JID of the room, e.g.,
-</p><pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
     set defaultnick(adhoc at conference.example.com) publius
-</pre>
+</pre></div>
 <p>Another possibility is to put pattern in parentheses. The following example
-shows how to specify default nickname for all conferences at <span class="emph">conference.example.com</span>:
+shows how to specify default nickname for all conferences at <em>conference.example.com</em>:
 
-</p><pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
     set defaultnick(*@conference.example.com) ciceroni
-</pre>
+</pre></div>
 <p>
 Exact JID's take the higher precedence than patterns.
 
 </p>
 <a name="s.postload-ispell"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.6.2.11"></a><h3>6.2.11.&nbsp;The Ispell Module</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.6.2.11"></a><h3>6.2.11.&nbsp;
+The Ispell Module</h3>
 
 <p>
-            On Unix, <span class="emph">Tkabber</span> can check spelling of what you entered by
-            calling an external program <span class="emph">ispell</span>.  To enable this feature, add
+            On Unix, <em>Tkabber</em> can check spelling of what you entered by
+            calling an external program <em>ispell</em>.  To enable this feature, add
             following lines to postload function:
             
-</p><pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
 set plugins::ispell::options(enable) 1
-</pre>
+</pre></div>
 <p>
             If you enabled this module, then you can also define:
 </p>
 <ul class="text">
-<li>the path to the <span class="emph">ispell</span> executable by setting
-<span class="verb">plugins::ispell::options(executable)</span>
+<li>the path to the <em>ispell</em> executable by setting
+<tt>plugins::ispell::options(executable)</tt>
 </li>
-<li>the <span class="emph">ispell</span> command line options by setting
-<span class="verb">plugins::ispell::options(command_line)</span>; and,
+<li>the <em>ispell</em> command line options by setting
+<tt>plugins::ispell::options(command_line)</tt>; and,
 </li>
 <li>the encoding of the output by setting
-<span class="verb">plugins::ispell::options(dictionary_encoding)</span>.
+<tt>plugins::ispell::options(dictionary_encoding)</tt>.
 </li>
 </ul><p>
 If you don't care about putting a large load on your process,
 then you can also set
-            <span class="verb">plugins::ispell::options(check_every_symbol)</span> to 1 to check
+            <tt>plugins::ispell::options(check_every_symbol)</tt> to 1 to check
             correctness of current word after every entered symbol.  (Usually
             you don't need to set this option.)
           
 </p>
 <a name="s.postload-si"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.6.2.12"></a><h3>6.2.12.&nbsp;The Stream Initiation Module</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.6.2.12"></a><h3>6.2.12.&nbsp;
+The Stream Initiation Module</h3>
 
 <p>
-            Stream initiation profile is defined in <span class="emph">XEP-0095</span> with
-            two transports (<span class="emph">XEP-0047</span> - IBB, <span class="emph">XEP-0065</span> - SOCKS5
+            Stream initiation profile is defined in <em>XEP-0095</em> with
+            two transports (<em>XEP-0047</em> - IBB, <em>XEP-0065</em> - SOCKS5
             bytestreams).
             With it you can specify what
             transports you can use, and via negotiation choose more appropriate
-            one.  <span class="emph">Tkabber</span> comes with two transport implementations:
+            one.  <em>Tkabber</em> comes with two transport implementations:
             </p>
 <blockquote class="text"><dl>
 <dt>bytestreams:</dt>
 <dd>
                 that allows you to connect to any node that supports
-                <span class="verb">bytestreams</span> transport (mediated connection
+                <tt>bytestreams</tt> transport (mediated connection
                 is not supported yet);
 </dd>
 <dt>ibb:</dt>
 <dd>that uses your
-                <span class="verb">Jabber</span> connection to transmit the data (which may
+                <tt>Jabber</tt> connection to transmit the data (which may
                 slowdown other traffic to you).
               
 </dd>
@@ -1868,48 +1900,50 @@
 </p>
 <p>
               If your machine is behind a NAT, then you can't use the
-              <span class="verb">bytestreams</span> transport, so you should disable it:
+              <tt>bytestreams</tt> transport, so you should disable it:
             
-</p><pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
     set si::transport(allowed,http://jabber.org/protocol/bytestreams) 0
-</pre>
+</pre></div>
 <a name="s.postload-log"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.6.2.13"></a><h3>6.2.13.&nbsp;The Logger Module</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.6.2.13"></a><h3>6.2.13.&nbsp;
+The Logger Module</h3>
 
 <p>
               You can set directory to store logs:
             
-</p><pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
     set logger::options(logdir) [file join $::configdir logs]
-</pre>
+</pre></div>
 <p>
               Also you can allow or disallow storing of private and group chats
               logs:
             
-</p><pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
     set logger::options(log_chat)      1
     set logger::options(log_groupchat) 1
-</pre>
+</pre></div>
 <a name="s.postload-login"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.6.2.14"></a><h3>6.2.14.&nbsp;The Login Module</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.6.2.14"></a><h3>6.2.14.&nbsp;
+The Login Module</h3>
 
 <p>The first task is to initialize the configuration defaults for the
-<span class="emph">login</span> module.
+<em>login</em> module.
 As you can see above,
-the global array <span class="verb">loginconf</span> has a whole bunch of elements,
-e.g., <span class="verb">user</span>, <span class="verb">password</span>, and so on.
+the global array <tt>loginconf</tt> has a whole bunch of elements,
+e.g., <tt>user</tt>, <tt>password</tt>, and so on.
 </p>
-<p>Elements <span class="verb">loginconf(user)</span> and
-<span class="verb">loginconf(password)</span>specify username and
-password to authenticate at your <span class="emph">Jabber</span> server.
+<p>Elements <tt>loginconf(user)</tt> and
+<tt>loginconf(password)</tt>specify username and
+password to authenticate at your <em>Jabber</em> server.
 </p>
-<p>Element <span class="verb">loginconf(server)</span> must be set to
-<span class="emph">Jabber</span> server name (the part of you <span class="emph">JID</span> after
-<span class="verb">@</span>.
+<p>Element <tt>loginconf(server)</tt> must be set to
+<em>Jabber</em> server name (the part of you <em>JID</em> after
+<tt>@</tt>.
 </p>
-<p>Element <span class="verb">loginconf(stream_options)</span> is set to
+<p>Element <tt>loginconf(stream_options)</tt> is set to
 one of the following values:
 </p>
 <ul class="text">
@@ -1926,196 +1960,200 @@
 </li>
 </ul>
 
-<p><span class="emph">Tkabber</span> tries to resolve <span class="emph">Jabber</span> server name
-using <span class="emph">SRV</span> first and usual <span class="emph">A</span> records in <span class="emph">DNS</span>.
+<p><em>Tkabber</em> tries to resolve <em>Jabber</em> server name
+using <em>SRV</em> first and usual <em>A</em> records in <em>DNS</em>.
 If the resolution fails (for example if you are in LAN environment without
-<span class="emph">DNS</span>) you can force <span class="emph">Tkabber</span> to connect to the server
-using <span class="verb">loginconf(altserver)</span> and
-<span class="verb">loginconf(altport)</span> options (do not forget to set
-<span class="verb">loginconf(usealtserver)</span> to <span class="verb">1</span>).
+<em>DNS</em>) you can force <em>Tkabber</em> to connect to the server
+using <tt>loginconf(altserver)</tt> and
+<tt>loginconf(altport)</tt> options (do not forget to set
+<tt>loginconf(usealtserver)</tt> to <tt>1</tt>).
 </p>
-<p>Another option is to use <span class="emph">HTTP</span>-polling connect method (if your server
-supports it) and tunnel <span class="emph">XMPP</span> traffic through <span class="emph">HTTP</span>.
-To enable <span class="emph">HTTP</span>-polling set <span class="verb">loginconf(usehttppoll)</span>
-to <span class="verb">1</span>. <span class="emph">Tkabber</span> then tries to find connect
-<span class="emph">URL</span> using <span class="emph">TXT</span> record in <span class="emph">DNS</span> (see XEP-0156).
-You can specify <span class="emph">URL</span> manually by setting
-<span class="verb">loginconf(pollurl)</span>.
+<p>Another option is to use <em>HTTP</em>-polling connect method (if your server
+supports it) and tunnel <em>XMPP</em> traffic through <em>HTTP</em>.
+To enable <em>HTTP</em>-polling set <tt>loginconf(usehttppoll)</tt>
+to <tt>1</tt>. <em>Tkabber</em> then tries to find connect
+<em>URL</em> using <em>TXT</em> record in <em>DNS</em> (see XEP-0156).
+You can specify <em>URL</em> manually by setting
+<tt>loginconf(pollurl)</tt>.
 </p>
 <p>This collection of elements,
 which is termed a login profile,
-is what populates the dialog window you'll see when <span class="emph">Tkabber</span> wants
+is what populates the dialog window you'll see when <em>Tkabber</em> wants
 to connect to the server.
 </p>
-<p>It turns out that <span class="emph">Tkabber</span> lets you have as many different login
+<p>It turns out that <em>Tkabber</em> lets you have as many different login
 profiles as you want.
 If you want more than just one,
-they're named <span class="verb">loginconf1</span>, <span class="verb">loginconf2</span>, and so on.
+they're named <tt>loginconf1</tt>, <tt>loginconf2</tt>, and so on.
 </p>
 <p>What the example above shows is the default values for all profiles
-being set in <span class="verb">loginconf</span>,
+being set in <tt>loginconf</tt>,
 and then two profiles,
-one called <span class="verb">"Default Account"</span> and the other
-called <span class="verb">"Test Account"</span>
+one called <tt>"Default Account"</tt> and the other
+called <tt>"Test Account"</tt>
 being created.
 </p>
 <p>
             If you want to automatically login to server, then you can
-            set the <span class="verb">autologin</span> variable to
-            <span class="verb">1</span>.
+            set the <tt>autologin</tt> variable to
+            <tt>1</tt>.
           
 </p>
 <p>
-            If you set the <span class="verb">autologin</span>
-            variable to <span class="verb">-1</span>, then <span class="emph">Tkabber</span>
+            If you set the <tt>autologin</tt>
+            variable to <tt>-1</tt>, then <em>Tkabber</em>
             will not automatically login and will not show login dialog.
           
 </p>
 <p>
-            Default value for <span class="verb">autologin</span> is
-            <span class="verb">0</span>. In this case <span class="emph">Tkabber</span>
+            Default value for <tt>autologin</tt> is
+            <tt>0</tt>. In this case <em>Tkabber</em>
             shows login dialog.
           
 </p>
 <a name="s.postload-message"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.6.2.15"></a><h3>6.2.15.&nbsp;The Message Module</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.6.2.15"></a><h3>6.2.15.&nbsp;
+The Message Module</h3>
 
 <p>By default,
-when you restart <span class="emph">Tkabber</span> it won't remember the headlines you received.
-If you want <span class="emph">Tkabber</span> to remember headlines whenever you run it,
-set <span class="verb">message::options(headlines,cache)</span> to
-<span class="verb">1</span>.
+when you restart <em>Tkabber</em> it won't remember the headlines you received.
+If you want <em>Tkabber</em> to remember headlines whenever you run it,
+set <tt>message::options(headlines,cache)</tt> to
+<tt>1</tt>.
 </p>
 <p>By default,
-<span class="emph">Tkabber</span> will put all headline messages into a single window.
-If you want <span class="emph">Tkabber</span> to use a seperate window for each headline source,
-set <span class="verb">message::options(headlines,multiple)</span>
-to <span class="verb">1</span>.
+<em>Tkabber</em> will put all headline messages into a single window.
+If you want <em>Tkabber</em> to use a seperate window for each headline source,
+set <tt>message::options(headlines,multiple)</tt>
+to <tt>1</tt>.
 </p>
 <a name="s.postload-rawxml"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.6.2.16"></a><h3>6.2.16.&nbsp;The Raw XML Input Module</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.6.2.16"></a><h3>6.2.16.&nbsp;
+The Raw XML Input Module</h3>
 
 <p>
             With this module you can monitor incoming/outgoing traffic from
             connection to server and send custom XML stanzas.  Also you can
-            switch on <span class="verb">pretty print</span> option to see incoming and outgoing XML
+            switch on <tt>pretty print</tt> option to see incoming and outgoing XML
             stanzas pretty printed.  Note, that with this option they may be
             drawed incorrectly, e.g. for XHTML tags.  Also you can set
-            indentation level via <span class="verb">indent</span> option.
+            indentation level via <tt>indent</tt> option.
           
 </p>
 <a name="s.postload-roster"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.6.2.17"></a><h3>6.2.17.&nbsp;The Roster Module</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.6.2.17"></a><h3>6.2.17.&nbsp;
+The Roster Module</h3>
 
 <p>
             By default, your entire roster is shown, even those items that
-            aren't online.  The variable called <span class="verb">roster::show_only_online</span>
+            aren't online.  The variable called <tt>roster::show_only_online</tt>
             controls this.
           
 </p>
 <p>
             Similarly by default, each item in every category is shown in the
             roster.  If you want to hide the items in a given category, the
-            array called <span class="verb">roster::roster</span> lets you do this.  In the example,
-            we see that two groups (<span class="verb">"RSS"</span>
-            and <span class="verb">"Undefined"</span>) start with
+            array called <tt>roster::roster</tt> lets you do this.  In the example,
+            we see that two groups (<tt>"RSS"</tt>
+            and <tt>"Undefined"</tt>) start with
             their items hidden.
           
 </p>
 <p>
-            Some peoples use several JIDs.  <span class="emph">Tkabber</span> lets you
+            Some peoples use several JIDs.  <em>Tkabber</em> lets you
             specify an alias for people like these, so it will show
             only one entry in the roster.
-            In the example, we see that user <span class="verb">friend at some.host</span> have
-            aliases <span class="verb">friend at other.host</span> and
-            <span class="verb">friend at another.host</span>.
+            In the example, we see that user <tt>friend at some.host</tt> have
+            aliases <tt>friend at other.host</tt> and
+            <tt>friend at another.host</tt>.
             You can also disable all aliases by setting
-            <span class="verb">roster::use_aliases</span> to <span class="verb">0</span>. 
+            <tt>roster::use_aliases</tt> to <tt>0</tt>. 
           
 </p>
 <a name="s.postload-sound"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.6.2.18"></a><h3>6.2.18.&nbsp;The Sound Module</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.6.2.18"></a><h3>6.2.18.&nbsp;
+The Sound Module</h3>
 
 <p>
-              <span class="emph">Tkabber</span> can play sounds on some events.  It can use for this
-              <span class="emph">snack</span> library or external program that can play <span class="emph">WAV</span> files.
-              Sound notifications is enabled when <span class="emph">Tkabber</span> starts.
+              <em>Tkabber</em> can play sounds on some events.  It can use for this
+              <em>snack</em> library or external program that can play <em>WAV</em> files.
+              Sound notifications is enabled when <em>Tkabber</em> starts.
             
 </p>
 <p>
-              If you want to start <span class="emph">Tkabber</span> with sound muted
+              If you want to start <em>Tkabber</em> with sound muted
               add the following line:
             
-</p><pre>set sound::options(mute) 1</pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>set sound::options(mute) 1</pre></div>
 <p>
-              If you want <span class="emph">Tkabber</span> to stop notifying you when you are not
+              If you want <em>Tkabber</em> to stop notifying you when you are not
               online (in away or dnd state)
               add the following line:
             
-</p><pre>set sound::options(notify_online) 1</pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>set sound::options(notify_online) 1</pre></div>
 <p>
-              If you want <span class="emph">Tkabber</span> to mute sound when it is focued
+              If you want <em>Tkabber</em> to mute sound when it is focued
               (and you are paying enough attention to it)
               add the following line:
             
-</p><pre>set sound::options(mute_if_focus) 1</pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>set sound::options(mute_if_focus) 1</pre></div>
 <p>
               You can also mute sounds of delayed groupchat messages and
               delayed personal chat messages:
             
-</p><pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
 set sound::options(mute_groupchat_delayed) 1
 set sound::options(mute_chat_delayed)      0
-</pre>
+</pre></div>
 <p>
               If you want to use external program for playing sounds and possibly
               this program's options, then also
               add something like this (these options are suitable for Linux users
               with ALSA installed):
             
-</p><pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
 set sound::options(external_play_program) /usr/bin/aplay
 set sound::options(external_play_program_options) -q
-</pre>
+</pre></div>
 <p>
               You can also set minimal interval (in milliseconds) between
               playing different sounds.
             
-</p><pre>set sound::options(delay) 200</pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>set sound::options(delay) 200</pre></div>
 <p>
-              <span class="emph">Tkabber</span> allows you to specify the filename it will play
+              <em>Tkabber</em> allows you to specify the filename it will play
               notifying about some more or less important events. These are:
               </p>
 <ul class="text">
-<li><span class="verb">sound::options(connected_sound)</span> &mdash; sound playing
-            when <span class="emph">Tkabber</span> is connected to the server;
+<li><tt>sound::options(connected_sound)</tt> &mdash; sound playing
+            when <em>Tkabber</em> is connected to the server;
 </li>
-<li><span class="verb">sound::options(presence_available_sound)</span> &mdash; sound
+<li><tt>sound::options(presence_available_sound)</tt> &mdash; sound
             playing when available presence is coming;
 </li>
-<li><span class="verb">sound::options(presence_unavailable_sound)</span> &mdash; sound
+<li><tt>sound::options(presence_unavailable_sound)</tt> &mdash; sound
             playing when unavailable presence is coming;
 </li>
-<li><span class="verb">sound::options(chat_my_message_sound)</span> &mdash; sound
+<li><tt>sound::options(chat_my_message_sound)</tt> &mdash; sound
             playing when you send one-to-one chat message;
 </li>
-<li><span class="verb">sound::options(chat_their_message_sound)</span> &mdash; sound
+<li><tt>sound::options(chat_their_message_sound)</tt> &mdash; sound
             playing when you receive one-to-one chat message;
 </li>
-<li><span class="verb">sound::options(groupchat_server_message_sound)</span> &mdash; sound
+<li><tt>sound::options(groupchat_server_message_sound)</tt> &mdash; sound
             playing when you receive groupchat message from server;
 </li>
-<li><span class="verb">sound::options(groupchat_my_message_sound)</span> &mdash; sound
+<li><tt>sound::options(groupchat_my_message_sound)</tt> &mdash; sound
             playing when you receive groupchat message from server;
 </li>
-<li><span class="verb">sound::options(groupchat_their_message_sound)</span> &mdash; sound
+<li><tt>sound::options(groupchat_their_message_sound)</tt> &mdash; sound
             playing when you receive groupchat message from another user;
 </li>
-<li><span class="verb">sound::options(groupchat_their_message_to_me_sound)</span> &mdash; sound
+<li><tt>sound::options(groupchat_their_message_to_me_sound)</tt> &mdash; sound
             playing when you receive highlighted (usually personally addressed) groupchat message from
             another user.
 </li>
@@ -2123,49 +2161,50 @@
               If you want to disable sound notification for some of the events, then you can add line
               like this:
             
-<pre>
+<div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
 set sound::options(connected_sound)                     ""
 set sound::options(presence_available_sound)            ""
 set sound::options(presence_unavailable_sound)          ""
 set sound::options(groupchat_server_message_sound)      ""
 set sound::options(groupchat_their_message_to_me_sound) ""
-</pre>
+</pre></div>
 <a name="s.menuload"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.6.3"></a><h3>6.3.&nbsp;Menu-load</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.6.3"></a><h3>6.3.&nbsp;
+Menu-load</h3>
 
-<p>After <span class="emph">Tkabber</span> invokes your <span class="verb">postload</span> procedure,
+<p>After <em>Tkabber</em> invokes your <tt>postload</tt> procedure,
 it starts building the GUI.
 One of the most important things it does is build up a list that
 specifies its menu bar.
-It then invokes a procedure called <span class="verb">menuload</span>,
-which is allowed to modify that specification before <span class="emph">Tkabber</span> uses it.
+It then invokes a procedure called <tt>menuload</tt>,
+which is allowed to modify that specification before <em>Tkabber</em> uses it.
 </p>
 <p>The default version of this procedure is the identity function,
 i.e..,
-</p><pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
 proc menuload {description} { return $description }
-</pre>
-<p>If you <span class="emph">really</span> want to change the menubar specification,
+</pre></div>
+<p>If you <em>really</em> want to change the menubar specification,
 then here's how to get started:
 </p>
 <ol class="text">
-<li>Go to where you installed the <span class="emph">BWidget</span> library and take a look at
-the file called <span class="verb">"BWman/MainFrame.html"</span>.
-The documentation for the <span class="verb">"-menu"</span> option explains the syntax of the
+<li>Go to where you installed the <em>BWidget</em> library and take a look at
+the file called <tt>"BWman/MainFrame.html"</tt>.
+The documentation for the <tt>"-menu"</tt> option explains the syntax of the
 specification.
 </li>
-<li>Go to where you installed <span class="emph">Tkabber</span> and take a look at the file
-called <span class="verb">"iface.tcl"</span>.
-Look for the line that starts with <span class="verb">"set descmenu"</span>.
-This will show you the specification given to your <span class="verb">menuload</span>
+<li>Go to where you installed <em>Tkabber</em> and take a look at the file
+called <tt>"iface.tcl"</tt>.
+Look for the line that starts with <tt>"set descmenu"</tt>.
+This will show you the specification given to your <tt>menuload</tt>
 procedure.
 </li>
-<li>Go to where you installed <span class="emph">Tkabber</span> and take a look at the file
+<li>Go to where you installed <em>Tkabber</em> and take a look at the file
 called
-<span class="verb">"examples/mtr-config.tcl"</span>.
-Look at the <span class="verb">menuload</span> procedure defined there.
-It lays out <span class="emph">Tkabber's</span> menu bar similar to <span class="emph">Gabber's</span>.
+<tt>"examples/mtr-config.tcl"</tt>.
+Look at the <tt>menuload</tt> procedure defined there.
+It lays out <em>Tkabber's</em> menu bar similar to <em>Gabber's</em>.
 </li>
 <li>Finally,
 study the procedures listed here.
@@ -2173,66 +2212,72 @@
 </ol>
 
 <a name="s.menuload-avatar"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.6.3.1"></a><h3>6.3.1.&nbsp;The Avatar Module</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.6.3.1"></a><h3>6.3.1.&nbsp;
+The Avatar Module</h3>
 
-<p>The procedure called <span class="verb">avatar::store_on_server</span> stores your avatar
+<p>The procedure called <tt>avatar::store_on_server</tt> stores your avatar
 on the server.
 </p>
 <a name="s.menuload-browser"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.6.3.2"></a><h3>6.3.2.&nbsp;The Browser Module</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.6.3.2"></a><h3>6.3.2.&nbsp;
+The Browser Module</h3>
 
-<p>The procedure called <span class="verb">browser::open</span> opens a new browser window.
+<p>The procedure called <tt>browser::open</tt> opens a new browser window.
 </p>
 <a name="s.menuload-groupchat"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.6.3.3"></a><h3>6.3.3.&nbsp;The Groupchat Module</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.6.3.3"></a><h3>6.3.3.&nbsp;
+The Groupchat Module</h3>
 
-<p>The procedure called <span class="verb">add_group_dialog</span> displays a dialog window
+<p>The procedure called <tt>add_group_dialog</tt> displays a dialog window
 when you want to add a groupchat to your roster.
 Similarly,
-the procedure called <span class="verb">join_group_dialog</span> displays a dialog window
+the procedure called <tt>join_group_dialog</tt> displays a dialog window
 when you want to join a groupchat.
 </p>
 <a name="s.menuload-login"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.6.3.4"></a><h3>6.3.4.&nbsp;The Login Module</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.6.3.4"></a><h3>6.3.4.&nbsp;
+The Login Module</h3>
 
-<p>The procedure called <span class="verb">show_login_dialog</span> displays a dialog window
+<p>The procedure called <tt>show_login_dialog</tt> displays a dialog window
 when you want to login to the server.
 (Prior to attempting to login,
 if necessary it will logout).
 Naturally,
-the procedure called <span class="verb">logout</span> does just that;
+the procedure called <tt>logout</tt> does just that;
 however,
 if you want get a dialog window for confirmation,
-use <span class="verb">show_logout_dialog</span> instead.
+use <tt>show_logout_dialog</tt> instead.
 </p>
 <a name="s.menuload-message"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.6.3.5"></a><h3>6.3.5.&nbsp;The Message Module</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.6.3.5"></a><h3>6.3.5.&nbsp;
+The Message Module</h3>
 
 <p>If you want to send a message to someone,
-the procedure called <span class="verb">message::send_dialog</span> will put up a dialog window.
+the procedure called <tt>message::send_dialog</tt> will put up a dialog window.
 It takes upto three optional arguments:
 the recipient JID, the subject, and the thread.
 </p>
 <p>If you want to get added to someone's roster,
-the procedure called <span class="verb">message::send_subscribe_dialog</span> will put up a
+the procedure called <tt>message::send_subscribe_dialog</tt> will put up a
 dialog window.
 It takes one optional argument:
 the recipient JID.
 </p>
 <p>If you want to adjust your message filters,
-the procecure called <span class="verb">filters::open</span> will put up a dialog window.
+the procecure called <tt>filters::open</tt> will put up a dialog window.
 </p>
 <a name="s.menuload-presence"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.6.3.6"></a><h3>6.3.6.&nbsp;The Presence Module</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.6.3.6"></a><h3>6.3.6.&nbsp;
+The Presence Module</h3>
 
 <p>If you want to display information about a user,
-the procecure called <span class="verb">userinfo::open</span> will put up a dialog window.
+the procecure called <tt>userinfo::open</tt> will put up a dialog window.
 It takes two optional arguments:
 the user's JID;
 and,
@@ -2241,15 +2286,15 @@
 <p>Obviously,
 the second argument makes sense only if it's your own information,
 i.e.,
-</p><pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
     global loginconf
 
     userinfo::open \
         ${loginconf(user)}@$loginconf(server)/$loginconf(resource) 1
-</pre>
+</pre></div>
 <p>There are also two variables that you can use to set your own
 presence:
-<span class="verb">userstatus</span> and <span class="verb">textstatus</span>.
+<tt>userstatus</tt> and <tt>textstatus</tt>.
 The first variable takes one of five values:
 </p>
 <ul class="text">
@@ -2269,85 +2314,88 @@
 The second variable takes any textual value.
 </p>
 <p>Changes to your presence information are propagated only
-when <span class="verb">userstatus</span> is changed.
+when <tt>userstatus</tt> is changed.
 Accordingly,
-if you make a change to <span class="verb">textstatus</span>,
-be sure to write <span class="verb">userstatus</span> immediately afterwards,
+if you make a change to <tt>textstatus</tt>,
+be sure to write <tt>userstatus</tt> immediately afterwards,
 even if it's a no-op,
 e.g.,
-</p><pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
     global userstatus textstatus
 
     set textstatus "Out to lunch"
     set userstatus $userstatus
-</pre>
+</pre></div>
 <a name="s.menuload-miscellany"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.6.3.7"></a><h3>6.3.7.&nbsp;Miscellany</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.6.3.7"></a><h3>6.3.7.&nbsp;
+Miscellany</h3>
 
 <p>Finally,
-you can use the procedure named <span class="verb">help_window</span> to display some textual
+you can use the procedure named <tt>help_window</tt> to display some textual
 help.
 This procedure takes two arguments:
 the title for the window;
 and,
 the text to display.
 </p>
-<p>Also, instead of calling <span class="verb">exit</span> to terminate <span class="emph">Tkabber</span>,
-please use the <span class="verb">quit</span> procedure instead.
+<p>Also, instead of calling <tt>exit</tt> to terminate <em>Tkabber</em>,
+please use the <tt>quit</tt> procedure instead.
 </p>
 <a name="s.finalload"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.6.4"></a><h3>6.4.&nbsp;Final-Load</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.6.4"></a><h3>6.4.&nbsp;
+Final-Load</h3>
 
 <p>Finally,
-right before <span class="emph">Tkabber</span> goes to display the login dialog,
-it invokes a procedure called <span class="verb">finload</span>,
+right before <em>Tkabber</em> goes to display the login dialog,
+it invokes a procedure called <tt>finload</tt>,
 which does whatever you want it to.
 </p>
 <a name="s.extensibility"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.7"></a><h3>7.&nbsp;Extensibility</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.7"></a><h3>7.&nbsp;
+Extensibility</h3>
 
 <p>In addition to various configuration mechanisms,
-<span class="emph">Tkabber</span> lets you define procedures,
+<em>Tkabber</em> lets you define procedures,
 termed "hooks" that get run when certain events happen.
 </p>
 <p>Here's an example.
-When <span class="emph">Tkabber</span> receives a chat message,
+When <em>Tkabber</em> receives a chat message,
 how does it know what to process and what to draw?
 The short answer is that it doesn't need to know anything,
 all it does is:
-</p><pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
 hook::run draw_message_hook $chatid $from $type $body $extras
-</pre>
-<p>The <span class="verb">hook::run</span> procedure invokes whatever hooks have been
-defined for <span class="verb">draw_message_hook</span>.
+</pre></div>
+<p>The <tt>hook::run</tt> procedure invokes whatever hooks have been
+defined for <tt>draw_message_hook</tt>.
 In fact,
 more than ten procedures may get invoked to satisfy this hook!
 </p>
 <p>Here's how it works:
-<span class="emph">Tkabber</span> comes with a number of plugins,
+<em>Tkabber</em> comes with a number of plugins,
 which get loaded automatically.
 Each plugin makes one or more calls that look like this:
-</p><pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
 hook::add draw_message_hook [namespace current]::my_draw_hook $prio
-</pre>
+</pre></div>
 <p>where the last two parameters are:
 the name of a procedure to run;
 and, a relative integer priority.
 </p>
-<p>When <span class="verb">hook::run</span> is invoked for <span class="verb">draw_message_hook</span>,
+<p>When <tt>hook::run</tt> is invoked for <tt>draw_message_hook</tt>,
 each of these procedures is called,
 in the priority order (from smallest to largest).
 If one of the procedures wants to prevent the later procedures from
 being called,
-it returns the string <span class="verb">"stop"</span>.
+it returns the string <tt>"stop"</tt>.
 </p>
 <p>To continue with the example,
 in between the pre-load and post-load stages of configuration,
 the following calls get made by different plugins:
-</p><pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
 hook::add draw_message_hook [list ...::events::process_x 0] 0
 hook::add draw_message_hook ...::chatstate::process_x 1
 hook::add draw_message_hook ...::check_draw_empty_body 4
@@ -2371,63 +2419,64 @@
 hook::add draw_message_hook ...::handle_me 83
 hook::add draw_message_hook ...::xhtml::draw_xhtml_message 85
 hook::add draw_message_hook ...::draw_normal_message 87
-</pre>
+</pre></div>
 <p>Many of these procedures look at the incoming chat message
 and operate on only certain kinds of messages.
-Some of these procedures may return <span class="verb">"stop"</span>,
-e.g., <span class="verb">handle_me</span> which handles chat bodies
-that start with <span class="verb">"/me"</span> and <span class="werb">draw_xhtml_message</span>
-which visualizes <span class="emph">XHTML</span> formatted messages.
+Some of these procedures may return <tt>"stop"</tt>,
+e.g., <tt>handle_me</tt> which handles chat bodies
+that start with <tt>"/me"</tt> and draw_xhtml_message
+which visualizes <em>XHTML</em> formatted messages.
 (In this example,
-the actual namespaces were replaced with <span class="verb">"...:"</span> to make it more
+the actual namespaces were replaced with <tt>"...:"</tt> to make it more
 readable).
 </p>
-<p>Now let's look at the different kind of hooks that <span class="emph">Tkabber</span> knows
+<p>Now let's look at the different kind of hooks that <em>Tkabber</em> knows
 about.
 </p>
 <a name="anchor1"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.7.1"></a><h3>7.1.&nbsp;Chat Hooks</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.7.1"></a><h3>7.1.&nbsp;
+Chat Hooks</h3>
 
-<p>When <span class="emph">Tkabber</span> decides that it needs to open a (tabbed)
+<p>When <em>Tkabber</em> decides that it needs to open a (tabbed)
 window for a chat or groupchat,
 two hooks are run:
-</p><pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
 open_chat_pre_hook  $chatid $type
 open_chat_post_hook $chatid $type
-</pre>
+</pre></div>
 <p>Both hooks are given two parameters:
 the chatid (ID of the chat or conference room window, you always can obtain JID using
-<span class="verb">chat::get_jid</span> and connection token using
-<span class="verb">chat::get_xlib</span> routines);
+<tt>chat::get_jid</tt> and connection token using
+<tt>chat::get_xlib</tt> routines);
 and,
 and the type of chat
-(either <span class="verb">"chat"</span> or <span class="verb">"groupchat"</span>).
+(either <tt>"chat"</tt> or <tt>"groupchat"</tt>).
 </p>
 <p>Similarly,
-when <span class="emph">Tkabber</span> encounters activity on a tabbed window,
+when <em>Tkabber</em> encounters activity on a tabbed window,
 a hook is run:
-</p><pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
 raise_chat_tab_hook $path $chatid
-</pre>
+</pre></div>
 <p>The hook is given two parameters:
-the path of the <span class="emph">Tk</span> widget for the tabbed window;
+the path of the <em>Tk</em> widget for the tabbed window;
 and,
 the chatid of the chat or conference room window.
 </p>
 <p>When you want to send a chat message,
 a hook is run:
-</p><pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
 chat_send_message_hook $chatid $user $body $type
-</pre>
+</pre></div>
 <p>The hook is given four parameters:
 the chatid of the recipient;
 the localpart of your login identity;
 the body of the message;
 and, the type of chat.
-</p><pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
 draw_message_hook $chatid $from $type $body $extras
-</pre>
+</pre></div>
 <p>The hook is given five parameters:
 the chatid of the sender window (JID includes a resource);
 the JID of the sender (without the resource);
@@ -2442,13 +2491,13 @@
             Chat windows have menubuttons, and two hooks are used to add items
             in menu:
           
-</p><pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
 chat_create_user_menu_hook $path $xlib $jid
 chat_create_conference_menu_hook $path $xlib $jid
-</pre>
+</pre></div>
 <p>
             The first is used in user chat windows, and second in groupchat
-            ones.  Hooks are given three parameters: the path of the <span class="emph">Tk</span> menu
+            ones.  Hooks are given three parameters: the path of the <em>Tk</em> menu
             widget; connection token; and, the JID of user or conference.
           
 </p>
@@ -2457,9 +2506,9 @@
             commands by pressing TAB key.  List of completions is generated by
             running this hook:
           
-</p><pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
 generate_completions_hook $chatid $compsvar $wordstart $line
-</pre>
+</pre></div>
 <p>
                   The hook is given four parameters: the chatid of conference window; name of
                   global variable, in which current list of possible
@@ -2470,38 +2519,40 @@
 <p>
             When someone enters/exits conference, the following hooks are called:
           
-</p><pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
 chat_user_enter $group $nick
 chat_user_exit  $group $nick
-</pre>
+</pre></div>
 <p>
             The hooks are given two parameters: chatid of conference and nick of
             participant.
           
 </p>
 <a name="anchor2"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.7.2"></a><h3>7.2.&nbsp;Login Hooks</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.7.2"></a><h3>7.2.&nbsp;
+Login Hooks</h3>
 
 <p>Two hooks are invoked whenever a session is connected or
 disconnected:
-</p><pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
 connected_hook $xlib
 
 disconnected_hook $xlib
-</pre>
-<p>Both hooks are given one parameter: connection token (<span class="emph">Tkabber</span>
+</pre></div>
+<p>Both hooks are given one parameter: connection token (<em>Tkabber</em>
 allows several connections at once).
 </p>
 <a name="anchor3"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.7.3"></a><h3>7.3.&nbsp;Presence Hooks</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.7.3"></a><h3>7.3.&nbsp;
+Presence Hooks</h3>
 
 <p>When our presence status changes,
 a hook is run:
-</p><pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
 change_our_presence_post_hook $status
-</pre>
+</pre></div>
 <p>The hook is given one parameter:
 the new presence status value,
 i.e., one of:
@@ -2524,9 +2575,9 @@
 <p>Similarly,
 when someone else's presence changes,
 a hook is run:
-</p><pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
 on_change_user_presence_hook $label $status
-</pre>
+</pre></div>
 <p>The hook is given two parameters:
 the label associated with the JID (e.g., "fred")
 or the JID itself (e.g., "fred at example.com")
@@ -2537,9 +2588,9 @@
 <p>
             And for all received presence packets, a hook is run:
           
-</p><pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
 client_presence_hook $xlib $from $type $x $args
-</pre>
+</pre></div>
 <p>
             The hook is given four parameters: connection token, who send this presence, type of
             presence (e.g., "error", "unavailable"), list of extended subtags
@@ -2547,14 +2598,15 @@
           
 </p>
 <a name="anchor4"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.7.4"></a><h3>7.4.&nbsp;Roster Hooks</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.7.4"></a><h3>7.4.&nbsp;
+Roster Hooks</h3>
 
 <p>
             When an item is added to the roster window, one of the four hooks is run to add
             stuff to the menu associated with that item:
           
-</p><pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
 roster_conference_popup_menu_hook $path $xlib $jid
 
 roster_service_popup_menu_hook $path $xlib $jid
@@ -2562,9 +2614,9 @@
 roster_jid_popup_menu_hook $path $xlib $jid
 
 roster_group_popup_menu_hook $path $xlib $name
-</pre>
+</pre></div>
 <p>
-            When run, each hook is given three parameters: the path of the <span class="emph">Tk</span> menu
+            When run, each hook is given three parameters: the path of the <em>Tk</em> menu
             widget; the connection token; and, a JID of the roster item (or the name
                 of the roster group for the last one).
           
@@ -2572,11 +2624,11 @@
 <p>
             Also the following hook is run to add stuff to the menu in groupchats:
           
-</p><pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
 roster_create_groupchat_user_menu_hook $path $xlib $jid
-</pre>
+</pre></div>
 <p>
-            The hook is given three parameters: the path of the <span class="emph">Tk</span> menu
+            The hook is given three parameters: the path of the <em>Tk</em> menu
             widget; the connection token; and, a JID of user.
           
 </p>
@@ -2584,56 +2636,59 @@
             The following hook is run to add stuff to the popup balloon for each roster
             item:
           
-</p><pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
 roster_user_popup_info_hook $varname $xlib $jid
-</pre>
+</pre></div>
 <p>
             The hook is given three parameters: the variable name in which
             current popup text is stored, the connection token, and the JID of the roster item.
           
 </p>
 <a name="anchor5"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.7.5"></a><h3>7.5.&nbsp;Miscellaneous Hooks</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.7.5"></a><h3>7.5.&nbsp;
+Miscellaneous Hooks</h3>
 
 <p>There are three "obvious" hooks:
-</p><pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
 postload_hook
 
 finload_hook
 
 quit_hook
-</pre>
+</pre></div>
 <p>The first two,
 by default,
-run the <span class="verb">postload</span> and <span class="verb">finload</span> procedures,
-respectively. <span class="emph">postload_hook</span> is run after all code has been loaded and before initializing main
-<span class="emph">Tkabber</span> window. After that <span class="emph">finload_hook</span> is run.
-The final hook is called just before <span class="emph">Tkabber</span> terminates
-(cf., <a class="info" href="#s.menuload-miscellany">Section&nbsp;6.3.7<span> (</span><span class="info">Miscellany</span><span>)</span></a>).
+run the <tt>postload</tt> and <tt>finload</tt> procedures,
+respectively. <em>postload_hook</em> is run after all code has been loaded and before initializing main
+<em>Tkabber</em> window. After that <em>finload_hook</em> is run.
+The final hook is called just before <em>Tkabber</em> terminates
+(cf., <a class='info' href='#s.menuload-miscellany'>Section&nbsp;6.3.7<span> (</span><span class='info'>Miscellany</span><span>)</span></a>).
 </p>
 <p>You can add custom pages to userinfo window using
-</p><pre>
+</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
 userinfo_hook $path $xlib $jid $editable
-</pre>
+</pre></div>
 <a name="s.user-interface"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.8"></a><h3>8.&nbsp;User Interface basics</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.8"></a><h3>8.&nbsp;
+User Interface basics</h3>
 
 <a name="s.ui-searching"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.8.1"></a><h3>8.1.&nbsp;Searching</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.8.1"></a><h3>8.1.&nbsp;
+Searching</h3>
 
 <p>Search panel may be invoked in certain classes of
-<span class="emph">Tkabber</span> windows using the
-<span class="verb">&lt;&lt;OpenSearchPanel&gt;&gt;</span>
+<em>Tkabber</em> windows using the
+<tt>&lt;&lt;OpenSearchPanel&gt;&gt;</tt>
 Tk virtual event which is bound by default to the
-<span class="verb">&lt;Control-S&gt;</span> keyboard command.
+<tt>&lt;Control-S&gt;</tt> keyboard command.
 </p>
 <p>Search panel can be dismissed by pressing the
-<span class="verb">&lt;Escape&gt;</span> key
+<tt>&lt;Escape&gt;</tt> key
 and the default search action ("search down") is activated
-by pressing the <span class="verb">&lt;Return&gt;</span>
+by pressing the <tt>&lt;Return&gt;</tt>
 key while entering the search pattern.
 </p>
 <p>Search panel is currenlty available in:
@@ -2650,50 +2705,50 @@
 </ul>
 
 <p>Searching may be customized using the settings located
-under the <span class="emph">Plugins &rarr; Search</span> group of the
-<span class="emph">Customize</span> window.
+under the <em>Plugins &rarr; Search</em> group of the
+<em>Customize</em> window.
 These setings are:
 </p>
 <ul class="text">
-<li><span class="verb">::plugins::search::options(case)</span>:
-perform case-sensitive searching (<span class="emph">off</span> by default);
+<li><tt>::plugins::search::options(case)</tt>:
+perform case-sensitive searching (<em>off</em> by default);
 
 </li>
-<li><span class="verb">::plugins::search::options(mode)</span>:
+<li><tt>::plugins::search::options(mode)</tt>:
 selects searching mode which can be one of:
         
 <ul class="text">
-<li><span class="emph">substring</span> &mdash; use simple substring search:
+<li><em>substring</em> &mdash; use simple substring search:
         the typed search string is taken verbatim and then the attempt
         to locate it is performed. This is the default mode.
         
 </li>
-<li><span class="emph">glob</span> &mdash; uses "glob-style" (or "shell-style")
+<li><em>glob</em> &mdash; uses "glob-style" (or "shell-style")
         matching: special symbols are recognized and they provide for
         "wildcarding":
         
 <ul class="text">
-<li><span class="emph">*</span> matches zero or more characters;
+<li><em>*</em> matches zero or more characters;
 </li>
-<li><span class="emph">?</span> matches exactly one character;
+<li><em>?</em> matches exactly one character;
 </li>
-<li><span class="emph">[</span> and <span class="emph">]</span> define
-                character classes, e.g., <span class="verb">[A-Z]</span>
+<li><em>[</em> and <em>]</em> define
+                character classes, e.g., <tt>[A-Z]</tt>
                 will match any character in the series
                 "A", "B", ... "Z".
 </li>
 </ul>
         The full syntax is described in
-        <a href="http://www.tcl.tk/man/tcl8.4/TclCmd/string.htm#M35">Tcl string manual page</a>.
+        <a href='http://www.tcl.tk/man/tcl8.4/TclCmd/string.htm#M35'>Tcl string manual page</a>.
         That is, this search mode can be convenient for those who want more
         general yet simple approach to searching and is familiar with the
         "shell globbing" concept found in Unix shells.
         
 </li>
-<li><span class="emph">regexp</span> &mdash; provides for searching using
+<li><em>regexp</em> &mdash; provides for searching using
         full-blown regular expressions engine. The full syntax is
         described in
-        <a href="http://www.tcl.tk/man/tcl8.4/TclCmd/re_syntax.htm">Tcl re_syntax manual page</a>.
+        <a href='http://www.tcl.tk/man/tcl8.4/TclCmd/re_syntax.htm'>Tcl re_syntax manual page</a>.
         
 </li>
 </ul>
@@ -2703,12 +2758,14 @@
 
 </p>
 <a name="anchor6"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.A"></a><h3>Appendix A.&nbsp;Releases History</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.A"></a><h3>Appendix A.&nbsp;
+Releases History</h3>
 
 <a name="anchor7"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.A.1"></a><h3>A.1.&nbsp;Main changes in 0.11.1</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.A.1"></a><h3>A.1.&nbsp;
+Main changes in 0.11.1</h3>
 
 <p>
           </p>
@@ -2723,8 +2780,9 @@
         
 </p>
 <a name="anchor8"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.A.2"></a><h3>A.2.&nbsp;Main changes in 0.11.0</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.A.2"></a><h3>A.2.&nbsp;
+Main changes in 0.11.0</h3>
 
 <p>
           </p>
@@ -2771,8 +2829,9 @@
         
 </p>
 <a name="anchor9"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.A.3"></a><h3>A.3.&nbsp;Main changes in 0.10.0</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.A.3"></a><h3>A.3.&nbsp;
+Main changes in 0.10.0</h3>
 
 <p>
           </p>
@@ -2816,8 +2875,9 @@
         
 </p>
 <a name="anchor10"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.A.4"></a><h3>A.4.&nbsp;Main changes in 0.9.9</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.A.4"></a><h3>A.4.&nbsp;
+Main changes in 0.9.9</h3>
 
 <p>
           </p>
@@ -2842,8 +2902,9 @@
         
 </p>
 <a name="anchor11"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.A.5"></a><h3>A.5.&nbsp;Main changes in 0.9.8</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.A.5"></a><h3>A.5.&nbsp;
+Main changes in 0.9.8</h3>
 
 <p>
           </p>
@@ -2872,8 +2933,9 @@
         
 </p>
 <a name="anchor12"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.A.6"></a><h3>A.6.&nbsp;Main changes in 0.9.7beta</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.A.6"></a><h3>A.6.&nbsp;
+Main changes in 0.9.7beta</h3>
 
 <p>
           </p>
@@ -2894,8 +2956,9 @@
         
 </p>
 <a name="anchor13"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.A.7"></a><h3>A.7.&nbsp;Main changes in 0.9.6beta</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.A.7"></a><h3>A.7.&nbsp;
+Main changes in 0.9.6beta</h3>
 
 <p>
           </p>
@@ -2918,8 +2981,9 @@
         
 </p>
 <a name="anchor14"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.A.8"></a><h3>A.8.&nbsp;Main changes in 0.9.5beta</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.A.8"></a><h3>A.8.&nbsp;
+Main changes in 0.9.5beta</h3>
 
 <p>
           </p>
@@ -2938,12 +3002,13 @@
         
 </p>
 <a name="XRDB"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.B"></a><h3>Appendix B.&nbsp;Tk option database resources</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.B"></a><h3>Appendix B.&nbsp;
+Tk option database resources</h3>
 
 <p>
-        Here is list of the most essential <span class="emph">Tkabber</span>-specific
-        <span class="emph">Tk option database</span> resources that you need to change look:
+        Here is list of the most essential <em>Tkabber</em>-specific
+        <em>Tk option database</em> resources that you need to change look:
         </p>
 <blockquote class="text"><dl>
 <dt>Tkabber.geometry</dt>
@@ -2997,8 +3062,8 @@
 </dd>
 <dt>*Balloon.style</dt>
 <dd>
-            Behaviour of popup balloon: can be <span class="verb">delay</span> (balloon appeared
-            after some time) and <span class="verb">follow</span> (balloon appeared immediately and
+            Behaviour of popup balloon: can be <tt>delay</tt> (balloon appeared
+            after some time) and <tt>follow</tt> (balloon appeared immediately and
             follows mouse).
           
 </dd>
@@ -3218,8 +3283,9 @@
       
 </p>
 <a name="anchor15"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.C"></a><h3>Appendix C.&nbsp;Documentation TODO</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.C"></a><h3>Appendix C.&nbsp;
+Documentation TODO</h3>
 
 <p>The next revision of this documentation should discuss:
 </p>
@@ -3227,33 +3293,33 @@
 <li>Pre-load:
 
 <ul class="text">
-<li><span class="verb">browseurl</span>
+<li><tt>browseurl</tt>
 </li>
 </ul>
 </li>
 <li>Post-load:
 
 <ul class="text">
-<li><span class="verb">chat_height</span> and <span class="verb">chat_width</span> (appear to be no-ops).
+<li><tt>chat_height</tt> and <tt>chat_width</tt> (appear to be no-ops).
 </li>
 </ul>
 </li>
 <li>Menu-load:
 
 <ul class="text">
-<li><span class="verb">change_password_dialog</span>
+<li><tt>change_password_dialog</tt>
 </li>
-<li><span class="verb">conference::create_room_dialog</span>
+<li><tt>conference::create_room_dialog</tt>
 </li>
-<li><span class="verb">disco::browser::open_win</span>
+<li><tt>disco::browser::open_win</tt>
 </li>
-<li><span class="verb">message::send_msg</span>
+<li><tt>message::send_msg</tt>
 </li>
-<li><span class="verb">privacy::request_lists</span>
+<li><tt>privacy::request_lists</tt>
 </li>
-<li><span class="verb">rawxml::open_window</span>
+<li><tt>rawxml::open_window</tt>
 </li>
-<li><span class="verb">userinfo::show_info_dialog</span>
+<li><tt>userinfo::show_info_dialog</tt>
 </li>
 </ul>
 </li>
@@ -3262,11 +3328,12 @@
 </ul>
 
 <a name="anchor16"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.D"></a><h3>Appendix D.&nbsp;Acknowledgements</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.D"></a><h3>Appendix D.&nbsp;
+Acknowledgements</h3>
 
 <p>Rebecca Malamud was kind enough to design the "enlightened feather"
-motif used in the <span class="emph">Tkabber</span> look-and-feel.
+motif used in the <em>Tkabber</em> look-and-feel.
 </p>
 <p>The "new look" appeared in the 0.10.0 release ("golden feather"
 and "blue feather" pixmap themes and the "Earth bulb" logo) was
@@ -3276,23 +3343,24 @@
 Serge Yudin
 </p>
 <a name="anchor17"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
-<a name="rfc.section.E"></a><h3>Appendix E.&nbsp;Copyrights</h3>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
+<a name="rfc.section.E"></a><h3>Appendix E.&nbsp;
+Copyrights</h3>
 
 <p>Copyright (c) 2002-2008 Alexey Shchepin
 </p>
-<p><span class="emph">Tkabber</span> is free software; you can redistribute it and/or
+<p><em>Tkabber</em> is free software; you can redistribute it and/or
 modify it under the terms of the GNU General Public
 License as published by the Free Software Foundation; either
 version 2 of the License, or (at your option) any later version.
 </p>
-<p><span class="emph">Tkabber</span> is distributed in the hope that it will be useful,
+<p><em>Tkabber</em> is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 General Public License for more details.
 </p>
 <a name="rfc.authors"></a><br /><hr />
-<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
+<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
 <h3>Authors' Addresses</h3>
 <table width="99%" border="0" cellpadding="0" cellspacing="0">
 <tr><td class="author-text">&nbsp;</td>

Modified: trunk/tkabber/doc/tkabber.xml
===================================================================
--- trunk/tkabber/doc/tkabber.xml	2008-10-29 18:56:19 UTC (rev 1591)
+++ trunk/tkabber/doc/tkabber.xml	2008-11-01 08:26:27 UTC (rev 1592)
@@ -215,7 +215,7 @@
 <!-- http://www.xs4all.nl/~nijtmans/img.html -->
 <vspace blankLines='1' />
 
-<t>By default, Tkabber uses pure-Tcl XML parser. If its performance is
+<t>Tkabber comes bundled with pure-Tcl XML parser. If its performance is
 insufficient, you may want to install
 <eref target="http://www.tdom.org/">tDOM version 0.8.0</eref> (or later)
 and use expat based XML parser.
@@ -550,15 +550,9 @@
 along with the global variable <spanx style='verb'>use_external_tclxml</spanx>
 which controlled the loading of <spanx>TclXML</spanx>.</t>
 
-<figure>
-<preamble>Now expat-based <spanx>Tcl</spanx> package <spanx>tDOM</spanx>
+<t>Now expat-based <spanx>Tcl</spanx> package <spanx>tDOM</spanx>
 is supported as an external XML
-parser. It can be enabled by loading it manually in config.tcl
-using the Tcl package command, for example:</preamble>
-<artwork><![CDATA[
-package require tdom
-]]></artwork>
-</figure>
+parser. It is enabled by default if it is installed.</t>
 </section>
 </section>
 
@@ -725,11 +719,6 @@
 set ssj::options(encrypt-traffic) 0
 
 
-# using of external XML parser
-
-package require tdom 0.8
-
-
 # debugging output
 
 set debug_lvls {xmpp warning}
@@ -904,20 +893,6 @@
 menus, and so on.)</t>
 </section>
 
-        <section anchor='s.preload-tdom' title="Using of external XML parser from tDOM">
-          <figure>
-            <preamble>
-              By default for parsing XML <spanx>Tkabber</spanx> uses (modified) <spanx>TclXML</spanx>
-              library that comes with it distribution. This parser is pure-Tcl, and it
-              performance can be not suitable.  Then you can install <spanx>tDOM</spanx>
-              with built-in <spanx>expat</spanx> support and require it in the config file:
-            </preamble>
-<artwork>
-package require tdom 0.8
-</artwork>
-          </figure>
-        </section>
-
 <section anchor='s.preload-debugoutput' title='Debugging Output'>
 <t><spanx>Tkabber</spanx> has a lot of debugging output.
 By default,



More information about the Tkabber-dev mailing list