diff --git a/ru_RU.KOI8-R/articles/5-roadmap/article.sgml b/ru_RU.KOI8-R/articles/5-roadmap/article.sgml
index 478a6171da..a3198bc882 100644
--- a/ru_RU.KOI8-R/articles/5-roadmap/article.sgml
+++ b/ru_RU.KOI8-R/articles/5-roadmap/article.sgml
@@ -1,15 +1,8 @@
-<!--
-     The FreeBSD Russian Documentation Project
-
-     $FreeBSDru: frdp/doc/ru_RU.KOI8-R/articles/5-roadmap/article.sgml,v 1.7 2007/05/15 06:07:48 gad Exp $
-
-     Original revision: r30798
--->
-
-<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
-<!ENTITY % articles.ent PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Articles Entity Set//EN">
-%articles.ent;
-
+<?xml version="1.0" encoding="koi8-r" standalone="no"?>
+<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
+	"../../../share/sgml/freebsd42.dtd" [
+<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//RU" "../../share/sgml/entities.ent">
+%entities;
 <!ENTITY t.releng.3 "<literal>RELENG_3</literal>">
 <!ENTITY t.releng.4 "<literal>RELENG_4</literal>">
 <!ENTITY t.releng.5 "<literal>RELENG_5</literal>">
@@ -19,6 +12,14 @@
 <!ENTITY t.releng.head "<literal>HEAD</literal>">
 ]>
 
+<!--
+     The FreeBSD Russian Documentation Project
+
+     $FreeBSDru: frdp/doc/ru_RU.KOI8-R/articles/5-roadmap/article.sgml,v 1.7 2007/05/15 06:07:48 gad Exp $
+
+     Original revision: r30798
+-->
+
 <article lang="ru">
   <articleinfo>
     <title>����������� ����� � 5-STABLE</title>
@@ -27,8 +28,6 @@
       <corpauthor>The &os; Release Engineering Team</corpauthor>
     </authorgroup>
 
-    <pubdate>$FreeBSD$</pubdate>
-
     <copyright>
       <year>2003</year>
       <holder role="mailto:re@FreeBSD.org">The &os; Release
@@ -45,6 +44,10 @@
       &tm-attrib.general;
     </legalnotice>
 
+    <pubdate>$FreeBSD$</pubdate>
+
+    <releaseinfo>$FreeBSD$</releaseinfo>
+
     <abstract>
       <para>������ �������� ������ ����� � �������� ������������ ��������.
 	�� ����������� � ����������� ����� � ���������� ������ &os;
@@ -314,7 +317,7 @@
 	    ������.</para>
 
 	  <para>
-	    <table id=KSETable>
+	    <table id="KSETable">
 	      <title>��������� KSE</title>
 
 	      <tgroup cols="4">
@@ -384,7 +387,7 @@
 	      </tgroup>
 	    </table>
 
-	    <table id=THRTable>
+	    <table id="THRTable">
 	      <title>��������� THR</title>
 
 	      <tgroup cols="4">
@@ -484,7 +487,7 @@
   <sect1 id="goals">
     <title>���������� � 5-STABLE</title>
 
-    <para>����� &t.releng.5 ������ ���� ������������� ����� �� ������������ �
+    <para>����� &t.releng.5; ������ ���� ������������� ����� �� ������������ �
       ������������������, ������� ������ ���������� � ����� &t.releng.4;.  ����
       ����� ����� ��� SMPng �������� ������������ ��������� ������������������
       �� ��������� � ��������� � &t.releng.4; � ����������� ��������� BSD,
diff --git a/ru_RU.KOI8-R/articles/checkpoint/article.sgml b/ru_RU.KOI8-R/articles/checkpoint/article.sgml
index a0c00d3262..333d5c623f 100644
--- a/ru_RU.KOI8-R/articles/checkpoint/article.sgml
+++ b/ru_RU.KOI8-R/articles/checkpoint/article.sgml
@@ -1,3 +1,10 @@
+<?xml version="1.0" encoding="koi8-r" standalone="no"?>
+<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
+	"../../../share/sgml/freebsd42.dtd" [
+<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//RU" "../../share/sgml/entities.ent">
+%entities;
+]>
+
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -36,13 +43,6 @@
      POSSIBILITY OF SUCH DAMAGE.
 -->
 
-<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
-<!ENTITY % articles.ent PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Articles Entity Set//EN">
-%articles.ent;
-<!ENTITY legalnotice SYSTEM "../../share/sgml/legalnotice.sgml">
-
-]>
-
 <article lang="ru">
   <articleinfo>
     <title>���������� FreeBSD IPsec � Check Point <trademark
@@ -71,8 +71,6 @@
       </author>
     </authorgroup>
 
-    <pubdate>$FreeBSD$</pubdate>
-
     <copyright>
       <year>2001</year>
       <year>2002</year>
@@ -89,6 +87,10 @@
       &tm-attrib.general;
     </legalnotice>
 
+    <pubdate>$FreeBSD$</pubdate>
+
+    <releaseinfo>$FreeBSD$</releaseinfo>
+
     <abstract>
       <para>� ���� ��������� �����������, ��� ���������
 	<acronym>VPN</acronym>-�������������� ����� FreeBSD �
@@ -109,7 +111,7 @@
 
     <mediaobject>
       <imageobject>
-	<imagedata fileref="networks">
+	<imagedata fileref="networks"/>
       </imageobject>
 
       <textobject>
diff --git a/ru_RU.KOI8-R/articles/committers-guide/article.sgml b/ru_RU.KOI8-R/articles/committers-guide/article.sgml
index ac0c0808c1..2ba5f46478 100644
--- a/ru_RU.KOI8-R/articles/committers-guide/article.sgml
+++ b/ru_RU.KOI8-R/articles/committers-guide/article.sgml
@@ -1,4 +1,10 @@
-<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
+<?xml version="1.0" encoding="koi8-r" standalone="no"?>
+<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
+	"../../../share/sgml/freebsd42.dtd" [
+<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//RU" "../../share/sgml/entities.ent">
+%entities;
+]>
+
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -7,10 +13,6 @@
      Original revision: r30088
 -->
 
-<!ENTITY % articles.ent PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Articles Entity Set//EN">
-%articles.ent;
-]>
-
 <article lang="ru">
   <articleinfo>
     <title>���������� ����������</title>
@@ -26,8 +28,6 @@
       </author>
     </authorgroup>
 
-    <pubdate>$FreeBSD$</pubdate>
-
     <copyright>
       <year>1999</year>
       <year>2000</year>
@@ -50,6 +50,10 @@
       &tm-attrib.general;
     </legalnotice>
 
+    <pubdate>$FreeBSD$</pubdate>
+
+    <releaseinfo>$FreeBSD$</releaseinfo>
+
     <abstract>
       <para>������ �������� �������� ���������� ��� ���������� �����������
 	FreeBSD.  ��� ����� ���������� ������ ������� ��� ����� ������� ������;
@@ -77,7 +81,7 @@
 	  <row>
 	    <entry><emphasis>�������� ������ ����������� (CVSROOT)</emphasis></entry>
 	    <entry>
-	      <hostid role="fqdn">ncvs.FreeBSD.org</hostid><literal>:</literal><filename>/home/ncvs</filename> (��. ����� <xref linkend="cvs.operations">).
+	      <hostid role="fqdn">ncvs.FreeBSD.org</hostid><literal>:</literal><filename>/home/ncvs</filename> (��. ����� <xref linkend="cvs.operations"/>).
 	    </entry>
 	  </row>
 
@@ -129,7 +133,7 @@
       ����� ������� ���� ������.  �������� ������� ����� ������, ���
       &man.ssh-agent.1; � &man.scp.1;, �������� &man.ssh.1; �����������
       ������� ������ � �������������.  ���� �� ������ �� ������ �� &man.ssh.1;,
-      ��������� � ������ <xref linkend="ssh.guide">.</para>
+      ��������� � ������ <xref linkend="ssh.guide"/>.</para>
   </sect1>
 
   <sect1 id="committer.types">
@@ -245,7 +249,7 @@
       ������������� ����������� � ������ ��������, ������� ����� ������
       ��������������� ���������.</para>
       
-    <para><anchor id="repomeisters">�������� �������� ���������� ����������� ����� ������ ������
+    <para><anchor id="repomeisters"/>�������� �������� ���������� ����������� ����� ������ ������
       CVS-��������; ��� ����������� �����, ������ CVS-������� ����� �������
       ������ �� �������, �������������� �������� �����������.</para>
 
@@ -401,7 +405,7 @@ alias scvs cvs -d <replaceable>user</replaceable>@ncvs.FreeBSD.org:/home/ncvs</p
 	<table frame="none">
 	  <title>�������� ����� ������� <command>cvs checkout</command></title>
 
-	  <tgroup cols=2>
+	  <tgroup cols="2">
 	    <tbody>
 	      <row>
 		<entry><option>-P</option></entry>
@@ -542,7 +546,7 @@ alias scvs cvs -d <replaceable>user</replaceable>@ncvs.FreeBSD.org:/home/ncvs</p
 	  ��� ������� �� ������ ������ ����� ���� ����� ��:</para>
 
 	<informaltable frame="none" pgwide="1">
-	  <tgroup cols=2>
+	  <tgroup cols="2">
 	    <tbody>
 	      <row>
 		<entry>Up-to-date</entry>
@@ -601,7 +605,7 @@ alias scvs cvs -d <replaceable>user</replaceable>@ncvs.FreeBSD.org:/home/ncvs</p
 	  <command>checkout</command>:</para>
 
 	<informaltable frame="none" pgwide="1">
-	  <tgroup cols=2>
+	  <tgroup cols="2">
 	    <tbody>
 	      <row>
 		<entry><option>-d</option></entry>
@@ -660,7 +664,7 @@ alias scvs cvs -d <replaceable>user</replaceable>@ncvs.FreeBSD.org:/home/ncvs</p
 	  ������������ ������ ����� ��� ������:</para>
 
 	<informaltable frame="none" pgwide="1">
-	  <tgroup cols=2>
+	  <tgroup cols="2">
 	    <tbody>
 	      <row>
 		<entry><literal>U</literal></entry>
@@ -754,6 +758,7 @@ alias scvs cvs -d <replaceable>user</replaceable>@ncvs.FreeBSD.org:/home/ncvs</p
 	  (� ������ ������ ���������� ������ ������-����������� � ������ ������
 	  <literal>$Id: article.sgml,v 1.19 2007-05-09 06:08:50 bvs Exp $</literal>, ������� ���� ������ � <literal>$Id: article.sgml,v 1.19 2007-05-09 06:08:50 bvs Exp $</literal>
 	  ��� &os.stable;).</para>
+      </listitem>
 
       <listitem>
 	<para>�������� ��������� ����� ��������� ������� � ������� ��
@@ -768,7 +773,7 @@ alias scvs cvs -d <replaceable>user</replaceable>@ncvs.FreeBSD.org:/home/ncvs</p
 	<table frame="none">
 	  <title>�������� ����� ������� <command>cvs diff</command></title>
 
-	  <tgroup cols=2>
+	  <tgroup cols="2">
 	    <tbody>
 	      <row>
 		<entry><option>-u</option></entry>
@@ -808,6 +813,7 @@ alias scvs cvs -d <replaceable>user</replaceable>@ncvs.FreeBSD.org:/home/ncvs</p
 	  ������ ����� �������� (��� ����������� �� ����, ��� ����� � �����
 	  ��������� �����), ������ <emphasis>���</emphasis> ������ ��� ������
 	  ����� <option>-r</option> ��� <option>-D</option>.</para>
+      </listitem>
 
       <listitem>
 	<para>�������� ������� ���������: ������� <command>log</command>.</para>
@@ -880,7 +886,7 @@ alias scvs cvs -d <replaceable>user</replaceable>@ncvs.FreeBSD.org:/home/ncvs</p
 	<table frame="none">
 	  <title>Useful <command>cvs commit</command> options</title>
 
-	  <tgroup cols=2>
+	  <tgroup cols="2">
 	    <tbody>
 	      <row>
 		<entry><option>-f</option></entry>
@@ -983,6 +989,7 @@ checkout -P</programlisting>
 	    <para>������ ������������ ����� <option>-N</option> (����������
 	      ����������� ��� ��������� �����) � <option>-u</option>
 	      (��������������� ������) ��� &man.diff.1;.</para>
+	  </listitem>
 
 	  <listitem>
 	    <para>������ ������������ ����� <option>-P</option> (������� ������
@@ -1519,6 +1526,8 @@ docs:Documentation Bug:freebsd-doc:</programlisting>
 	    ������������ � <ulink
 	    url="&url.books.fdp-primer;/index.html">��������� �� �������
 	    ���������������� FreeBSD ��� ����� ����������</ulink>.</para>
+	</listitem>
+      </varlistentry>
 
       <varlistentry>
 	<term>&a.ru;</term>
@@ -1863,7 +1872,7 @@ docs:Documentation Bug:freebsd-doc:</programlisting>
 	    ��� �������� ��������� ������ ������ ��� �������, ����� �����
 	    �����������.  ������ ������� �� ����.</para>
 
-	  <para>��������� ������ ������� <xref linkend="respect"> � ����������
+	  <para>��������� ������ ������� <xref linkend="respect"/> � ����������
 	    ��� � � ������ ���������� �������.</para>
 	</listitem>
 
@@ -2820,6 +2829,7 @@ docs:Documentation Bug:freebsd-doc:</programlisting>
 		    �� 40 ����� ���� �� ����������� ������, ������, ���
 		    ����������� ������� ��� ����, ����� �� ������� �������
 		    ��� ������.</para>
+		</step>
 
 		<step>
 		  <para>����� ���������� ���� �������� �� ������ ������� �
@@ -2899,7 +2909,7 @@ docs:Documentation Bug:freebsd-doc:</programlisting>
 		      <para>
 		    <ulink
 		    url="&url.books.porters-handbook;/makefile-categories.html#PORTING-CATEGORIES">
-		    ����������� FreeBSD �� �������� ������</ulink>
+		    ����������� FreeBSD �� �������� ������</ulink></para>
 		    </listitem>
 
 		    <listitem>
@@ -3346,7 +3356,7 @@ MFC after:          1 month</programlisting>
 	<answer>
 	  <para>������ �������� ������������ � �������� ���������
 	    <filename>/g/mail</filename>, ������� �� ���� ������� �������� ���
-	    <filename>/hub/g/mail</filename> (��. &man.pwd.1;).
+	    <filename>/hub/g/mail</filename> (��. &man.pwd.1;).</para>
 	</answer>
       </qandaentry>
 
diff --git a/ru_RU.KOI8-R/articles/console-server/article.sgml b/ru_RU.KOI8-R/articles/console-server/article.sgml
index 8c8731ae9e..63ba60a85c 100644
--- a/ru_RU.KOI8-R/articles/console-server/article.sgml
+++ b/ru_RU.KOI8-R/articles/console-server/article.sgml
@@ -1,4 +1,10 @@
-<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
+<?xml version="1.0" encoding="koi8-r" standalone="no"?>
+<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
+	"../../../share/sgml/freebsd42.dtd" [
+<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//RU" "../../share/sgml/entities.ent">
+%entities;
+]>
+
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -7,10 +13,6 @@
      Original revision: r28570
 -->
 
-<!ENTITY % articles.ent PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Articles Entity Set//EN">
-%articles.ent;
-]>
-
 <article lang="ru">
   <articleinfo>
     <title>���������� ������</title>
@@ -37,8 +39,6 @@
       </author>
     </authorgroup>
 
-    <pubdate>$FreeBSD$</pubdate>
-
     <legalnotice id="trademarks" role="trademarks">
       &tm-attrib.freebsd;
       &tm-attrib.cisco;
@@ -50,6 +50,10 @@
       &tm-attrib.general;
     </legalnotice>
 
+    <pubdate>$FreeBSD$</pubdate>
+
+    <releaseinfo>$FreeBSD$</releaseinfo>
+
     <abstract>
       <para>� ���� ��������� �����������, ��� ����� ������������ &os;,
 	���������� � ����������� �����������, ���������� � &os;, ��� ����������
@@ -336,7 +340,7 @@
 
       <listitem>
 	<para>��������� ����� �� ������� &solaris; (���������� � <xref
-	  linkend="solaris">), �� ����� �������� ������������������� �����
+	  linkend="solaris"/>), �� ����� �������� ������������������� �����
 	  ������������� ���� ��� ���� � ���������� ������� �� ���� �� (���
 	  ��� ���������� ��������������, ��� �� �����-�� ������
 	  �������).</para>
@@ -414,7 +418,7 @@
 
       <para>��������� �������� ����� �������:
 
-	<screen>&prompt.root; <userinput>cd /dev/ && sh MAKEDEV cuaE0</userinput></screen>
+	<screen>&prompt.root; <userinput>cd /dev/ &amp;&amp; sh MAKEDEV cuaE0</userinput></screen>
 
 	��� �������� ��������� ��� ��������� ������� ��� ������� ��������
 	Stallion.  ��� ��������� ����� ������ ���������� ���������� �
@@ -426,7 +430,7 @@
       <title>���������� conserver</title>
 
       <note>
-	<para>���������� ������ <xref linkend="conserver-versions"> � �������
+	<para>���������� ������ <xref linkend="conserver-versions"/> � �������
 	  <application>conserver</application>; ������������ ���� ������
 	  ��������� � ��������� ������ &os;, ������, ���������� � ������
 	  ������.</para>
@@ -519,9 +523,9 @@
       <para>��� ���������������� ���� �������� �������� ���:</para>
 
       <programlisting>LOGDIR=/var/log/consoles
-gallows:/dev/cuaE0:9600p:&:
-roo:/dev/cuaE1:9600p:&:
-kanga:/dev/cuaE2:9600p:&:
+gallows:/dev/cuaE0:9600p:&amp;:
+roo:/dev/cuaE1:9600p:&amp;:
+kanga:/dev/cuaE2:9600p:&amp;:
 %%
 allow:  itga.com.au
 trusted:	127.0.0.1 buzz</programlisting>
@@ -662,12 +666,12 @@ case "$1" in
 		TTY=/dev/cuaE7
 		conserver -d > $TTY
 		# get NL->CR+NL mapping so msgs look right
-		stty < /dev/cuaE7 opost onlcr
+		stty &lt; /dev/cuaE7 opost onlcr
 		echo -n ' conserver'
 		;;
 
 	'stop')
-		kill `cat /var/run/conserver.pid` && echo -n ' conserver'
+		kill `cat /var/run/conserver.pid` &amp;&amp; echo -n ' conserver'
 		;;
 
 	*)
@@ -850,7 +854,7 @@ exit 0</programlisting>
 
       <mediaobject>
 	<imageobject>
-	  <imagedata fileref="tk0231-9-1.png">
+	  <imagedata fileref="tk0231-9-1.png"/>
 	</imageobject>
 
 	<textobject>
@@ -1273,7 +1277,7 @@ exit 0</programlisting>
 	      </tgroup>
 	    </table>
 
-	    <para>��. ����� ������ <xref linkend="freebsd">. � ��� �� �������
+	    <para>��. ����� ������ <xref linkend="freebsd"/>. � ��� �� �������
 	      ������ �� ���������������� ���������������� ������� � &os;.</para>
 	  </listitem>
 	</varlistentry>
diff --git a/ru_RU.KOI8-R/articles/contributing/article.sgml b/ru_RU.KOI8-R/articles/contributing/article.sgml
index b6a10f0378..14b2e1d0dc 100644
--- a/ru_RU.KOI8-R/articles/contributing/article.sgml
+++ b/ru_RU.KOI8-R/articles/contributing/article.sgml
@@ -1,3 +1,11 @@
+<?xml version="1.0" encoding="koi8-r" standalone="no"?>
+<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
+	"../../../share/sgml/freebsd42.dtd" [
+<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//RU" "../../share/sgml/entities.ent">
+%entities;
+<!ENTITY % not.published "IGNORE">
+]>
+
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -6,18 +14,10 @@
      Original revision: r34267
 -->
 
-<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
-<!ENTITY % articles.ent PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Articles Entity Set//EN">
-%articles.ent;
-<!ENTITY % not.published "IGNORE">
-]>
-
-<article>
+<article lang='ru'>
   <articleinfo>
     <title>������� � ������� FreeBSD</title>
 
-    <pubdate>$FreeBSD$</pubdate>
-
     <abstract>
       <para>� ���� ������ ������� ��������� �������, �������� ��������� ���� �
 	����������� ����� ������� ������� � ������� FreeBSD.</para>
@@ -41,6 +41,9 @@
       &tm-attrib.general;
     </legalnotice>
 
+    <pubdate>$FreeBSD$</pubdate>
+
+    <releaseinfo>$FreeBSD$</releaseinfo>
   </articleinfo>
 
   <indexterm><primary>�������</primary></indexterm>
@@ -424,9 +427,9 @@
 	����, ����������� �� FreeBSD, �������� ���������:</para>
 
       <orderedlist>
-	<indexterm><primary>������������ ���������� BSD</primary></indexterm>
-
 	<listitem>
+	  <indexterm><primary>������������ ���������� BSD</primary></indexterm>
+
 	  <para>������������ ���������� BSD.  ��� �������� �����
 	    ���������������� ��-�� <quote>���������� ��������������
 	    �������</quote> � ����� ����������������� ��� ������������
@@ -436,14 +439,14 @@
 	    ��������� �������� ���������� �� FreeBSD.</para>
 	</listitem>
 
-	<indexterm>
-	  <primary>GPL</primary>
-	  <see>GNU General Public License</see>
-	</indexterm>
-
-	<indexterm><primary>GNU General Public License</primary></indexterm>
-
 	<listitem>
+	  <indexterm>
+	    <primary>GPL</primary>
+	    <see>GNU General Public License</see>
+	  </indexterm>
+
+	  <indexterm><primary>GNU General Public License</primary></indexterm>
+
 	  <para>GNU General Public License, ��� <quote>GPL</quote>.  ���
 	    ������������ ���������� �� ����� ��������� � ��� ��-�� ��ߣ��
 	    ����������, ������� ����� ��������� ����, ��� ����������
@@ -516,7 +519,7 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 	������� ��� ���������������� ��� ������������.</para>
 
       <sect3>
-	<title><anchor id="donations">���������� ������</title>
+	<title><anchor id="donations"/>���������� ������</title>
 
 	<para>The FreeBSD Foundation �������� �������������� ������������,
 	  ���������� �� ������ �������, ��������� � ����� ���������� �����
diff --git a/ru_RU.KOI8-R/articles/cups/article.sgml b/ru_RU.KOI8-R/articles/cups/article.sgml
index d1482ce9e8..5beec316b9 100644
--- a/ru_RU.KOI8-R/articles/cups/article.sgml
+++ b/ru_RU.KOI8-R/articles/cups/article.sgml
@@ -1,3 +1,11 @@
+<?xml version="1.0" encoding="koi8-r" standalone="no"?>
+<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
+        "../../../share/sgml/freebsd42.dtd" [
+<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//RU" "../../share/sgml/entities.ent">
+%entities;
+<!ENTITY % not.published "IGNORE">
+]>
+
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -6,11 +14,6 @@
      Original revision: r36335
 -->
 
-<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
-<!ENTITY % articles.ent PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Articles Entity Set//EN">
-%articles.ent;
-<!ENTITY % not.published "IGNORE">
-]>
 <!--
 Translation:	Taras Korenko,
 		Alexander Nedotsukov
@@ -35,6 +38,8 @@ Translation:	Taras Korenko,
       &tm-attrib.general;
     </legalnotice>
 
+    <releaseinfo>$FreeBSD$</releaseinfo>
+
     <abstract>
       <para>��� ������ ��������� ���������������� ������������� ������� ������
 	UNIX (CUPS) �� &os;.</para>
diff --git a/ru_RU.KOI8-R/articles/custom-gcc/article.sgml b/ru_RU.KOI8-R/articles/custom-gcc/article.sgml
index 3611a9ee48..56fda754e4 100644
--- a/ru_RU.KOI8-R/articles/custom-gcc/article.sgml
+++ b/ru_RU.KOI8-R/articles/custom-gcc/article.sgml
@@ -1,12 +1,16 @@
+<?xml version="1.0" encoding="koi8-r" standalone="no"?>
+<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
+        "../../../share/sgml/freebsd42.dtd" [
+<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//RU" "../../share/sgml/entities.ent">
+%entities;
+]>
+
 <!--
     The FreeBSD Russian Documentation Project
     $FreeBSD$
     Original revision: r34679
 -->
-<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
-<!ENTITY % articles.ent PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Articles Entity Set//EN">
-%articles.ent;
-]>
+
 <!-- �������: ������� ����� -->
 
 <article lang="ru">
@@ -23,8 +27,6 @@
       </affiliation>
     </author>
 
-    <pubdate>$FreeBSD$</pubdate>
-
     <legalnotice id="trademarks" role="trademarks">
       &tm-attrib.freebsd;
       &tm-attrib.general;
@@ -35,6 +37,10 @@
       <holder>The &os; Documentation Project</holder>
     </copyright>
 
+    <pubdate>$FreeBSD$</pubdate>
+
+    <releaseinfo>$FreeBSD$</releaseinfo>
+
     <abstract>
       <para>� ���� ������ �������, ��� ������������ ����� ����� ������
 	������������ <application>GCC</application> � ������ ������
diff --git a/ru_RU.KOI8-R/articles/cvs-freebsd/article.sgml b/ru_RU.KOI8-R/articles/cvs-freebsd/article.sgml
index 9aa4867f90..8b406e5364 100644
--- a/ru_RU.KOI8-R/articles/cvs-freebsd/article.sgml
+++ b/ru_RU.KOI8-R/articles/cvs-freebsd/article.sgml
@@ -1,3 +1,10 @@
+<?xml version="1.0" encoding="koi8-r" standalone="no"?>
+<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
+	"../../../share/sgml/freebsd42.dtd" [
+<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//RU" "../../share/sgml/entities.ent">
+%entities;
+]>
+
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -6,11 +13,6 @@
      Original revision: r32632
 -->
 
-<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
-<!ENTITY % articles.ent PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Articles Entity Set//EN">
-%articles.ent;
-]>
-
 <article lang="ru">
   <articleinfo>
     <title>��������� ��������� CVS - ������ FreeBSD</title>
@@ -30,6 +32,8 @@
       <holder role="mailto:stijn@win.tue.nl">Stijn Hoop</holder>
     </copyright>
 
+    <pubdate>$FreeBSD$</pubdate>
+
     <releaseinfo>$FreeBSD$</releaseinfo>
     <legalnotice id="trademarks" role="trademarks">
       &tm-attrib.freebsd;
diff --git a/ru_RU.KOI8-R/articles/cvsup-advanced/article.sgml b/ru_RU.KOI8-R/articles/cvsup-advanced/article.sgml
index c3a6e2bc07..65ea565a9d 100644
--- a/ru_RU.KOI8-R/articles/cvsup-advanced/article.sgml
+++ b/ru_RU.KOI8-R/articles/cvsup-advanced/article.sgml
@@ -1,3 +1,10 @@
+<?xml version="1.0" encoding="koi8-r" standalone="no"?>
+<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
+	"../../../share/sgml/freebsd42.dtd" [
+<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//RU" "../../share/sgml/entities.ent">
+%entities;
+]>
+
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -6,11 +13,6 @@
      Original revision: r23909
 -->
 
-<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
-<!ENTITY % articles.ent PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Articles Entity Set//EN">
-%articles.ent;
-]>
-
 <article lang="ru">
   <articleinfo>
     <title>������ ������� ������ CVSup</title>
@@ -26,14 +28,16 @@
       </author>
     </authorgroup>
 
-    <pubdate>$FreeBSD$</pubdate>
-
     <legalnotice id="trademarks" role="trademarks">
       &tm-attrib.freebsd;
       &tm-attrib.cvsup;
       &tm-attrib.general;
     </legalnotice>
 
+    <pubdate>$FreeBSD$</pubdate>
+
+    <releaseinfo>$FreeBSD$</releaseinfo>
+
     <abstract>
       <para>� ���� ������ �������������� ��������� �����
 	������ <application>CVSup</application>.  � ��� ����������� ���������
diff --git a/ru_RU.KOI8-R/articles/dialup-firewall/article.sgml b/ru_RU.KOI8-R/articles/dialup-firewall/article.sgml
index ec0250f77e..aba6c15ecf 100644
--- a/ru_RU.KOI8-R/articles/dialup-firewall/article.sgml
+++ b/ru_RU.KOI8-R/articles/dialup-firewall/article.sgml
@@ -1,3 +1,10 @@
+<?xml version="1.0" encoding="koi8-r" standalone="no"?>
+<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
+	"../../../share/sgml/freebsd42.dtd" [
+<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//RU" "../../share/sgml/entities.ent">
+%entities;
+]>
+
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -7,11 +14,6 @@
      Original revision: r9218
 -->
 
-<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
-<!ENTITY % man PUBLIC "-//FreeBSD//ENTITIES DocBook Manual Page Entities//EN">
-%man;
-]>
-
 <article lang="ru">
   <articleinfo>
     <title>���������� ����������� ������ �� ������������� ������ ����� ���
@@ -28,7 +30,9 @@
       </author>
     </authorgroup>
 
-    <pubdate>$Date: 2004-07-16 12:58:37 $</pubdate>
+    <pubdate>$FreeBSD$</pubdate>
+
+    <releaseinfo>$FreeBSD$</releaseinfo>
 
     <abstract>
       <para>��� ������ ���������, ��� ��������� ���������� ����� ��� ������
@@ -52,7 +56,7 @@
       ����������� ��� ������ ��� ����, ����� ������� ���� �������� �����������
       ������������� � ����������, ��� �� ���������� ���� ����������� �
       ��������� <ulink
-      URL="mailto:marcs@draenor.org">�����������</ulink>.</para>
+      url="mailto:marcs@draenor.org">�����������</ulink>.</para>
    </sect1>
 
   <sect1 id="kernel">
@@ -61,7 +65,7 @@
     <para>������ ����� ��� ����� ����������������� ���� ���� FreeBSD.  ���� ���
       ����� ����� ��������� ���������� � ���, ��� ��� �������, �� ����� �����
       ������ � <ulink
-      URL="http://www.FreeBSD.org/handbook/kernelconfig.html">�������
+      url="http://www.FreeBSD.org/handbook/kernelconfig.html">�������
       ����������� � ������������ ����</ulink>.  ��� ����� �������� � ����
       ��������� ���������:</para>
 
diff --git a/ru_RU.KOI8-R/articles/diskless-x/article.sgml b/ru_RU.KOI8-R/articles/diskless-x/article.sgml
index 1043d81b0b..1085efdd33 100644
--- a/ru_RU.KOI8-R/articles/diskless-x/article.sgml
+++ b/ru_RU.KOI8-R/articles/diskless-x/article.sgml
@@ -1,3 +1,10 @@
+<?xml version="1.0" encoding="koi8-r" standalone="no"?>
+<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
+	"../../../share/sgml/freebsd42.dtd" [
+<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//RU" "../../share/sgml/entities.ent">
+%entities;
+]>
+
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -7,11 +14,6 @@
      Original revision: r23070
 -->
 
-<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
-<!ENTITY % articles.ent PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Articles Entity Set//EN">
-%articles.ent;
-]>
-
 <article lang="ru">
   <articleinfo>
     <title>����������� X-������: ����������� �� ���������</title>
@@ -43,6 +45,8 @@
       &tm-attrib.general;
     </legalnotice>
 
+    <releaseinfo>$FreeBSD$</releaseinfo>
+
     <abstract>
       <para>� ������� ���������� ������ �� ������ �������� FreeBSD-hackers �
         ���� ��������� ����������� X-��������.  �������� X-���������,
@@ -360,7 +364,7 @@ export PATH
 # mount the /usr filesystem via NFS
 /sbin/mount antares:/DiskLess/usr /usr
 #
-/usr/X11R6/bin/XF86_SVGA -query antares -xf86config /etc/XF86Config.altair > /dev/null 2>&1
+/usr/X11R6/bin/XF86_SVGA -query antares -xf86config /etc/XF86Config.altair > /dev/null 2&gt;&amp;1
 #
 # Reboot after X exits
 /sbin/reboot
diff --git a/ru_RU.KOI8-R/articles/euro/article.sgml b/ru_RU.KOI8-R/articles/euro/article.sgml
index 17a82a9f90..a91ae7eb01 100644
--- a/ru_RU.KOI8-R/articles/euro/article.sgml
+++ b/ru_RU.KOI8-R/articles/euro/article.sgml
@@ -1,3 +1,10 @@
+<?xml version="1.0" encoding="koi8-r" standalone="no"?>
+<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
+	"../../../share/sgml/freebsd42.dtd" [
+<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//RU" "../../share/sgml/entities.ent">
+%entities;
+]>
+
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -6,11 +13,6 @@
      Original revision: r38182
 -->
 
-<!DOCTYPE ARTICLE PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
-<!ENTITY % articles.ent PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Articles Entity Set//EN">
-%articles.ent;
-]>
-
 <article lang="ru">
   <articleinfo>
     <title>������ ���� �� <systemitem
@@ -36,13 +38,15 @@
       <holder>The FreeBSD Documentation Project</holder>
     </copyright>
 
-    <pubdate role="rcs">$FreeBSD$</pubdate>
-
     <legalnotice id="trademarks" role="trademarks">
       &tm-attrib.freebsd;
       &tm-attrib.general;
     </legalnotice>
 
+    <pubdate>$FreeBSD$</pubdate>
+
+    <releaseinfo>$FreeBSD$</releaseinfo>
+
     <abstract>
       <para>� ���� ��������� ����� ������� ������� ������ ��� ������ ������ �
 	����� �������� <keycap>Euro</keycap> �� ����� ����� ����������, �������
@@ -62,7 +66,7 @@
     <title>�� ���� �������</title>
 
     <para>���� �� ��� ���������� ���� �������� ��� ������ � <ulink
-      url="&url.books.handbook/l10n.html">������������</ulink>, ��� ���
+      url="&url.books.handbook;/l10n.html">������������</ulink>, ��� ���
       ������� �� ����������� �� <systemitem
       class="osname">FreeBSD</systemitem>, �� ��� ����� �������������� ������
       ��������� �����, ������� ������� ��� ������ �������� � ����:</para>
@@ -183,11 +187,11 @@ font8x8="iso15-8x8.fnt"</programlisting>
       <screen>&prompt.user; <userinput>vidcontrol -f <replaceable>iso15-8x16.fnt</replaceable></userinput></screen>
 
       <para>��� �������� ����, ��� �� ������ �����, ��������� ����� ��������
-	������ �� ����� <command><anchor id="awk-test">awk</command>:</para>
+	������ �� ����� <command><anchor id="awk-test"/>awk</command>:</para>
 
       <programlisting>#!/usr/bin/awk -f
 BEGIN {
-        for(i=160;i<180;i++)
+        for(i=160;i&lt;180;i++)
                 printf"%3d %c\n",i,i
 }</programlisting>
 
@@ -201,7 +205,7 @@ BEGIN {
 	���������.  ������� �������: ���� � ��� �������� ���������� � ����
 	������� � ��������� ��������, �� �� ������ ���������� ���� ������, ���
 	��� ���������� ��� ���������� �����-�� ���������� ������ (�
-	�������: <keycombo action=simul><keycap>Alt Gr</keycap>
+	�������: <keycombo action="simul"><keycap>Alt Gr</keycap>
 	<keycap>e</keycap></keycombo>) � ������ � ���������� ��������� 164.
 	���� �� ������������� � ����������, ����� ����� ��������� � ��������
 	<filename>/usr/share/syscons/keymaps/*.kbd</filename>.  ������ ������
diff --git a/ru_RU.KOI8-R/articles/explaining-bsd/article.sgml b/ru_RU.KOI8-R/articles/explaining-bsd/article.sgml
index 648df2b67c..9780cc25ec 100644
--- a/ru_RU.KOI8-R/articles/explaining-bsd/article.sgml
+++ b/ru_RU.KOI8-R/articles/explaining-bsd/article.sgml
@@ -1,3 +1,10 @@
+<?xml version="1.0" encoding="koi8-r" standalone="no"?>
+<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
+	"../../../share/sgml/freebsd42.dtd" [
+<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//RU" "../../share/sgml/entities.ent">
+%entities;
+]>
+
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -7,11 +14,6 @@
      Original revision: r38183
 -->
 
-<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
-<!ENTITY % articles.ent PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Articles Entity Set//EN">
-%articles.ent;
-]>
-
 <article lang="ru">
   <articleinfo>
     <title>��� ����� BSD</title>
@@ -38,6 +40,10 @@
       &tm-attrib.general;
     </legalnotice>
 
+    <pubdate>$FreeBSD$</pubdate>
+
+    <releaseinfo>$FreeBSD$</releaseinfo>
+
     <abstract>
       <para>� ���� �������� � ��������� �����������, �����
 	<quote>Linux</quote> ����������� ����� ��������� �����
@@ -111,7 +117,7 @@
 	  �������������� <ulink url="http://www.X.org/">�������� X.Org</ulink>.
 	  &os; ���� ������������ ����������� �������� �� ���������
 	  ����������� ��������, ����� ��� <application>Gnome</application>,
-	  <application>KDE</application> ��� <applicaTIon>Xfce</application>;
+	  <application>KDE</application> ��� <application>Xfce</application>;
 	  � ����� �� ��������� ������ ������� ���������� ���������
 	  <application>Openbox</application>,
 	  <application>Fluxbox</application> ���
@@ -255,7 +261,7 @@
       <listitem>
 	<para>���������� ������, ��� ������� BSD ������ ���������� �, �
 	  �������, <quote>�����</quote> ����� �����.  <ulink
-	  url="http://interactive.wsj.com/bin/login?Tag=/&amp;URI=/archive/retrieve.cgi%253Fid%253DSB952470579348918651.djm&">������
+	  url="http://interactive.wsj.com/bin/login?Tag=/&amp;URI=/archive/retrieve.cgi%253Fid%253DSB952470579348918651.djm&amp;">������
 	  � Wall Street Journal</ulink> �������� ���
 	  <quote>�������������</quote> ����� �������� BSD.  �����
 	  ����������, ��� ����� ������, ��� � ��������� ��������
diff --git a/ru_RU.KOI8-R/articles/fbsd-from-scratch/article.sgml b/ru_RU.KOI8-R/articles/fbsd-from-scratch/article.sgml
index 2625a1ecd0..af092ce854 100644
--- a/ru_RU.KOI8-R/articles/fbsd-from-scratch/article.sgml
+++ b/ru_RU.KOI8-R/articles/fbsd-from-scratch/article.sgml
@@ -1,3 +1,11 @@
+<?xml version="1.0" encoding="koi8-r" standalone="no"?>
+<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
+	"../../../share/sgml/freebsd42.dtd" [
+<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//RU" "../../share/sgml/entities.ent">
+%entities;
+<!ENTITY scratch.ap "<application>FreeBSD From Scratch</application>">
+]>
+
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -6,12 +14,6 @@
      Original revision: r33355
 -->
 
-<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
-<!ENTITY % articles.ent PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Articles Entity Set//EN">
-%articles.ent;
-<!ENTITY scratch.ap "<application>FreeBSD From Scratch</application>">
-]>
-
 <article lang="ru">
   <articleinfo>
     <title>FreeBSD "� ����"</title>
@@ -32,13 +34,15 @@
       <holder>Jens Schweikhardt</holder>
     </copyright>
 
-    <pubdate>$FreeBSD$</pubdate>
-
     <legalnotice id="trademarks" role="trademarks">
       &tm-attrib.freebsd;
       &tm-attrib.adobe;
       &tm-attrib.general;
     </legalnotice>
+
+    <pubdate>$FreeBSD$</pubdate>
+
+    <releaseinfo>$FreeBSD$</releaseinfo>
   </articleinfo>
 
   <abstract>
@@ -405,7 +409,7 @@ Do you wish to delete what is left of /var/tmp/temproot.stage1? [no] <userinput>
       ����� ����������� ��������������.  � ������������ ������ ���������� ���������� � ���,
       ��� ���������� ��������.</para>
 
-    <programlisting><inlinegraphic fileref="stage_1.conf.default" format="linespecific"></programlisting>
+    <programlisting><inlinegraphic fileref="stage_1.conf.default" format="linespecific"/></programlisting>
 
     <para>�������� <ulink url="stage_1.conf.default">
       <filename>stage_1.conf.default</filename></ulink>.</para>
@@ -513,7 +517,7 @@ news inn-stable       CONFIGURE_ARGS="--enable-uucp-rnews --enable-setgid-inews"
       ������� �������������� �� ����� ��������� ���� ���������
       <filename>LOGDIR/category+port</filename>.</para>
 
-    <programlisting><inlinegraphic fileref="stage_2.conf.default" format="linespecific"></programlisting>
+    <programlisting><inlinegraphic fileref="stage_2.conf.default" format="linespecific"/></programlisting>
 
     <para>�������� <ulink url="stage_2.conf.default">
       <filename>stage_2.conf.default</filename></ulink>.</para>
@@ -615,7 +619,7 @@ fi
       <filename>stage_1.sh</filename></ulink>, ������� �� �� ������
       ��������������.</para>
 
-    <programlisting><inlinegraphic fileref="stage_1.sh" format="linespecific"></programlisting>
+    <programlisting><inlinegraphic fileref="stage_1.sh" format="linespecific"/></programlisting>
 
     <para>�������� <ulink
       url="stage_1.sh"><filename>stage_1.sh</filename></ulink>.</para>
@@ -624,7 +628,7 @@ fi
       url="stage_2.sh"><filename>stage_2.sh</filename></ulink>.  ��� �����
       ������������ �������� ���������� � ����� ������ �����.</para>
 
-    <programlisting><inlinegraphic fileref="stage_2.sh" format="linespecific"></programlisting>
+    <programlisting><inlinegraphic fileref="stage_2.sh" format="linespecific"/></programlisting>
 
     <para>�������� <ulink
       url="stage_2.sh"><filename>stage_2.sh</filename></ulink>.</para>
@@ -633,7 +637,7 @@ fi
       url="stage_3.mk"><filename>stage_3.mk</filename></ulink>, ������� ����
       ��� ���� � ���, ��� ���������������� ��� ��������� ������������.</para>
 
-    <programlisting><inlinegraphic fileref="stage_3.mk" format="linespecific"></programlisting>
+    <programlisting><inlinegraphic fileref="stage_3.mk" format="linespecific"/></programlisting>
 
     <para>�������� <ulink
       url="stage_3.mk"><filename>stage_3.mk</filename></ulink>.</para>
diff --git a/ru_RU.KOI8-R/articles/fonts/article.sgml b/ru_RU.KOI8-R/articles/fonts/article.sgml
index ff01f225ce..0328bae746 100644
--- a/ru_RU.KOI8-R/articles/fonts/article.sgml
+++ b/ru_RU.KOI8-R/articles/fonts/article.sgml
@@ -1,3 +1,10 @@
+<?xml version="1.0" encoding="koi8-r" standalone="no"?>
+<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
+	"../../../share/sgml/freebsd42.dtd" [
+<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//RU" "../../share/sgml/entities.ent">
+%entities;
+]>
+
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -7,11 +14,6 @@
      Original revision: r38183
 -->
 
-<!DOCTYPE ARTICLE PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
-<!ENTITY % articles.ent PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Articles Entity Set//EN">
-%articles.ent;
-]>
-
 <!-- Recently, I wanted to figure out how to use some additional fonts that
      I had accumulated.  I finally figured out *how to do it* from the various
      man pages and documentation.  Since it might be of use to other users,
@@ -66,6 +68,8 @@
       &tm-attrib.general;
     </legalnotice>
 
+    <releaseinfo>$FreeBSD$</releaseinfo>
+
     <abstract>
       <para>���� �������� �������� �������� ��������� ������ �������, �������
         ����� �������������� � FreeBSD � ��������� ��������� �������, ��������
@@ -403,9 +407,9 @@ end readonly def
 	<term>Slant</term>
 
 	<listitem>
-	  <para><emphasis remap=bf>r</emphasis>oman, <emphasis
-            remap=bf>i</emphasis>talic, <emphasis
-            remap=bf>o</emphasis>blique, � ��� �����.  ��� ���
+	  <para><emphasis remap="bf">r</emphasis>oman, <emphasis
+            remap="bf">i</emphasis>talic, <emphasis
+            remap="bf">o</emphasis>blique, � ��� �����.  ��� ���
 	    <emphasis>ItalicAngle</emphasis> ����� ����, �� �����
             �������������� <emphasis>roman</emphasis>.</para>
 	</listitem>
diff --git a/ru_RU.KOI8-R/articles/formatting-media/article.sgml b/ru_RU.KOI8-R/articles/formatting-media/article.sgml
index 889ea7053d..c7d7d4ba98 100644
--- a/ru_RU.KOI8-R/articles/formatting-media/article.sgml
+++ b/ru_RU.KOI8-R/articles/formatting-media/article.sgml
@@ -1,3 +1,10 @@
+<?xml version="1.0" encoding="koi8-r" standalone="no"?>
+<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
+	"../../../share/sgml/freebsd42.dtd" [
+<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//RU" "../../share/sgml/entities.ent">
+%entities;
+]>
+
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -7,11 +14,6 @@
      Original revision: r30695
 -->
 
-<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
-<!ENTITY % articles.ent PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Articles Entity Set//EN">
-%articles.ent;
-]>
-
 <article lang="ru">
   <articleinfo>
     <title>�������������� ��������� ��� ������������� � FreeBSD</title>
@@ -41,6 +43,8 @@
       &tm-attrib.general;
     </legalnotice>
 
+    <releaseinfo>$FreeBSD$</releaseinfo>
+
 <!--
     <para>������� �� ������� ����: ������ ��������
       (<email>andy@FreeBSD.org</email>)</para>
@@ -174,7 +178,7 @@ now. -->
     </sect2>
 
     <sect2>
-      <title>��������������� & �������</title>
+      <title>��������������� &amp; �������</title>
 
       <para>���������� ����� �� �������� ������� ���������.  ������ ��������
 	����������� ����������� ������ ������ ����� �������, ���� �� ����
diff --git a/ru_RU.KOI8-R/articles/freebsd-questions/article.sgml b/ru_RU.KOI8-R/articles/freebsd-questions/article.sgml
index 36538a87ad..02015b8618 100644
--- a/ru_RU.KOI8-R/articles/freebsd-questions/article.sgml
+++ b/ru_RU.KOI8-R/articles/freebsd-questions/article.sgml
@@ -1,3 +1,10 @@
+<?xml version="1.0" encoding="koi8-r" standalone="no"?>
+<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
+	"../../../share/sgml/freebsd42.dtd" [
+<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//RU" "../../share/sgml/entities.ent">
+%entities;
+]>
+
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -7,11 +14,6 @@
      Original revision: r25762
 -->
 
-<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
-<!ENTITY % articles.ent PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Articles Entity Set//EN">
-%articles.ent;
-]>
-
 <article lang="ru">
   <articleinfo>
     <title>��� �������� �� ������� �������� FreeBSD-questions c ������������
@@ -26,8 +28,6 @@
       </affiliation>
     </author>
 
-    <pubdate>$FreeBSD$</pubdate>
-
     <legalnotice id="trademarks" role="trademarks">
       &tm-attrib.freebsd;
       &tm-attrib.microsoft;
@@ -37,6 +37,10 @@
       &tm-attrib.general;
     </legalnotice>
 
+    <pubdate>$FreeBSD$</pubdate>
+
+    <releaseinfo>$FreeBSD$</releaseinfo>
+
     <abstract>
       <para>� ���� ��������� ���������� ����������, ������� ����� �������
         ���, ��� ���������� ��������� ������ � ������ ��������
diff --git a/ru_RU.KOI8-R/articles/geom-class/article.sgml b/ru_RU.KOI8-R/articles/geom-class/article.sgml
index c302ead26a..690510cad0 100644
--- a/ru_RU.KOI8-R/articles/geom-class/article.sgml
+++ b/ru_RU.KOI8-R/articles/geom-class/article.sgml
@@ -1,13 +1,17 @@
-<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
+<?xml version="1.0" encoding="koi8-r" standalone="no"?>
+<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
+        "../../../share/sgml/freebsd42.dtd" [
+<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//RU" "../../share/sgml/entities.ent">
+%entities;
+]>
+
 <!--
     The FreeBSD Russian Documentation Project
     $FreeBSD$
     $FreeBSDru$
     Original revision: r38183
 -->
-<!ENTITY % articles.ent PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Articles Entity Set//EN">
-%articles.ent;
-]>
+
 <!-- �������: ����� ������� -->
 
 <article lang="ru">
@@ -26,8 +30,6 @@
       </author>
     </authorgroup>
 
-    <pubdate>$FreeBSD$</pubdate>
-
     <legalnotice id="trademarks" role="trademarks">
       &tm-attrib.freebsd;
       &tm-attrib.cvsup;
@@ -35,6 +37,10 @@
       &tm-attrib.general;
     </legalnotice>
 
+    <pubdate>$FreeBSD$</pubdate>
+
+    <releaseinfo>$FreeBSD$</releaseinfo>
+
     <abstract>
       <para>��� ������ ������������� ��������� ��������� ��������
 	� ���������� GEOM-�������, � ����� ������� ���� � �����.
diff --git a/ru_RU.KOI8-R/articles/gjournal-desktop/article.sgml b/ru_RU.KOI8-R/articles/gjournal-desktop/article.sgml
index 2798315936..34501edd9e 100644
--- a/ru_RU.KOI8-R/articles/gjournal-desktop/article.sgml
+++ b/ru_RU.KOI8-R/articles/gjournal-desktop/article.sgml
@@ -1,14 +1,16 @@
+<?xml version="1.0" encoding="koi8-r" standalone="no"?>
+<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
+        "../../../share/sgml/freebsd42.dtd" [
+<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//RU" "../../share/sgml/entities.ent">
+%entities;
+]>
+
 <!--
   The FreeBSD Russian Documentation Project
   $FreeBSD$
   Original revision: r34581
 -->
 
-<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
-<!ENTITY % articles.ent PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Articles Entity Set//EN">
-%articles.ent;
-]>
-
 <!-- �������: ����� ������� -->
 
 <article lang="ru">
@@ -23,6 +25,8 @@
       </affiliation>
     </author>
 
+    <pubdate>$FreeBSD$</pubdate>
+
     <copyright>
       <year>2008</year>
       <holder role="mailto:manolis@FreeBSD.org">Manolis Kiagias</holder>
@@ -252,7 +256,7 @@
 
       <mediaobject>
 	<imageobject>
-	  <imagedata fileref="disklabel1.png">
+	  <imagedata fileref="disklabel1.png"/>
 	</imageobject>
       </mediaobject>
 
@@ -314,7 +318,7 @@
 
       <mediaobject>
 	<imageobject>
-	  <imagedata fileref="disklabel2.png">
+	  <imagedata fileref="disklabel2.png"/>
 	</imageobject>
       </mediaobject>
 
@@ -349,6 +353,7 @@
 	    <entry>ad0s1g</entry>
 	  </row>
 	</tbody>
+	</tgroup>
       </table>
 
       <para>������ ����������� ������� ���������. ������, �� �����������
@@ -371,6 +376,7 @@
       <para>����� ������ ������������, ��������� ����� ����� �
 	���������������� ��������������.</para>
     </sect2>
+  </sect1>
 
   <sect1 id="configure-journal">
     <title>��������� ��������������</title>
diff --git a/ru_RU.KOI8-R/articles/hats/article.sgml b/ru_RU.KOI8-R/articles/hats/article.sgml
index 0ca80950be..ac61e0bdd8 100644
--- a/ru_RU.KOI8-R/articles/hats/article.sgml
+++ b/ru_RU.KOI8-R/articles/hats/article.sgml
@@ -1,3 +1,10 @@
+<?xml version="1.0" encoding="koi8-r" standalone="no"?>
+<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
+	"../../../share/sgml/freebsd42.dtd" [
+<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//RU" "../../share/sgml/entities.ent">
+%entities;
+]>
+
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -6,12 +13,7 @@
      Original revision: r28570
 -->
 
-<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
-<!ENTITY % articles.ent PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Articles Entity Set//EN">
-%articles.ent;
-]>
-
-<article>
+<article lang='ru'>
   <articleinfo>
     <title>������ ����������� ���</title>
 
@@ -23,13 +25,15 @@
       </author>
     </authorgroup>
 
-    <pubdate>$FreeBSD$</pubdate>
-
     <copyright>
       <year>2002</year>
       <year>2003</year>
       <holder role="mailto:imp@FreeBSD.org">������ ���</holder>
     </copyright>
+
+    <pubdate>$FreeBSD$</pubdate>
+
+    <releaseinfo>$FreeBSD$</releaseinfo>
   </articleinfo>
 
   <note>
diff --git a/ru_RU.KOI8-R/articles/hubs/article.sgml b/ru_RU.KOI8-R/articles/hubs/article.sgml
index 53b9c8bd77..e511647dfa 100644
--- a/ru_RU.KOI8-R/articles/hubs/article.sgml
+++ b/ru_RU.KOI8-R/articles/hubs/article.sgml
@@ -1,4 +1,10 @@
-<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
+<?xml version="1.0" encoding="koi8-r" standalone="no"?>
+<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
+	"../../../share/sgml/freebsd42.dtd" [
+<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//RU" "../../share/sgml/entities.ent">
+%entities;
+]>
+
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -7,17 +13,10 @@
      Original revision: r38057
 -->
 
-<!ENTITY % articles.ent PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Articles Entity Set//EN">
-%articles.ent;
-<!ENTITY % not.published "IGNORE">
-]>
-
 <article lang="ru">
   <articleinfo>
     <title>��������� ������ FreeBSD</title>
 
-    <pubdate>$FreeBSD$</pubdate>
-
     <authorgroup>
       <author>
 	<firstname>Jun</firstname>
@@ -64,6 +63,10 @@
       &tm-attrib.general;
     </legalnotice>
 
+    <pubdate>$FreeBSD$</pubdate>
+
+    <releaseinfo>$FreeBSD$</releaseinfo>
+
     <abstract>
       <para>������� ������� ������, ����������� ������� �������� � ���������
 	������� FreeBSD � ������������ ��������������� ������.</para>
@@ -527,7 +530,7 @@
 	<para>����� ����������� ����� ������������� FTP-������� ��� ������
 	  <application>rsync</application>.  ��� ����� ������� ����������
 	  ����� <filename role="package">net/rsync</filename>, ������� ���
-	  ������ � ������� <xref linkend="mirror-serv-rsync">.
+	  ������ � ������� <xref linkend="mirror-serv-rsync"/>.
 	  ��������� ������ �� ��������� <application>rsync</application> ��
 	  �������� ������������, ��������� ���� ���� ����� ��� ��
 	  ������������.  ��������, ��� �������� ������� �������� � �������
@@ -569,7 +572,7 @@
 	  <application>CVSup</application>.  ��� ����������� ������
 	  <application>CVSup</application>, ��������������� �� ������
 	  <filename role="package">net/cvsup</filename> (��. �����
-	  <xref linkend="mirror-serv-cvsup">).
+	  <xref linkend="mirror-serv-cvsup"/>).
 	  ������ ����������������� ����� (<filename>supfile</filename>) ���
 	  ������������� �
 	  <hostid role="fqdn">ftp-master.FreeBSD.org</hostid>:</para>
@@ -615,8 +618,8 @@ FreeBSD-archive release=all preserve</programlisting>
 	<title>������������� CVSup</title>
 
 	<para>��������� <application>CVSup</application> ������� �������
-	  � (<xref linkend="mirror-serv-cvsup"> �
-	  <xref linkend="mirror-ftp-cvsup">).</para>
+	  � (<xref linkend="mirror-serv-cvsup"/> �
+	  <xref linkend="mirror-ftp-cvsup"/>).</para>
 
 	<para>��������� <application>CVSup</application> ������� ����� ������.
 	  ��������� <filename role="package">net/cvsup-mirror</filename>
@@ -853,7 +856,7 @@ doc-all</programlisting>
 	���������&nbsp;&mdash; <emphasis>����� 2</emphasis> � �.�.  �����������
 	����� ������������ �� ������ ����, ������ ������� �������, ��� ���
 	������ ����� ����, ��� ���� ���������� � �������, ��� ���� ������� �
-	<xref linkend="mirror-requirements">.  ������ ����, ������ �
+	<xref linkend="mirror-requirements"/>.  ������ ����, ������ �
 	�������� 1 ���� ����� ���� ���������; ���������� ��������� ������ �
 	�������� ������.  �������� <emphasis>�����</emphasis> �� ���������� �
 	DNS �, ������ ������, ����� (����� ������-������) �� ���������������.
@@ -874,7 +877,7 @@ doc-all</programlisting>
 	<title>� ���� �������� ����� ������� ���� ������-������!</title>
 
 	<para>���� � ��� ��� �����-���� ����������� ������������ ���
-	  ����������, ��. <xref linkend="mirror-where-where">.
+	  ����������, ��. <xref linkend="mirror-where-where"/>.
 	  ��� ��������:</para>
 
 	<procedure>
@@ -908,10 +911,10 @@ doc-all</programlisting>
 	  ��� �������?</title>
 
 	<para>� ��������, �������, ��������� �
-	  <xref linkend="mirror-where-simple">, ���������.  �������������
+	  <xref linkend="mirror-where-simple"/>, ���������.  �������������
 	  ����� ���������, ��� ��������� ���� ����������� ������� ����.
 	  ������ ����������� ������������ <emphasis>�����������</emphasis>
-	  ������ ������� � <xref linkend="mirror-official">.</para>
+	  ������ ������� � <xref linkend="mirror-official"/>.</para>
       </sect3>
 
       <sect3 id="mirror-where-master">
@@ -946,8 +949,8 @@ doc-all</programlisting>
 	    <application>rsync</application> �
 	    <application>CVSup</application>, � ���������� � FTP.
 	    ������������� ���� ���������� ������� � ��������
-	    <xref linkend="mirror-ftp-rsync"> �
-	    <xref linkend="mirror-ftp-cvsup">.</para>
+	    <xref linkend="mirror-ftp-rsync"/> �
+	    <xref linkend="mirror-ftp-cvsup"/>.</para>
 
 	  <para>�������������� �������������� ���������
 	    <emphasis>1 ������</emphasis> ������� � FTP-������� �� ���������
@@ -961,7 +964,7 @@ doc-all</programlisting>
 
 	  <para><hostid>cvsup-master.FreeBSD.org</hostid> ������������ ������
 	    ������ �� ��������� <application>CVSup</application>.
-	    ������ ��. � <xref linkend="mirror-cvs-cvsup">.</para>
+	    ������ ��. � <xref linkend="mirror-cvs-cvsup"/>.</para>
 
 	  <para>��� ��������� ������� � ����� ������� ��� ����� ��������� �
 	    &a.cvsup-master;.  �� �������� ������� ���������
@@ -1089,7 +1092,7 @@ doc-all</programlisting>
 	    <email>hostmaster@CC.FreeBSD.org</email>, ���
 	    <emphasis>CC</emphasis>&nbsp;&mdash; ��� ����� ������ (� �������
 	    ������ �������� ������).  ������ ����� ������ � DNS ������ �
-	    <xref linkend="mirror-where-organization">.</para>
+	    <xref linkend="mirror-where-organization"/>.</para>
 
 	  <para>���� ��� ����� ������ ���� �� ������� ���������, ��������� �
 	    <email>mirror-admin@FreeBSD.org</email> ��� ������� ��������
diff --git a/ru_RU.KOI8-R/articles/ipsec-must/article.sgml b/ru_RU.KOI8-R/articles/ipsec-must/article.sgml
index 8665d4b2f2..ca36acc376 100644
--- a/ru_RU.KOI8-R/articles/ipsec-must/article.sgml
+++ b/ru_RU.KOI8-R/articles/ipsec-must/article.sgml
@@ -1,3 +1,10 @@
+<?xml version="1.0" encoding="koi8-r" standalone="no"?>
+<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
+	"../../../share/sgml/freebsd42.dtd" [
+<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//RU" "../../share/sgml/entities.ent">
+%entities;
+]>
+
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -7,11 +14,6 @@
      Original revision: r25543
 -->
 
-<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
-<!ENTITY % articles.ent PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Articles Entity Set//EN">
-%articles.ent;
-]>
-
 <article lang="ru">
   <articleinfo>
     <title>����������� ������������ ������ IPsec �� FreeBSD</title>
@@ -33,6 +35,8 @@
       &tm-attrib.general;
     </legalnotice>
 
+    <releaseinfo>$FreeBSD$</releaseinfo>
+
     <abstract>
       <para>�� ������ ��� ���������� � ��������� IPsec, � ���,
 	�������, ����������.  ��� ��� ����� ���������?  � ����� �����
@@ -319,7 +323,7 @@ char **argv;
     iproduct = 1;
 
     if (run)
-      for (i = Q; run && i &lt; Q + K; i++) {
+      for (i = Q; run &amp;&amp; i &lt; Q + K; i++) {
         j = i;
         b = fgetc(fptr);
 
diff --git a/ru_RU.KOI8-R/articles/laptop/article.sgml b/ru_RU.KOI8-R/articles/laptop/article.sgml
index 29a759c0cb..dd8dabace3 100644
--- a/ru_RU.KOI8-R/articles/laptop/article.sgml
+++ b/ru_RU.KOI8-R/articles/laptop/article.sgml
@@ -1,3 +1,10 @@
+<?xml version="1.0" encoding="koi8-r" standalone="no"?>
+<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
+	"../../../share/sgml/freebsd42.dtd" [
+<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//RU" "../../share/sgml/entities.ent">
+%entities;
+]>
+
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -6,11 +13,6 @@
      Original revision: r29400
 -->
 
-<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
-<!ENTITY % articles.ent PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Articles Entity Set//EN">
-%articles.ent;
-]>
-
 <article lang="ru">
   <articleinfo>
     <title>FreeBSD �� ��������</title>
@@ -31,6 +33,8 @@
       &tm-attrib.microsoft;
       &tm-attrib.general;
     </legalnotice>
+
+    <releaseinfo>$FreeBSD$</releaseinfo>
   </articleinfo>
 
     <para>FreeBSD ����� �������������� ��� ������������ ������� ��� ��������, ��
@@ -242,7 +246,7 @@
 
 apm_event USERSUSPENDREQ {
  exec "vidcontrol -s 1 &lt; /dev/console";
- exec "sync && sync && sync";
+ exec "sync &amp;&amp; sync &amp;&amp; sync";
  exec "sleep 1";
  exec "apm -z";
 }
@@ -298,5 +302,6 @@ apm_event NORMRESUME, STANDBYRESUME {
       � ������� ��� �������� ����� <quote>dpms</quote>).  �� ������ ��������
       �������������������� � ���� ��������.  ������ ��� ����� �� ��������
       �������� �����������; ����� ������� ����������� �� ���������.</para>
+    </sect2>
   </sect1>
 </article>
diff --git a/ru_RU.KOI8-R/articles/linux-comparison/article.sgml b/ru_RU.KOI8-R/articles/linux-comparison/article.sgml
index 6178212e9e..18c23284d6 100644
--- a/ru_RU.KOI8-R/articles/linux-comparison/article.sgml
+++ b/ru_RU.KOI8-R/articles/linux-comparison/article.sgml
@@ -1,3 +1,10 @@
+<?xml version="1.0" encoding="koi8-r" standalone="no"?>
+<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
+	"../../../share/sgml/freebsd42.dtd" [
+<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//RU" "../../share/sgml/entities.ent">
+%entities;
+]>
+
 <!--
 Copyright (c) 2005 Dru Lavigne
 
@@ -39,12 +46,6 @@ Copyright (c) 2005 Dru Lavigne
      Original revision: r37598
 -->
 
-<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
-<!ENTITY % articles.ent PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Articles Entity Set//EN">
-%articles.ent;
-<!ENTITY legalnotice SYSTEM "../../share/sgml/legalnotice.sgml">
-]>
-
 <article lang="ru">
   <articleinfo>
     <title>&os;: Open Source ������������ &linux;</title>
@@ -62,6 +63,8 @@ Copyright (c) 2005 Dru Lavigne
       <holder role="mailto:dru@isecom.org">Dru Lavigne</holder>
     </copyright>
 
+    <pubdate>$FreeBSD$</pubdate>
+
     <releaseinfo>$FreeBSD$</releaseinfo>
 
     <legalnotice id="trademarks" role="trademarks">
diff --git a/ru_RU.KOI8-R/articles/mailing-list-faq/article.sgml b/ru_RU.KOI8-R/articles/mailing-list-faq/article.sgml
index 669871fc9a..180030d603 100644
--- a/ru_RU.KOI8-R/articles/mailing-list-faq/article.sgml
+++ b/ru_RU.KOI8-R/articles/mailing-list-faq/article.sgml
@@ -1,3 +1,10 @@
+<?xml version="1.0" encoding="koi8-r" standalone="no"?>
+<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
+	"../../../share/sgml/freebsd42.dtd" [
+<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//RU" "../../share/sgml/entities.ent">
+%entities;
+]>
+
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -6,11 +13,6 @@
      Original revision: r36992
 -->
 
-<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
-<!ENTITY % articles.ent PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Articles Entity Set//EN">
-%articles.ent;
-]>
-
 <article lang="ru">
   <articleinfo>
     <title>����� ���������� ������� �� ������� �������� &os;</title>
@@ -21,14 +23,16 @@
       </author>
     </authorgroup>
 
-    <pubdate>$FreeBSD$</pubdate>
-
     <copyright>
       <year>2004</year>
       <year>2005</year>
       <holder>The &os; Documentation Project</holder>
     </copyright>
 
+    <pubdate>$FreeBSD$</pubdate>
+
+    <releaseinfo>$FreeBSD$</releaseinfo>
+
     <abstract>
       <para>��� ������ ��������� ����� ���������� �������� (FAQ) ��
 	������� �������� &os;.  ���� �� ������ ������ ������������ ������
diff --git a/ru_RU.KOI8-R/articles/mh/article.sgml b/ru_RU.KOI8-R/articles/mh/article.sgml
index 743818d161..af41cc2d02 100644
--- a/ru_RU.KOI8-R/articles/mh/article.sgml
+++ b/ru_RU.KOI8-R/articles/mh/article.sgml
@@ -1,3 +1,10 @@
+<?xml version="1.0" encoding="koi8-r" standalone="no"?>
+<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
+	"../../../share/sgml/freebsd42.dtd" [
+<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//RU" "../../share/sgml/entities.ent">
+%entities;
+]>
+
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -7,11 +14,6 @@
      Original revision: r32632
 -->
 
-<!DOCTYPE ARTICLE PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
-<!ENTITY % articles.ent PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Articles Entity Set//EN">
-%articles.ent;
-]>
-
 <article lang="ru">
   <articleinfo>
     <title>������� �� <application>MH</application></title>
@@ -38,6 +40,8 @@
       &tm-attrib.general;
     </legalnotice>
 
+    <releaseinfo>$FreeBSD$</releaseinfo>
+
 <!--
     <para>������� �� ������� ����: ������ ��������
       (<email>andy@FreeBSD.org</email>)</para>
@@ -151,7 +155,7 @@
       </informalexample>
 
       <para>��� �� �� �����, ��� �� ������� ��� ���������� �������
-	<command>scan</command> (�������� <xref linkend="scan">).  ���� ��
+	<command>scan</command> (�������� <xref linkend="scan"/>).  ���� ��
 	������ ��������� ������� <command>inc</command> ��� ����������, ���
 	�������� ��� ��������� �� ������� ����������� �����, �������
 	��������������� ���.</para>
@@ -523,7 +527,7 @@ which I am probably the guilty party).</screen>
 	</listitem>
 
 	<listitem>
-	  <para>&hellip; <option>-or</option> &hellip</para>
+	  <para>&hellip; <option>-or</option> &hellip;</para>
 	</listitem>
 
 	<listitem>
@@ -698,7 +702,7 @@ Subject:
       <informalexample>
 	<screen>To:<userinput>freebsd-rave@FreeBSD.org</userinput>
 cc:
-Subject:<userinput>And on the 8th day God created the FreeBSD core team</>
+Subject:<userinput>And on the 8th day God created the FreeBSD core team</userinput>
 --------
 <userinput>Wow this is an amazing operating system. Thanks!</userinput></screen>
       </informalexample>
@@ -803,15 +807,16 @@ X-Home-Page: http://www.FreeBSD.org/
 
       <informalexample>
 	<screen>
-%&lt;<emphasis remap=bf>if</emphasis> {reply-to}
-<emphasis remap=bf>� �������� ��������� ������� ���� reply-to</emphasis>
-�� �������� ��� � formataddr, %? <emphasis remap=bf>else</emphasis> {from}
-<emphasis remap=bf>����� ����� from</emphasis>,
-%? <emphasis remap=bf>else</emphasis> {sender}
-<emphasis remap=bf>����� ����� sender</emphasis>, %?
-<emphasis remap=bf>else</emphasis> {return-path}
-<emphasis remap=bf>����� return-path �� ��������� ���������</emphasis>,
-%&gt; <emphasis remap=bf>endif</emphasis>.</screen>
+%&lt;<emphasis remap="bf">if</emphasis> {reply-to}
+<emphasis remap="bf">� �������� ��������� ������� ���� reply-to</emphasis>
+�� �������� ��� � formataddr, %? <emphasis remap="bf">else</emphasis> {from}
+<emphasis remap="bf">����� ����� from</emphasis>,
+%? <emphasis remap="bf">else</emphasis> {sender}
+<emphasis remap="bf">����� ����� sender</emphasis>, %?
+<emphasis remap="bf">else</emphasis> {return-path}
+<emphasis remap="bf">����� return-path �� ��������� ���������</emphasis>,
+%&gt; <emphasis remap="bf">endif</emphasis>.</screen>
+
       </informalexample>
 
       <para>��� �� ������ ������, �������������� <application>MH</application>
diff --git a/ru_RU.KOI8-R/articles/multi-os/article.sgml b/ru_RU.KOI8-R/articles/multi-os/article.sgml
index 1a5dc6c82a..5908eb1de0 100644
--- a/ru_RU.KOI8-R/articles/multi-os/article.sgml
+++ b/ru_RU.KOI8-R/articles/multi-os/article.sgml
@@ -1,3 +1,10 @@
+<?xml version="1.0" encoding="koi8-r" standalone="no"?>
+<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
+	"../../../share/sgml/freebsd42.dtd" [
+<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//RU" "../../share/sgml/entities.ent">
+%entities;
+]>
+
 <!--
      The FreeBSD Russian Documentation Project
    
@@ -7,12 +14,7 @@
      Original revision: r21891
 -->
 
-<!DOCTYPE ARTICLE PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
-<!ENTITY % articles.ent PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Articles Entity Set//EN">
-%articles.ent;
-]>
-
-<article lang=ru>
+<article lang="ru">
   <articleinfo>
     <title>��������� � ������������� FreeBSD ��������� � ������� ������������� ���������</title>
 
@@ -46,6 +48,8 @@
       &tm-attrib.general;
     </legalnotice>
 
+    <releaseinfo>$FreeBSD$</releaseinfo>
+
     <abstract>
       <para>� ���� ��������� ����������� ��� ��������� FreeBSD ��������� ��������������
 	� ������� ����������� ������������� ���������, ������ ���, Linux, &ms-dos;,
@@ -62,7 +66,7 @@
       ������ ��� ���������� ��������������� ���������� �������� �������.
       �� ���� ������� ���� ��������� ���������� �� ������ � EIDE �������.  ����������
       ������� ���������� ������������ ���������� ��������������� ������������ ������
-      � ������������ ֣������ �����, ������� <xref linkend="ch5"> ����� ��������� ��������
+      � ������������ ֣������ �����, ������� <xref linkend="ch5"/> ����� ��������� ��������
       ��������.  � ��� ���������� �������� ����������� ������� ������������, ������������ ���������
       ������������ ������.</para>
 
@@ -190,7 +194,7 @@
       <step>
 	<para>������ ������������ Linux.  �� ������ ��� ��� ������������ Linux,
 	  �� � <ulink url="http://www.slackware.com">Slackware</ulink> LILO
-	  ������� �� ��������� (�������� <xref linkend="ch2">).  � �������
+	  ������� �� ��������� (�������� <xref linkend="ch2"/>).  � �������
 	   <command>fdisk</command> �� Linux ������� ����� �� ������
 	  ����� (�������� 300&nbsp;MB ��� ������� ������ root � ������� ��� swap).</para>
       </step>
@@ -245,7 +249,7 @@ Press Esc to continue
 
 ---------------------------------------------------------------------</screen>
 	  ** FAT16 ��� FAT32.  ������� �� ����, ������������ �� OEM SR2
-	  update.  ��������� � <xref linkend="ch2"> .</para>
+	  update.  ��������� � <xref linkend="ch2"/> .</para>
       </step>
 
       <step>
@@ -296,7 +300,7 @@ Press Esc to continue
 
     <para>��������, ��� &os2; ������������ FAT � HPFS, �� �� FFS (FreeBSD)
       ��� EXT2 (Linux) �������.  ����������, &windows; 95 ����� �������� ������ �
-      ��������� ��������� FAT � FAT32 (�������� <xref linkend="ch2">).  FreeBSD �����
+      ��������� ��������� FAT � FAT32 (�������� <xref linkend="ch2"/>).  FreeBSD �����
       �������� � ������������ �������� ������, �� �� ����������� ���� ��
       ������������ HPFS �������.  Linux ����� ������ HPFS �������, �� �� �����
       ������ �� ���.  ��������� ������ Linux kernel (2.x) ������������ &windows; 95
@@ -314,7 +318,7 @@ Press Esc to continue
     <para>FreeBSD + &windows; 95:  ���� �� ���������� FreeBSD ������ ��  &windows; 95,
       �� � ���� Boot Easy �� ������� <literal>DOS</literal>.  ��� � ����
       &windows; 95.  ���� �� �� ���������� &windows; 95 ����� FreeBSD, �� ����������
-      �������� <xref linkend="ch4"> .  ���� � ������ ����� ������ 1024 ���������, ��
+      �������� <xref linkend="ch4"/> .  ���� � ������ ����� ������ 1024 ���������, ��
       � ��� �� ������ ���� ������� � ���������.  ���� ���� �� ����� �������� �����
       �� ����������� ���������, � �� DOS (&windows; 95) �� ��������� ���������,
       ���� <errorname>invalid system disk</errorname>, � FreeBSD ������������
@@ -330,7 +334,7 @@ Press Esc to continue
 
     <para>FreeBSD + Linux: ������ ������������ Boot Easy.</para>
 
-    <para>FreeBSD + Linux + &windows; 95:  (�������� <xref linkend="ch3">)</para>
+    <para>FreeBSD + Linux + &windows; 95:  (�������� <xref linkend="ch3"/>)</para>
   </sect1>
 
   <sect1 id="sources">
@@ -415,7 +419,7 @@ Press Esc to continue
 	��������� ATAID � �� ������ ������ �� �������������
 	����������������.  �������� ��� ֣����� ���� ���� ���������������
 	�����������, ����������� ����� �����������.  ������
-	���������:  ���� �� ����������� BIOS LBA (�������� <xref linkend="limits">),
+	���������:  ���� �� ����������� BIOS LBA (�������� <xref linkend="limits"/>),
 	�� �� ������ ������������ ����� ��������� ��� ���������
 	������ ���������� ���������.  ��� ���������� �� ������� ����,
 	��� ������ ��������� (��������, <filename>MSD.EXE</filename> ���
@@ -435,7 +439,7 @@ Press Esc to continue
 	<literal>boot sector</literal> ��� <literal>master boot record</literal>.
 	����� ������ �������� ����������, �� ������� ����� ���������� ��
 	Hale Landis <citetitle>How It Works</citetitle>.  �  <xref
-	  linkend="sources"> ��������� ������ �� ���� �����.</para>
+	  linkend="sources"/> ��������� ������ �� ���� �����.</para>
 
       <para>���������� ������������.  ������� ��������� � ��������.</para>
     </sect2>
@@ -457,7 +461,7 @@ Press Esc to continue
 	<firstterm>End Cylinder/Head/Sector</firstterm>.  Partition ID
 	�������� ��� � ������ ���� �������� ������� (� ����� ��) ��������� ������
 	������, � Start/End ������� � ��������������� �������
-	�������.  � ������� <xref linkend="tbl-pid"> ������������ ���������
+	�������.  � ������� <xref linkend="tbl-pid"/> ������������ ���������
 	�������� Partition IDs.</para>
 
       <table id="tbl-pid">
@@ -639,7 +643,7 @@ Press Esc to continue
 	  �������� ���� �� ��������� ������������� ����� ��� ����������
 	  ��.</para>
 
-	<para>���� �� �������� <xref linkend="booting"> � ������ ���
+	<para>���� �� �������� <xref linkend="booting"/> � ������ ���
 	  ������� ����������� ������ (MBR), ����������� ������� �������� �
 	  ������� ��������, �������� � ��� �������� ������ � ���,
 	  ��� ��� �������� �������� ����� �������������.  ���������
diff --git a/ru_RU.KOI8-R/articles/new-users/article.sgml b/ru_RU.KOI8-R/articles/new-users/article.sgml
index 1dc7d07a27..de7787f29e 100644
--- a/ru_RU.KOI8-R/articles/new-users/article.sgml
+++ b/ru_RU.KOI8-R/articles/new-users/article.sgml
@@ -1,3 +1,10 @@
+<?xml version="1.0" encoding="koi8-r" standalone="no"?>
+<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
+	"../../../share/sgml/freebsd42.dtd" [
+<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//RU" "../../share/sgml/entities.ent">
+%entities;
+]>
+
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -7,11 +14,6 @@
      Original revision: r33764
 -->
 
-<!DOCTYPE ARTICLE PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
-<!ENTITY % articles.ent PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Articles Entity Set//EN">
-%articles.ent;
-]>
-
 <article lang="ru">
   <articleinfo>
     <title>������� ��� �������� �� FreeBSD � &unix;</title>
@@ -39,6 +41,8 @@
       &tm-attrib.general;
     </legalnotice>
 
+    <releaseinfo>$FreeBSD$</releaseinfo>
+
     <abstract>
       <para>����������� ��� � ���������� FreeBSD!  ��� ������� �������
 	������������� ��� ���, ��� �������� �������� � ���� FreeBSD
@@ -704,7 +708,7 @@
       ������� �� ����ޣ�, � ������� <command>lp</command> ���
       <command>lpr</command> ������ �������� ���� �� �������.  ����� �� ����
       ������������� ���������, ������� �� ��� ���������, ������� ������� �
-      <ulink URL="&url.books.handbook;/index.html">�����������
+      <ulink url="&url.books.handbook;/index.html">�����������
       FreeBSD.</ulink></para>
   </sect1>
 
diff --git a/ru_RU.KOI8-R/articles/pam/article.sgml b/ru_RU.KOI8-R/articles/pam/article.sgml
index fd0516a6bc..3198baef83 100644
--- a/ru_RU.KOI8-R/articles/pam/article.sgml
+++ b/ru_RU.KOI8-R/articles/pam/article.sgml
@@ -1,3 +1,10 @@
+<?xml version="1.0" encoding="koi8-r" standalone="no"?>
+<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
+	"../../../share/sgml/freebsd42.dtd" [
+<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//RU" "../../share/sgml/entities.ent">
+%entities;
+]>
+
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -6,17 +13,6 @@
      Original revision: r18148
 -->
 
-<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
-<!ENTITY % man PUBLIC "-//FreeBSD//ENTITIES DocBook Manual Page Entities//EN">
-%man;
-
-<!ENTITY % freebsd PUBLIC "-//FreeBSD//ENTITIES DocBook Miscellaneous FreeBSD Entities//EN">
-%freebsd;
-
-<!ENTITY % trademarks PUBLIC "-//FreeBSD//ENTITIES DocBook Trademark Entities//RU">
-%trademarks;
-]>
-
 <!--
   - Copyright (c) 2001-2003 Networks Associates Technology, Inc.
   - All rights reserved.
@@ -99,6 +95,8 @@
       &tm-attrib.sun;
       &tm-attrib.general;
     </legalnotice>
+
+    <releaseinfo>$FreeBSD$</releaseinfo>
   </articleinfo>
 
   <section id="pam-intro">
@@ -914,13 +912,13 @@ sshd   password        required        pam_permit.so</programlisting>
 	<title>������� ������� ��������� ������� PAM</title>
 
 	<tgroup cols="4">
-	  <colspec colwidth="1*" colname="type">
+	  <colspec colwidth="1*" colname="type"/>
 
-	  <colspec colwidth="1*" colname="success">
+	  <colspec colwidth="1*" colname="success"/>
 
-	  <colspec colwidth="1*" colname="ignore">
+	  <colspec colwidth="1*" colname="ignore"/>
 
-	  <colspec colwidth="1*" colname="other">
+	  <colspec colwidth="1*" colname="other"/>
 
 	  <thead>
 	    <row>
@@ -1278,7 +1276,7 @@ sshd   password        required        pam_permit.so</programlisting>
       �����, �� � �������� ����������� �������������� �� �����.</para>
 
     <programlisting><inlinegraphic fileref="pam_app.c"
-      format="linespecific"></programlisting>
+      format="linespecific"/></programlisting>
   </appendix>
 
   <appendix id="pam-sample-module">
@@ -1292,7 +1290,7 @@ sshd   password        required        pam_permit.so</programlisting>
       ����������� ����� ������ �������������.</para>
 
     <programlisting><inlinegraphic fileref="pam_module.c"
-      format="linespecific"></programlisting>
+      format="linespecific"/></programlisting>
   </appendix>
 
   <appendix id="pam-sample-conv">
@@ -1309,7 +1307,7 @@ sshd   password        required        pam_permit.so</programlisting>
       ��� �������������� � ������������� ������������.</para>
 
     <programlisting><inlinegraphic fileref="pam_conv.c"
-      format="linespecific"></programlisting>
+      format="linespecific"/></programlisting>
   </appendix>
 
   <bibliography id="pam-further">
diff --git a/ru_RU.KOI8-R/articles/portbuild/article.sgml b/ru_RU.KOI8-R/articles/portbuild/article.sgml
index 59794b9684..b103d31974 100644
--- a/ru_RU.KOI8-R/articles/portbuild/article.sgml
+++ b/ru_RU.KOI8-R/articles/portbuild/article.sgml
@@ -1,4 +1,10 @@
-<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
+<?xml version="1.0" encoding="koi8-r" standalone="no"?>
+<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
+	"../../../share/sgml/freebsd42.dtd" [
+<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//RU" "../../share/sgml/entities.ent">
+%entities;
+]>
+
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -7,10 +13,6 @@
      Original revision: r28574
 -->
 
-<!ENTITY % articles.ent PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Articles Entity Set//EN">
-%articles.ent;
-]>
-
 <article lang="ru">
   <articleinfo>
     <title>������� ���������� �������</title>
@@ -19,8 +21,6 @@
       <corpauthor>������ ��������� ������ &os;</corpauthor>
     </authorgroup>
 
-    <pubdate>$FreeBSD$</pubdate>
-
     <copyright>
       <year>2003</year>
       <year>2004</year>
@@ -36,6 +36,10 @@
       &tm-attrib.sparc;
       &tm-attrib.general;
     </legalnotice>
+
+    <pubdate>$FreeBSD$</pubdate>
+
+    <releaseinfo>$FreeBSD$</releaseinfo>
   </articleinfo>
 
   <sect1 id="intro">
@@ -196,7 +200,7 @@
       ��� �������� ������� ��� ������ ������� ����� ����� ���������� �������
       ������������� ������ <command>dopackages.${branch}</command>, �����������
       �� <command>dopackages.wrapper</command>.  ����� ���� �������
-      �������������� ���������, ��������:
+      �������������� ���������, ��������:</para>
 
     <screen><command>dopackages.6 <replaceable>${arch}</replaceable> <literal>[-options]</literal></command></screen>
 
diff --git a/ru_RU.KOI8-R/articles/pr-guidelines/article.sgml b/ru_RU.KOI8-R/articles/pr-guidelines/article.sgml
index 44e98e1129..094f70762a 100644
--- a/ru_RU.KOI8-R/articles/pr-guidelines/article.sgml
+++ b/ru_RU.KOI8-R/articles/pr-guidelines/article.sgml
@@ -1,3 +1,12 @@
+<?xml version="1.0" encoding="koi8-r" standalone="no"?>
+<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
+	"../../../share/sgml/freebsd42.dtd" [
+<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//RU" "../../share/sgml/entities.ent">
+%entities;
+<!ENTITY man.edit-pr.1 "<citerefentry><refentrytitle>edit-pr</refentrytitle><manvolnum>1</manvolnum></citerefentry>">
+<!ENTITY man.query-pr.1 "<citerefentry><refentrytitle>query-pr</refentrytitle><manvolnum>1</manvolnum></citerefentry>">
+]>
+
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -11,26 +20,21 @@
 	The FreeBSD Project - http://www.FreeBSD.org
 -->
 
-<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
-<!ENTITY % articles.ent PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Articles Entity Set//EN">
-%articles.ent;
-<!ENTITY man.edit-pr.1 "<citerefentry/<refentrytitle/edit-pr/<manvolnum/1//">
-<!ENTITY man.query-pr.1 "<citerefentry/<refentrytitle/query-pr/<manvolnum/1//">
-]>
-
 <article lang="ru">
   <!-- :START of Article Metadata -->
   <articleinfo>
     <title>������������ �� ������ � ����������� � ���������</title>
 
-    <pubdate>$FreeBSD$</pubdate>
-
     <legalnotice id="trademarks" role="trademarks">
       &tm-attrib.freebsd;
       &tm-attrib.opengroup;
       &tm-attrib.general;
     </legalnotice>
 
+    <pubdate>$FreeBSD$</pubdate>
+
+    <releaseinfo>$FreeBSD$</releaseinfo>
+
     <abstract>
       <para>��� ����������� ��������� ������������� �������� ���������
 	��������� �� ������� FreeBSD (Problem Reports - PR).  ���� ���
@@ -291,7 +295,7 @@
 	���������� (assignee), ������������ � ������� �� ����� �
 	�������:</para>
 
-      <table id=default-assignees-common>
+      <table id="default-assignees-common">
 	<title>���������� �� ��������� &mdash; ��������
 	  �����</title>
 	<tgroup cols="3">
@@ -334,9 +338,10 @@
 	      <entry>freebsd-www</entry>
 	    </row>
 	 </tbody>
+	</tgroup>
       </table>
 
-      <table id=default-assignees-other>
+      <table id="default-assignees-other">
 	<title>���������� �� ��������� &mdash; ���������</title>
 
 	<tgroup cols="3">
@@ -379,6 +384,7 @@
 	      <entry>freebsd-usb</entry>
 	    </row>
 	  </tbody>
+	</tgroup>
       </table>
 
       <para>�� �����������, ���� ����������, ��� ����� PR �������� ���
@@ -412,7 +418,7 @@
 
       <para>���� �������� (��������, ��������) �������� ����������.</para>
 
-      <table id=common-assignees-base>
+      <table id="common-assignees-base">
 	<title>����� ���������� &mdash; ������� �������</title>
 	<tgroup cols="4">
 	  <thead>
@@ -585,9 +591,10 @@
 	      <entry>������ ��������</entry>
 	    </row>
 	  </tbody>
+	</tgroup>
       </table>
 
-      <table id=common-assignees-ports>
+      <table id="common-assignees-ports">
 	<title>����� ���������� &mdash; ��������� ������</title>
 	<tgroup cols="4">
 	  <thead>
@@ -735,6 +742,7 @@
 	      <entry>������ ��������</entry>
 	    </row>
 	  </tbody>
+	</tgroup>
       </table>
 
       <para>PR ��� ������, � ������� ������������ �������� ��������� �����,
@@ -748,7 +756,7 @@
 	�������� ������������ ������� ������, ��� ��� ���������������, ���
 	����� ��� ��� ��� ��������.</para>
 
-      <table id=common-assignees-other>
+      <table id="common-assignees-other">
 	<title>����� ���������� &mdash; ���������</title>
 	<tgroup cols="4">
 	  <thead>
@@ -775,6 +783,7 @@
 	      <entry>�����</entry>
 	    </row>
 	  </tbody>
+	</tgroup>
       </table>
     </section>
 
diff --git a/ru_RU.KOI8-R/articles/problem-reports/article.sgml b/ru_RU.KOI8-R/articles/problem-reports/article.sgml
index cfd0273096..ce97f5ec34 100644
--- a/ru_RU.KOI8-R/articles/problem-reports/article.sgml
+++ b/ru_RU.KOI8-R/articles/problem-reports/article.sgml
@@ -1,3 +1,10 @@
+<?xml version="1.0" encoding="koi8-r" standalone="no"?>
+<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
+	"../../../share/sgml/freebsd42.dtd" [
+<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//RU" "../../share/sgml/entities.ent">
+%entities;
+]>
+
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -6,11 +13,6 @@
      Original revision: r33563
 -->
 
-<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
-<!ENTITY % articles.ent PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Articles Entity Set//EN">
-%articles.ent;
-]>
-
 <article lang="ru">
   <articleinfo>
     <title>����������� ��������� � �������� �� &os;</title>
@@ -27,6 +29,8 @@
       &tm-attrib.general;
     </legalnotice>
 
+    <releaseinfo>$FreeBSD$</releaseinfo>
+
     <abstract>
       <para>��� ������ ���������, ��� ��������� ������� �������������� �
 	��������� ��������� � �������� � ������ &os;.</para>
diff --git a/ru_RU.KOI8-R/articles/pxe/article.sgml b/ru_RU.KOI8-R/articles/pxe/article.sgml
index f1c0239f12..4c646f9545 100644
--- a/ru_RU.KOI8-R/articles/pxe/article.sgml
+++ b/ru_RU.KOI8-R/articles/pxe/article.sgml
@@ -1,3 +1,10 @@
+<?xml version="1.0" encoding="koi8-r" standalone="no"?>
+<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
+	"../../../share/sgml/freebsd42.dtd" [
+<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//RU" "../../share/sgml/entities.ent">
+%entities;
+]>
+
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -6,11 +13,6 @@
      Original revision: r24952
 -->
 
-<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
-<!ENTITY % articles.ent PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Articles Entity Set//EN">
-%articles.ent;
-]>
-
 <article lang="ru">
   <articleinfo>
     <title>����������� �� ���������� ������� FreeBSD</title>
@@ -26,14 +28,16 @@
       </author>
     </authorgroup>
 
-    <pubdate>$FreeBSD$</pubdate>
-
     <legalnotice id="trademarks" role="trademarks">
       &tm-attrib.freebsd;
       &tm-attrib.intel;
       &tm-attrib.general;
     </legalnotice>
 
+    <pubdate>$FreeBSD$</pubdate>
+
+    <releaseinfo>$FreeBSD$</releaseinfo>
+
     <abstract>
       <para>��� ������ �������� ��������� ������ �������� &intel;, �����������
         ������� ������������� FreeBSD ��� ������ ������ PXE �������� ������ ��
diff --git a/ru_RU.KOI8-R/articles/relaydelay/article.sgml b/ru_RU.KOI8-R/articles/relaydelay/article.sgml
index b2b89413c4..1bc58212a3 100644
--- a/ru_RU.KOI8-R/articles/relaydelay/article.sgml
+++ b/ru_RU.KOI8-R/articles/relaydelay/article.sgml
@@ -1,3 +1,11 @@
+<?xml version="1.0" encoding="koi8-r" standalone="no"?>
+<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
+	"../../../share/sgml/freebsd42.dtd" [
+<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//RU" "../../share/sgml/entities.ent">
+%entities;
+<!ENTITY % not.published "IGNORE">
+]>
+
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -7,12 +15,6 @@
      Original revision: r32632
 -->
 
-<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
-<!ENTITY % articles.ent PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Articles Entity Set//EN">
-%articles.ent;
-<!ENTITY % not.published "IGNORE">
-]>
-
 <article lang="ru">
   <articleinfo>
     <title>������������� ���������� ����� ������� �� &os;</title>
@@ -33,6 +35,10 @@
       <holder>The &os; Documentation Project</holder>
     </copyright>
 
+    <pubdate>$FreeBSD$</pubdate>
+
+    <releaseinfo>$FreeBSD$</releaseinfo>
+
     <abstract>
       <para>��� ������ ������� ������������� ��� �������� ���������� ��������
 	�������� ��������� �� �������� ������� &os;.  ������ � �����������
diff --git a/ru_RU.KOI8-R/articles/releng-packages/article.sgml b/ru_RU.KOI8-R/articles/releng-packages/article.sgml
index c54c840791..438f759308 100644
--- a/ru_RU.KOI8-R/articles/releng-packages/article.sgml
+++ b/ru_RU.KOI8-R/articles/releng-packages/article.sgml
@@ -1,3 +1,10 @@
+<?xml version="1.0" encoding="koi8-r" standalone="no"?>
+<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
+	"../../../share/sgml/freebsd42.dtd" [
+<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//RU" "../../share/sgml/entities.ent">
+%entities;
+]>
+
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -10,11 +17,6 @@
      The FreeBSD Documentation Project
 -->
 
-<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
-<!ENTITY % articles.ent PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Articles Entity Set//EN">
-%articles.ent;
-]>
-
 <article lang="ru">
   <title>���������� ������� FreeBSD � ����� ����������� ������� ���������
     �������������</title>
@@ -32,8 +34,6 @@
       </author>
     </authorgroup>
 
-    <pubdate>$FreeBSD$</pubdate>
-
     <legalnotice id="trademarks" role="trademarks">
       &tm-attrib.freebsd;
       &tm-attrib.intel;
@@ -41,6 +41,10 @@
       &tm-attrib.general;
     </legalnotice>
 
+    <pubdate>$FreeBSD$</pubdate>
+
+    <releaseinfo>$FreeBSD$</releaseinfo>
+
     <abstract>
       <para>� ���� ��������� ����������� ������, ������������ �������
         ���������� ������ FreeBSD ��� �������� ������������������� ������
diff --git a/ru_RU.KOI8-R/articles/releng/article.sgml b/ru_RU.KOI8-R/articles/releng/article.sgml
index ac08a97147..6f13371522 100644
--- a/ru_RU.KOI8-R/articles/releng/article.sgml
+++ b/ru_RU.KOI8-R/articles/releng/article.sgml
@@ -1,3 +1,11 @@
+<?xml version="1.0" encoding="koi8-r" standalone="no"?>
+<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
+	"../../../share/sgml/freebsd42.dtd" [
+<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//RU" "../../share/sgml/entities.ent">
+%entities;
+<!ENTITY art.re.pkgs '<ulink url="&url.articles.releng-packages;/article.html">The Release Engineering of Third Party Packages</ulink>'>
+]>
+
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -6,12 +14,6 @@
      Original revision: r38439
 -->
 
-<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
-<!ENTITY % articles.ent PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Articles Entity Set//EN">
-%articles.ent;
-<!ENTITY art.re.pkgs '<ulink url="&url.articles.releng-packages;/article.html">The Release Engineering of Third Party Packages</ulink>'>
-]>
-
 <article lang="ru">
   <title>���������� ������� &os;</title>
 
@@ -49,8 +51,6 @@
       </author>
     </authorgroup>
 
-    <pubdate>$FreeBSD$</pubdate>
-
     <legalnotice id="trademarks" role="trademarks">
       &tm-attrib.freebsd;
       &tm-attrib.cvsup;
@@ -58,6 +58,10 @@
       &tm-attrib.general;
     </legalnotice>
 
+    <pubdate>$FreeBSD$</pubdate>
+
+    <releaseinfo>$FreeBSD$</releaseinfo>
+
     <abstract>
       <para>� ���� ������ ����������� ������, ������� ������������ �������
 	���������� ������� &os; ��� �������� ������������ ������
@@ -145,7 +149,7 @@
 
       <variablelist>
 	<varlistentry>
-	  <term><xref linkend="release-proc"></term>
+	  <term><xref linkend="release-proc"/></term>
 
 	  <listitem>
 	    <para>��������� ����� �������� ���������� ������ ������ ��
@@ -154,7 +158,7 @@
 	</varlistentry>
 
 	<varlistentry>
-	  <term><xref linkend="release-build"></term>
+	  <term><xref linkend="release-build"/></term>
 
 	  <listitem>
 	    <para>������� ������.</para>
@@ -162,7 +166,7 @@
 	</varlistentry>
 
 	<varlistentry>
-	  <term><xref linkend="extensibility"></term>
+	  <term><xref linkend="extensibility"/></term>
 
 	  <listitem>
 	    <para>��� ������� ����� ����� ���� ��������
@@ -171,7 +175,7 @@
 	</varlistentry>
 
 	<varlistentry>
-	  <term><xref linkend="lessons-learned"></term>
+	  <term><xref linkend="lessons-learned"/></term>
 
 	  <listitem>
 	    <para>��������� �� ������, ���������� ��� ������� ������
@@ -180,7 +184,7 @@
 	</varlistentry>
 
 	<varlistentry>
-	  <term><xref linkend="future"></term>
+	  <term><xref linkend="future"/></term>
 
 	  <listitem>
 	    <para>����������� ������� �����.</para>
@@ -300,7 +304,7 @@
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="branches-head" align="center">
+	    <imagedata fileref="branches-head" align="center"/>
 	  </imageobject>
 
 	  <textobject>
@@ -310,7 +314,7 @@
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="branches-releng3" align="center">
+	    <imagedata fileref="branches-releng3" align="center"/>
 	  </imageobject>
 
 	  <textobject>
@@ -320,7 +324,7 @@
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="branches-releng4" align="center">
+	    <imagedata fileref="branches-releng4" align="center"/>
 	  </imageobject>
 
 	  <textobject>
@@ -330,7 +334,7 @@
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="branches-releng5" align="center">
+	    <imagedata fileref="branches-releng5" align="center"/>
 	  </imageobject>
 
 	  <textobject>
@@ -340,7 +344,7 @@
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="branches-releng6" align="center">
+	    <imagedata fileref="branches-releng6" align="center"/>
 	  </imageobject>
 
 	  <textobject>
@@ -350,7 +354,7 @@
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="branches-releng7" align="center">
+	    <imagedata fileref="branches-releng7" align="center"/>
 	  </imageobject>
 
 	  <textobject>
@@ -360,7 +364,7 @@
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="branches-releng8" align="center">
+	    <imagedata fileref="branches-releng8" align="center"/>
 	  </imageobject>
 
 	  <textobject>
diff --git a/ru_RU.KOI8-R/articles/solid-state/article.sgml b/ru_RU.KOI8-R/articles/solid-state/article.sgml
index 014372adce..e732b884f4 100644
--- a/ru_RU.KOI8-R/articles/solid-state/article.sgml
+++ b/ru_RU.KOI8-R/articles/solid-state/article.sgml
@@ -1,3 +1,10 @@
+<?xml version="1.0" encoding="koi8-r" standalone="no"?>
+<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
+	"../../../share/sgml/freebsd42.dtd" [
+<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//RU" "../../share/sgml/entities.ent">
+%entities;
+]>
+
 <!--
      Copyright (c) 2001 The FreeBSD Documentation Project
 
@@ -36,12 +43,6 @@
      Original revision: r35977
 -->
 
-<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
-<!ENTITY % articles.ent PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Articles Entity Set//EN">
-%articles.ent;
-<!ENTITY legalnotice SYSTEM "../../share/sgml/legalnotice.sgml">
-]>
-
 <article lang="ru">
   <articleinfo>
     <title>FreeBSD � ������������� ����������</title>
@@ -57,14 +58,16 @@
       </author>
     </authorgroup>
     
-    <pubdate>$FreeBSD$</pubdate>
-
     <copyright>
       <year>2001</year>
       <year>2009</year>
       <holder>The FreeBSD Documentation Project</holder>
     </copyright>
 
+    <pubdate>$FreeBSD$</pubdate>
+
+    <releaseinfo>$FreeBSD$</releaseinfo>
+
     <legalnotice id="trademarks" role="trademarks">
       &tm-attrib.freebsd;
       &tm-attrib.general;
@@ -183,7 +186,7 @@ pseudo-device   md              # memory disk</programlisting>
       � ������ ������ � ������ ��������
       ������ ���������, ��� ��� ������ <filename>/</filename> (� ����� ������
       �������, ������� ����� ���������� �� ����-��������) ������ �������������
-      � ������ ������ ��� ������.  ���������, ��� � <xref linkend="intro"> ��
+      � ������ ������ ��� ������.  ���������, ��� � <xref linkend="intro"/> ��
       �������� ����������� ����-������ - �������� �����������, ����������
       ������������ ������.  ����� �� ����������� �������� ������� ��
       ����-��������� � ������� ������ � ������, � �������� ������ �� �����
@@ -206,7 +209,7 @@ pseudo-device   md              # memory disk</programlisting>
       ������� ��� ������ �������� <filename>/etc/rc.d/var</filename>.  ���� ���
       �������� �������� ���������� � ����������� ������ � �������� �������
       � �������� ���������������� ����������� �������, � <xref
-      linkend="strategies">.</para>
+      linkend="strategies"/>.</para>
 
     <para>����� �������, ��� �������� �������, ������� ���� ������������
       ������ ��� ������ ��� ������ ����� <filename>/etc/fstab</filename>, �
@@ -346,7 +349,7 @@ pseudo-device   md              # memory disk</programlisting>
     <title>��������� ������ � �������� ��� ������� ��������� � ���������
       ������ ��� ������ �������� ������</title>
 
-    <para>� <xref linkend="ro-fs"> ���� �������, ��� �������� �������
+    <para>� <xref linkend="ro-fs"/> ���� �������, ��� �������� �������
       <filename>/var</filename>, ����������� ��������
       <filename>/etc/rc.d/var</filename>, � ������� �������� ��������
       �������, ��������� ������ ��� ������, �������� � ��������� ��� ������
@@ -406,7 +409,7 @@ pseudo-device   md              # memory disk</programlisting>
 	��� ���� �������� ������� �� ����-��������� �������� ������ ��� ������.
 	������� ��� ����� �������� ����������� �� � ������ ������ � ������,
 	��������� ��������� ��������� ������, ��� ��� �������� �
-	<xref linkend="ro-fs">.  �� ������ ������ ��������������� ��� ��������
+	<xref linkend="ro-fs"/>.  �� ������ ������ ��������������� ��� ��������
 	������� � ����� ������ ��� ������ ����� ��������� ����� -
 	�������� ������ �� ���� �������� ����� ����������� ��������� ���
 	���� ������������.</para>
diff --git a/ru_RU.KOI8-R/articles/version-guide/article.sgml b/ru_RU.KOI8-R/articles/version-guide/article.sgml
index 3d24c7bede..111e420149 100644
--- a/ru_RU.KOI8-R/articles/version-guide/article.sgml
+++ b/ru_RU.KOI8-R/articles/version-guide/article.sgml
@@ -1,3 +1,11 @@
+<?xml version="1.0" encoding="koi8-r" standalone="no"?>
+<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
+	"../../../share/sgml/freebsd42.dtd" [
+<!ENTITY % freebsd.urls.absolute "INCLUDE">
+<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//RU" "../../share/sgml/entities.ent">
+%entities;
+]>
+
 <!--
      The FreeBSD Documentation Project
 
@@ -9,15 +17,6 @@
      Original revision: r35381
 -->
 
-<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
-<!ENTITY % freebsd.urls.absolute "INCLUDE">
-<!ENTITY % articles.ent PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Articles Entity Set//EN">
-%articles.ent;
-<!--
-<!ENTITY art.re.pkgs '<ulink url="&url.articles.releng-packages;/article.html">The Release Engineering of Third Party Packages</ulink>'>
--->
-]>
-
 <article lang="ru">
   <title>����� ���������� ��� ��� ������ FreeBSD</title>
 
@@ -28,8 +27,6 @@
       </author>
     </authorgroup>
 
-    <pubdate>$FreeBSD$</pubdate>
-
     <legalnotice id="trademarks" role="trademarks">
       &tm-attrib.freebsd;
     </legalnotice>
@@ -39,6 +36,10 @@
       <holder>The FreeBSD Documentation Project</holder>
     </copyright>
 
+    <pubdate>$FreeBSD$</pubdate>
+
+    <releaseinfo>$FreeBSD$</releaseinfo>
+
     <abstract>
       <para>����, �� ������ ���������� &os;.  ����� ����������!  ����
 	�������� ������� ��� ����, ����� ������ ��� � ������ ������ ���
diff --git a/ru_RU.KOI8-R/articles/vm-design/article.sgml b/ru_RU.KOI8-R/articles/vm-design/article.sgml
index 6d48a78741..c5271945f5 100644
--- a/ru_RU.KOI8-R/articles/vm-design/article.sgml
+++ b/ru_RU.KOI8-R/articles/vm-design/article.sgml
@@ -1,3 +1,10 @@
+<?xml version="1.0" encoding="koi8-r" standalone="no"?>
+<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
+	"../../../share/sgml/freebsd42.dtd" [
+<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//RU" "../../share/sgml/entities.ent">
+%entities;
+]>
+
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -7,11 +14,6 @@
      Original revision: r35897
 -->
 
-<!DOCTYPE ARTICLE PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
-<!ENTITY % articles.ent PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Articles Entity Set//EN">
-%articles.ent;
-]>
-
 <article lang="ru">
   <articleinfo>
     <title>�������� ����������� ������� ����������� ������ �� &os;</title>
@@ -37,6 +39,10 @@
       &tm-attrib.general;
     </legalnotice>
 
+    <pubdate>$FreeBSD$</pubdate>
+
+    <releaseinfo>$FreeBSD$</releaseinfo>
+
 <!--
     <para>������� �� ������� ����: ������ ��������
       (<email>andy@FreeBSD.org</email>)</para>
@@ -204,7 +210,7 @@
 
     <mediaobject>
       <imageobject>
-        <imagedata fileref="fig1" format="EPS">
+        <imagedata fileref="fig1" format="EPS"/>
       </imageobject>
 	
       <textobject>
@@ -227,7 +233,7 @@
 
     <mediaobject>
       <imageobject>
-        <imagedata fileref="fig2" format="EPS">
+        <imagedata fileref="fig2" format="EPS"/>
       </imageobject>
 
       <textobject>
@@ -248,7 +254,7 @@
 
     <mediaobject>
       <imageobject>
-        <imagedata fileref="fig3" format="EPS">
+        <imagedata fileref="fig3" format="EPS"/>
       </imageobject>
       
       <textobject>
@@ -280,7 +286,7 @@
 
     <mediaobject>
       <imageobject>
-        <imagedata fileref="fig4" format="EPS">
+        <imagedata fileref="fig4" format="EPS"/>
       </imageobject>
 
       <textobject>
diff --git a/ru_RU.KOI8-R/articles/zip-drive/article.sgml b/ru_RU.KOI8-R/articles/zip-drive/article.sgml
index 51393e4f53..8488065c40 100644
--- a/ru_RU.KOI8-R/articles/zip-drive/article.sgml
+++ b/ru_RU.KOI8-R/articles/zip-drive/article.sgml
@@ -1,3 +1,10 @@
+<?xml version="1.0" encoding="koi8-r" standalone="no"?>
+<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
+	"../../../share/sgml/freebsd42.dtd" [
+<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//RU" "../../share/sgml/entities.ent">
+%entities;
+]>
+
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -7,11 +14,6 @@
      Original revision: r22090
 -->
 
-<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
-<!ENTITY % articles.ent PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Articles Entity Set//EN">
-%articles.ent;
-]>
-
 <article lang="ru">
   <articleinfo>
     <title>���������� &iomegazip;</title>
@@ -36,6 +38,9 @@
       &tm-attrib.general;
     </legalnotice>
 
+    <pubdate>$FreeBSD$</pubdate>
+
+    <releaseinfo>$FreeBSD$</releaseinfo>
   </articleinfo>
 
   <sect1>
@@ -250,7 +255,7 @@ da1: &lt;IOMEGA ZIP 100 D.13&gt; Removable Direct Access SCSI-2 Device
 	<screen>
 &prompt.root; <userinput>/usr/sbin/config MYKERNEL</userinput>
 &prompt.root; <userinput>cd ../../compile/MYKERNEL</userinput>	  
-&prompt.root; <userinput>make clean depend && make all install</userinput>
+&prompt.root; <userinput>make clean depend &amp;&amp; make all install</userinput>
         </screen>
       </listitem>
     </orderedlist>
diff --git a/ru_RU.KOI8-R/books/arch-handbook/driverbasics/chapter.sgml b/ru_RU.KOI8-R/books/arch-handbook/driverbasics/chapter.sgml
index c1efe4dc00..e015995807 100644
--- a/ru_RU.KOI8-R/books/arch-handbook/driverbasics/chapter.sgml
+++ b/ru_RU.KOI8-R/books/arch-handbook/driverbasics/chapter.sgml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
 <!--
      The FreeBSD Russian Documentation Project
 
diff --git a/ru_RU.KOI8-R/books/arch-handbook/locking/chapter.sgml b/ru_RU.KOI8-R/books/arch-handbook/locking/chapter.sgml
index 19d0f518c6..d171e471c4 100644
--- a/ru_RU.KOI8-R/books/arch-handbook/locking/chapter.sgml
+++ b/ru_RU.KOI8-R/books/arch-handbook/locking/chapter.sgml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
 <!--
      The FreeBSD Russian Documentation Project
 
diff --git a/ru_RU.KOI8-R/books/arch-handbook/sound/chapter.sgml b/ru_RU.KOI8-R/books/arch-handbook/sound/chapter.sgml
index 2cef7d8f5e..2eaeab5e97 100644
--- a/ru_RU.KOI8-R/books/arch-handbook/sound/chapter.sgml
+++ b/ru_RU.KOI8-R/books/arch-handbook/sound/chapter.sgml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
 <!--
      The FreeBSD Russian Documentation Project
 
diff --git a/ru_RU.KOI8-R/books/design-44bsd/book.sgml b/ru_RU.KOI8-R/books/design-44bsd/book.sgml
index 23b1afb143..70625d3fe8 100644
--- a/ru_RU.KOI8-R/books/design-44bsd/book.sgml
+++ b/ru_RU.KOI8-R/books/design-44bsd/book.sgml
@@ -1,3 +1,10 @@
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
+<!DOCTYPE book PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
+	"../../../share/sgml/freebsd42.dtd" [
+<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//RU" "../../share/sgml/entities.ent">
+%entities;
+]>
+
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -7,11 +14,6 @@
      Original revision: r21867
 -->
 
-<!DOCTYPE book PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
-<!ENTITY % books.ent PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Books Entity Set//EN">
-%books.ent;
-]>
-
 <book lang="ru">
   <bookinfo>
     <title>����������� � ���������� ������������ ������� 4.4BSD</title>
@@ -71,6 +73,8 @@
        ���������� � <ulink url="http://www.mckusick.com/courses/">������ �
        BSD</ulink> �������� � ����� ���������.</para>
     </legalnotice>
+
+    <releaseinfo>$FreeBSD$</releaseinfo>
   </bookinfo>
 
   <chapter id="overview" label="2">
diff --git a/ru_RU.KOI8-R/books/developers-handbook/book.sgml b/ru_RU.KOI8-R/books/developers-handbook/book.sgml
index a6e499141e..b47db92059 100644
--- a/ru_RU.KOI8-R/books/developers-handbook/book.sgml
+++ b/ru_RU.KOI8-R/books/developers-handbook/book.sgml
@@ -1,3 +1,11 @@
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
+<!DOCTYPE book PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
+	"../../../share/sgml/freebsd42.dtd" [
+<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//RU" "../../share/sgml/entities.ent">
+%entities;
+<!ENTITY % chapters SYSTEM "chapters.ent"> %chapters;
+]>
+
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -7,15 +15,7 @@
      Original revision: r8435
 -->
 
-<!DOCTYPE BOOK PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
-<!ENTITY % bookinfo PUBLIC "-//FreeBSD//ENTITIES DocBook BookInfo Entities//RU">
-%bookinfo;
-<!ENTITY % man PUBLIC "-//FreeBSD//ENTITIES DocBook Manual Page Entities//EN">
-%man;
-<!ENTITY % chapters SYSTEM "chapters.ent"> %chapters;
-]>
-
-<book>
+<book lang='ru'>
   <bookinfo>
     <title>����������� FreeBSD ��� �������������</title>
 
@@ -37,7 +37,9 @@
       <holder>The FreeBSD Documentation Project</holder>
     </copyright>
 
-    &bookinfo.legalnotice;
+    &legalnotice;
+
+    <releaseinfo>$FreeBSD$</releaseinfo>
 
     <abstract>
       <para>����� ���������� � ����������� FreeBSD ��� �������������.</para>
diff --git a/ru_RU.KOI8-R/books/developers-handbook/chapters.ent b/ru_RU.KOI8-R/books/developers-handbook/chapters.ent
index 67efaaed61..79a77fa6a1 100644
--- a/ru_RU.KOI8-R/books/developers-handbook/chapters.ent
+++ b/ru_RU.KOI8-R/books/developers-handbook/chapters.ent
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="koi8-r"?>
 <!-- 
      The FreeBSD Russian Documentation Project
 
diff --git a/ru_RU.KOI8-R/books/developers-handbook/driverbasics/chapter.sgml b/ru_RU.KOI8-R/books/developers-handbook/driverbasics/chapter.sgml
index 79bbcf89b7..b312c5a4c1 100644
--- a/ru_RU.KOI8-R/books/developers-handbook/driverbasics/chapter.sgml
+++ b/ru_RU.KOI8-R/books/developers-handbook/driverbasics/chapter.sgml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -406,4 +407,4 @@ Test Data
       loopback, ��������� �������� ����� ���� (Bill Paul), � ���
       �����..</para>
   </sect1>
-</chapter>
\ No newline at end of file
+</chapter>
diff --git a/ru_RU.KOI8-R/books/developers-handbook/introduction/chapter.sgml b/ru_RU.KOI8-R/books/developers-handbook/introduction/chapter.sgml
index 6c86d5a690..a94fafc7f9 100644
--- a/ru_RU.KOI8-R/books/developers-handbook/introduction/chapter.sgml
+++ b/ru_RU.KOI8-R/books/developers-handbook/introduction/chapter.sgml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
 <!--
      The FreeBSD Russian Documentation Project
 
diff --git a/ru_RU.KOI8-R/books/developers-handbook/kerneldebug/chapter.sgml b/ru_RU.KOI8-R/books/developers-handbook/kerneldebug/chapter.sgml
index 6dbba1c1b3..dec946be93 100644
--- a/ru_RU.KOI8-R/books/developers-handbook/kerneldebug/chapter.sgml
+++ b/ru_RU.KOI8-R/books/developers-handbook/kerneldebug/chapter.sgml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
 <!--
      The FreeBSD Russian Documentation Project
 
diff --git a/ru_RU.KOI8-R/books/developers-handbook/locking/chapter.sgml b/ru_RU.KOI8-R/books/developers-handbook/locking/chapter.sgml
index b70a6e7de8..2876a86b2e 100644
--- a/ru_RU.KOI8-R/books/developers-handbook/locking/chapter.sgml
+++ b/ru_RU.KOI8-R/books/developers-handbook/locking/chapter.sgml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
 <!--
      The FreeBSD Russian Documentation Project
 
diff --git a/ru_RU.KOI8-R/books/developers-handbook/pci/chapter.sgml b/ru_RU.KOI8-R/books/developers-handbook/pci/chapter.sgml
index e380721dac..4ee8b9d6f2 100644
--- a/ru_RU.KOI8-R/books/developers-handbook/pci/chapter.sgml
+++ b/ru_RU.KOI8-R/books/developers-handbook/pci/chapter.sgml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -218,4 +219,4 @@ DRIVER_MODULE(mypci, pci, mypci_driver, mypci_devclass, 0, 0);
     </itemizedlist>
   </para>
 </sect1>
-</chapter>
\ No newline at end of file
+</chapter>
diff --git a/ru_RU.KOI8-R/books/developers-handbook/policies/chapter.sgml b/ru_RU.KOI8-R/books/developers-handbook/policies/chapter.sgml
index c3242c77bf..93858c6332 100644
--- a/ru_RU.KOI8-R/books/developers-handbook/policies/chapter.sgml
+++ b/ru_RU.KOI8-R/books/developers-handbook/policies/chapter.sgml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
 <!--
      The FreeBSD Russian Documentation Project
 
diff --git a/ru_RU.KOI8-R/books/developers-handbook/secure/chapter.sgml b/ru_RU.KOI8-R/books/developers-handbook/secure/chapter.sgml
index 6bb47bc580..de83c27c5a 100644
--- a/ru_RU.KOI8-R/books/developers-handbook/secure/chapter.sgml
+++ b/ru_RU.KOI8-R/books/developers-handbook/secure/chapter.sgml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
 <!--
      The FreeBSD Russian Documentation Project
 
diff --git a/ru_RU.KOI8-R/books/faq/book.sgml b/ru_RU.KOI8-R/books/faq/book.sgml
index deda296e31..1809a0e828 100644
--- a/ru_RU.KOI8-R/books/faq/book.sgml
+++ b/ru_RU.KOI8-R/books/faq/book.sgml
@@ -1,14 +1,8 @@
-<!--
-     The FreeBSD Russian Documentation Project
-
-     $FreeBSDru: frdp/doc/ru_RU.KOI8-R/books/faq/book.sgml,v 1.213 2007/05/14 19:27:34 gad Exp $
-
-     Original revision: r38488
--->
-
-<!DOCTYPE book PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
-<!ENTITY % books.ent PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Books Entity Set//EN">
-%books.ent;
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
+<!DOCTYPE book PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
+	"../../../share/sgml/freebsd42.dtd" [
+<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//RU" "../../share/sgml/entities.ent">
+%entities;
 <!ENTITY bibliography SYSTEM "../../../share/sgml/bibliography.sgml">
 <!ENTITY rel.head "<emphasis>10-CURRENT</emphasis>">
 <!ENTITY rel.head.relx "10.<replaceable>X</replaceable>">
@@ -32,6 +26,14 @@
 <!ENTITY rel3.packages "packages-7-stable">
 ]>
 
+<!--
+     The FreeBSD Russian Documentation Project
+
+     $FreeBSDru: frdp/doc/ru_RU.KOI8-R/books/faq/book.sgml,v 1.213 2007/05/14 19:27:34 gad Exp $
+
+     Original revision: r38488
+-->
+
 <book lang="ru">
   <bookinfo>
     <title>����� ���������� ������� �� &os;
@@ -39,8 +41,6 @@
 
     <corpauthor>The &os; Documentation Project</corpauthor>
 
-    <pubdate>$FreeBSD$</pubdate>
-
     <copyright>
       <year>1995</year>
       <year>1996</year>
@@ -63,7 +63,7 @@
       <holder>The &os; Documentation Project</holder>
     </copyright>
 
-    &bookinfo.legalnotice;
+    &legalnotice;
 
     <legalnotice id="trademarks" role="trademarks">
       &tm-attrib.freebsd;
@@ -89,6 +89,8 @@
       &tm-attrib.general;
     </legalnotice>
 
+    <releaseinfo>$FreeBSD$</releaseinfo>
+
     <abstract>
       <para>���� �������� �������� ��� ���������� FAQ (Frequently Asked
 	Questions), �� ���� ������� ����� ���������� �������� �� &os; ������
@@ -1303,7 +1305,7 @@
 	    ������������ ���������� MDA, �� ��� ������ � &xorg; ���������
 	    ������� ��������� VGA ��� �����.</para>
 
-	  <para>���������� ����� � <xref linkend="hardware">.</para>
+	  <para>���������� ����� � <xref linkend="hardware"/>.</para>
 	</answer>
       </qandaentry>
 
@@ -1820,7 +1822,6 @@
 	</answer>
       </qandaentry>
 
-
       <qandaentry>
 	<question id="need-complete-sources">
 	  <para>����� �� ������������� ��� �������� ������ �������?</para>
@@ -3179,7 +3180,7 @@ quit</programlisting>
 	      �� ����� ��������� ������ ����������, ��� ������ ����
 	      ������������� ���� ������.  ��������� ���������� ���������.
 	      ����� ���������� � ������� FAQ �� <link
-	      linkend="KERNEL-PANIC-TROUBLESHOOTING">��������� �����������
+	      linkend="kernel-panic-troubleshooting">��������� �����������
 	      ������ ����</link>, ��������� ���������� ���� � ��������
 	      ������ �������.  ��� ����� ������� ������� �������, �� ��� ��
 	      ����� ������� ������ ����������������; ������ ��������
@@ -4135,7 +4136,7 @@ kern.timecounter.hardware: TSC -&gt; i8254</screen>
 	    <link linkend="apps2go">Apps2go</link>, ������������
 	    ����� ��ۣ��� �����������
 	    <application>&motif;&nbsp;2.1.20</application> ��� &os;
-	    (&i386;) � ������� ELF.<anchor id="apps2go"></para>
+	    (&i386;) � ������� ELF.<anchor id="apps2go"/></para>
 
 	  <para>���������� ��� ������������, <quote>��� �������������</quote>
 	    (<quote>development edition</quote>) � �ݣ ����� ��ۣ���
@@ -4862,7 +4863,6 @@ kern.sched.name: 4BSD</screen>
 	    ������������� ������������.</para>
 	</answer>
       </qandaentry>
-
     </qandaset>
   </chapter>
 
@@ -5008,7 +5008,7 @@ kern.sched.name: 4BSD</screen>
 	</question>
 
 	<answer>
-	  <para><anchor id="dedicate">� �������� ��������� �� ������ �������
+	  <para><anchor id="dedicate"/>� �������� ��������� �� ������ �������
 	    ��� ��������� ������ ��������� ������ ����� (������).  �� ���������
 	    ��� ��������
 	    � ������ ������������� � ������� ������������� ��������� �� ���� ��
@@ -6961,7 +6961,7 @@ options    SYSVMSG	  # enable for messaging</programlisting>
 	    ��������� &man.xdm.1; (�� ����, ��� ���������� ��������
 	    <literal>securelevel</literal>).</para>
 
-	  <para>���������� � <xref linkend="xdm-boot"> ��� ��������� �����
+	  <para>���������� � <xref linkend="xdm-boot"/> ��� ��������� �����
 	    ������ ���������� � ������� &man.xdm.1; �� ����� ��������.</para>
 	</answer>
       </qandaentry>
@@ -6981,7 +6981,7 @@ options    SYSVMSG	  # enable for messaging</programlisting>
 	    &man.moused.8;.  ���� �� ������ ������������ ���� ���� �� ����� ���
 	    ���������� ����������� ��������, <emphasis>���������</emphasis>
 	    ������������ X, ���������� <xref linkend="moused"
-	    remap="������ ������"> � ��������� &man.moused.8;.</para>
+	    remap="������ ������"/> � ��������� &man.moused.8;.</para>
 
 	  <para>����� �������������� <filename>/etc/X11/xorg.conf</filename>
 	    ���, ����� � � ���� ��������� ������:</para>
@@ -7874,7 +7874,7 @@ Key F15	A	A	Menu Workplace Nop</programlisting>
 	    <title>������� ����� ��������� �� ������ ������ ���������
 	      DEC PCI</title>
 
-	    <tgroup cols=2>
+	    <tgroup cols="2">
 	      <thead>
 		<row>
 		  <entry>�������������</entry>
@@ -8755,12 +8755,12 @@ add 0 0 HISADDR</programlisting>
 	  <itemizedlist>
 	    <listitem>
 	      <para>���� �������� �� ���̣���� ������, �� �������� <xref
-		  linkend="ppp-remote-not-responding">.</para>
+		  linkend="ppp-remote-not-responding"/>.</para>
 	    </listitem>
 
 	    <listitem>
 	      <para>���� �������� � ����� �������, �������� <xref
-		  linkend="ppp-hung">.</para>
+		  linkend="ppp-hung"/>.</para>
 	    </listitem>
 	  </itemizedlist>
 	</answer>
@@ -9555,7 +9555,7 @@ ATDT1234567</programlisting>
 	</answer>
       </qandaentry>
 
-      <qandaentry id=PPPoEwithNAT>
+      <qandaentry id="PPPoEwithNAT">
 	<question id="macos-win98-pppoe-freeze">
 	  <para>������ ��� ������������� �� �������������� PPPoE ��������
 	    ���������� � &macos; � &windows;&nbsp;98?</para>
diff --git a/ru_RU.KOI8-R/books/fdp-primer/book.sgml b/ru_RU.KOI8-R/books/fdp-primer/book.sgml
index 468bd68038..6e0137861f 100644
--- a/ru_RU.KOI8-R/books/fdp-primer/book.sgml
+++ b/ru_RU.KOI8-R/books/fdp-primer/book.sgml
@@ -1,3 +1,11 @@
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
+<!DOCTYPE book PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
+	"../../../share/sgml/freebsd42.dtd" [
+<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//RU" "../../share/sgml/entities.ent">
+%entities;
+<!ENTITY % chapters SYSTEM "chapters.ent"> %chapters;
+]>
+
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -37,15 +45,6 @@
      POSSIBILITY OF SUCH DAMAGE.
 -->
 
-<!DOCTYPE book PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
-
-<!ENTITY % books.ent PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Books Entity Set//EN">
-%books.ent;
-<!ENTITY % chapters SYSTEM "chapters.ent"> %chapters;
-<!ENTITY % not.published "INCLUDE">
-<!-- ENTITY index SYSTEM "index.sgml" -->
-]>
-
 <book lang="ru">
   <bookinfo>
     <title>������� �� ������� ���������������� FreeBSD ��� �����
diff --git a/ru_RU.KOI8-R/books/fdp-primer/doc-build/chapter.sgml b/ru_RU.KOI8-R/books/fdp-primer/doc-build/chapter.sgml
index 95a4d8d9b3..c0ae0df391 100644
--- a/ru_RU.KOI8-R/books/fdp-primer/doc-build/chapter.sgml
+++ b/ru_RU.KOI8-R/books/fdp-primer/doc-build/chapter.sgml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
 <!--
      The FreeBSD Russian Documentation Project
 
diff --git a/ru_RU.KOI8-R/books/fdp-primer/overview/chapter.sgml b/ru_RU.KOI8-R/books/fdp-primer/overview/chapter.sgml
index 546c987d4d..816389eb83 100644
--- a/ru_RU.KOI8-R/books/fdp-primer/overview/chapter.sgml
+++ b/ru_RU.KOI8-R/books/fdp-primer/overview/chapter.sgml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
 <!--
      The FreeBSD Russian Documentation Project
 
diff --git a/ru_RU.KOI8-R/books/fdp-primer/see-also/chapter.sgml b/ru_RU.KOI8-R/books/fdp-primer/see-also/chapter.sgml
index 1f53a0fd7e..0da5ebc5db 100644
--- a/ru_RU.KOI8-R/books/fdp-primer/see-also/chapter.sgml
+++ b/ru_RU.KOI8-R/books/fdp-primer/see-also/chapter.sgml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
 <!--
      The FreeBSD Russian Documentation Project
 
diff --git a/ru_RU.KOI8-R/books/fdp-primer/sgml-markup/chapter.sgml b/ru_RU.KOI8-R/books/fdp-primer/sgml-markup/chapter.sgml
index ba301ab890..d45e537ec3 100644
--- a/ru_RU.KOI8-R/books/fdp-primer/sgml-markup/chapter.sgml
+++ b/ru_RU.KOI8-R/books/fdp-primer/sgml-markup/chapter.sgml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
 <!--
      The FreeBSD Russian Documentation Project
 
diff --git a/ru_RU.KOI8-R/books/fdp-primer/the-website/chapter.sgml b/ru_RU.KOI8-R/books/fdp-primer/the-website/chapter.sgml
index 4d3d5cf4c3..a8b0389391 100644
--- a/ru_RU.KOI8-R/books/fdp-primer/the-website/chapter.sgml
+++ b/ru_RU.KOI8-R/books/fdp-primer/the-website/chapter.sgml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
 <!--
      The FreeBSD Russian Documentation Project
 
diff --git a/ru_RU.KOI8-R/books/fdp-primer/tools/chapter.sgml b/ru_RU.KOI8-R/books/fdp-primer/tools/chapter.sgml
index e3055e9c55..39d534b1fa 100644
--- a/ru_RU.KOI8-R/books/fdp-primer/tools/chapter.sgml
+++ b/ru_RU.KOI8-R/books/fdp-primer/tools/chapter.sgml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
 <!--
      The FreeBSD Russian Documentation Project
 
diff --git a/ru_RU.KOI8-R/books/fdp-primer/writing-style/chapter.sgml b/ru_RU.KOI8-R/books/fdp-primer/writing-style/chapter.sgml
index c511838f6e..68e5b0efd3 100644
--- a/ru_RU.KOI8-R/books/fdp-primer/writing-style/chapter.sgml
+++ b/ru_RU.KOI8-R/books/fdp-primer/writing-style/chapter.sgml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -289,7 +290,7 @@ augroup END</programlisting>
 	  ��� �� ����� �������, ��� � ���������� �����, �� ������:</para>
 
 	<informalexample>
-	  <programlisting><![ CDATA [<article>
+	  <programlisting><![ CDATA [<article lang='ru'>
   <articleinfo>
     <title>NIS</title>
 
diff --git a/ru_RU.KOI8-R/books/handbook/Makefile b/ru_RU.KOI8-R/books/handbook/Makefile
index e0f5bc18d0..ac4afb6018 100644
--- a/ru_RU.KOI8-R/books/handbook/Makefile
+++ b/ru_RU.KOI8-R/books/handbook/Makefile
@@ -164,7 +164,6 @@ IMAGES_LIB+= callouts/10.png
 SRCS+=  audit/chapter.sgml
 SRCS+=	book.sgml
 SRCS+=	colophon.sgml
-SRCS+=	freebsd-glossary.sgml
 SRCS+=	advanced-networking/chapter.sgml
 SRCS+=	basics/chapter.sgml
 SRCS+=	bibliography/chapter.sgml
@@ -225,9 +224,9 @@ DOC_PREFIX?=	${.CURDIR}/../../..
 #
 # rules generating lists of mirror site from XML database.
 #
-XMLDOCS=	mirrors-ftp:::mirrors.sgml.ftp.inc.tmp \
-		mirrors-cvsup:::mirrors.sgml.cvsup.inc.tmp \
-		eresources:::eresources.sgml.www.inc.tmp
+XMLDOCS=	mirrors-ftp:::mirrors.sgml.ftp.inc \
+		mirrors-cvsup:::mirrors.sgml.cvsup.inc \
+		eresources:::eresources.sgml.www.inc
 DEPENDSET.DEFAULT=	transtable mirror
 XSLT.DEFAULT=		${XSL_MIRRORS}
 XML.DEFAULT=		${XML_MIRRORS}
@@ -247,18 +246,8 @@ SRCS+=		mirrors.sgml.ftp.inc \
 		mirrors.sgml.cvsup.inc \
 		eresources.sgml.www.inc
 
-CLEANFILES+=	mirrors.sgml.ftp.inc mirrors.sgml.ftp.inc.tmp \
-		mirrors.sgml.cvsup.inc mirrors.sgml.cvsup.inc.tmp \
-		eresources.sgml.www.inc eresources.sgml.www.inc.tmp
+CLEANFILES+=	mirrors.sgml.ftp.inc \
+		mirrors.sgml.cvsup.inc \
+		eresources.sgml.www.inc
 
 .include "${DOC_PREFIX}/share/mk/doc.project.mk"
-
-.for p in ftp cvsup
-mirrors.sgml.${p}.inc: mirrors.sgml.${p}.inc.tmp
-	${SED} -e 's,<\([^ >]*\)\([^>]*\)/>,<\1\2></\1>,;s,</anchor>,,'\
-	    < $@.tmp > $@ || (${RM} -f $@ && false)
-.endfor
-
-eresources.sgml.www.inc: eresources.sgml.www.inc.tmp
-	${SED} -e 's,<\([^ >]*\)\([^>]*\)/>,<\1\2></\1>,;s,</anchor>,,'\
-	    < $@.tmp > $@ || (${RM} -f $@ && false)
diff --git a/ru_RU.KOI8-R/books/handbook/advanced-networking/chapter.sgml b/ru_RU.KOI8-R/books/handbook/advanced-networking/chapter.sgml
index 553f890060..de6896fcb8 100644
--- a/ru_RU.KOI8-R/books/handbook/advanced-networking/chapter.sgml
+++ b/ru_RU.KOI8-R/books/handbook/advanced-networking/chapter.sgml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -76,13 +77,13 @@
 
       <listitem>
 	<para>����� ��� ����������� � ������������� ����� ���� FreeBSD
-	  (<xref linkend="kernelconfig">).</para>
+	  (<xref linkend="kernelconfig"/>).</para>
       </listitem>
 
       <listitem>
       <para>����� ��� ������������� �������������� �����������
 	����������� ��������� �������������
-	(<xref linkend="ports">).</para>
+	(<xref linkend="ports"/>).</para>
       </listitem>
     </itemizedlist>
   </sect1>
@@ -218,8 +219,8 @@ host2.example.com link#1 	    UC		0	 0
 
       <informaltable frame="none" pgwide="1">
 	<tgroup cols="2">
-	  <colspec colwidth="1*">
-	  <colspec colwidth="4*">
+	  <colspec colwidth="1*"/>
+	  <colspec colwidth="4*"/>
 	  <tbody>
 	    <row>
 	      <entry>U</entry>
@@ -297,7 +298,7 @@ host2.example.com link#1 	    UC		0	 0
 
       <mediaobject>
 	<imageobject>
-	  <imagedata fileref="advanced-networking/net-routing">
+	  <imagedata fileref="advanced-networking/net-routing"/>
 	</imageobject>
 
 	<textobject>
@@ -490,7 +491,7 @@ host2.example.com link#1 	    UC		0	 0
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="advanced-networking/static-routes">
+	    <imagedata fileref="advanced-networking/static-routes"/>
 	  </imageobject>
 
 	  <textobject>
@@ -1093,7 +1094,7 @@ wi0: flags=8843&lt;UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST&gt; mtu 1500
 	  <para>������� <application>bsd-airtools</application> �����
 	    ���������� �� ����� <filename
 	    role="package">net-mgmt/bsd-airtools</filename>.  ����������
-	    �� ��������� ������ ����� ����� � ����� <xref linkend="ports">
+	    �� ��������� ������ ����� ����� � ����� <xref linkend="ports"/>
 	    ����� �����������.</para>
 
 	  <para>��������� <command>dstumbler</command> �������� ������������,
@@ -1392,11 +1393,11 @@ Number of SCO packets: 8</screen>
       </note>
     </sect2>
 
-    <indexterm><primary>HCI</primary></indexterm>
-
     <sect2>
       <title>Host Controller Interface (HCI)</title>
 
+      <indexterm><primary>HCI</primary></indexterm>
+
       <para>Host Controller Interface (HCI) ������������� ��������� ���
 	���������� ������������ ����������� � ���������� ����������, � �����
 	������ � ������ � ��������� ������������ � ��� ����������� ���������.
@@ -1477,11 +1478,11 @@ Reason: Connection terminated by local host [0x16]</screen>
 	HCI ��� ���������� �� ������� ���� �������������� �������.</para>
     </sect2>
 
-    <indexterm><primary>L2CAP</primary></indexterm>
-
     <sect2>
       <title>Logical Link Control and Adaptation Protocol (L2CAP)</title>
 
+      <indexterm><primary>L2CAP</primary></indexterm>
+
       <para>�������� L2CAP (Logical Link Control and Adaptation Protocol)
 	������������� ������ �� ������ � �������, ��� ��������������� ��
 	����������, ��� � ��� ���������� �� ���, ���������� ����� ��������
@@ -1550,11 +1551,11 @@ PCB      Recv-Q Send-Q Local address     Foreign address   Chan DLCI State
 c2e8bc80      0    250 00:02:72:00:d4:1a 00:07:e0:00:0b:ca 3    6    OPEN</screen>
     </sect2>
 
-    <indexterm><primary>RFCOMM</primary></indexterm>
-
     <sect2>
       <title>�������� RFCOMM</title>
 
+      <indexterm><primary>RFCOMM</primary></indexterm>
+
       <para>�������� RFCOMM ��������� ���������������� ����� ������ ���������
 	L2CAP.  �� ������� �� ETSI-��������� TS 07.10.  RFCOMM ������������
 	����� ������� ������������ ��������, � ��������������� ������������� ��
@@ -1580,11 +1581,11 @@ c2e8bc80      0    250 00:02:72:00:d4:1a 00:07:e0:00:0b:ca 3    6    OPEN</scree
 	Bluetooth.</para>
     </sect2>
 
-    <indexterm><primary>pairing</primary></indexterm>
-
     <sect2>
       <title>Pairing of Devices</title>
 
+      <indexterm><primary>pairing</primary></indexterm>
+
       <para>�� ��������� ����� Bluetooth �� �����������������, ������� �����
 	���������� ����� �������� � ����� ������.  ���������� Bluetooth
 	(��������, ������� �������) ����� ������ �������������� ��������������
@@ -1644,11 +1645,11 @@ hcsecd[16484]: Found matching entry, remote bdaddr 0:80:37:29:19:a4, name 'Pav's
 hcsecd[16484]: Sending PIN_Code_Reply to 'ubt0hci' for remote bdaddr 0:80:37:29:19:a4</programlisting>
     </sect2>
 
-    <indexterm><primary>SDP</primary></indexterm>
-
     <sect2>
       <title>Service Discovery Protocol (SDP)</title>
 
+      <indexterm><primary>SDP</primary></indexterm>
+
       <para>�������� ����������� �������� SDP ���� ����������� ����������
 	����������� ������������ ����� �����, ��������������� ����������
 	������������, � ����� ������������� ���� �����.  � �������� ���������
@@ -1812,11 +1813,11 @@ Bluetooth Profile Descriptor List:
       <screen>&prompt.root; <userinput>rfcomm_pppd -s -C 7 -l rfcomm-server</userinput></screen>
     </sect2>
 
-    <indexterm><primary>OBEX</primary></indexterm>
-
     <sect2>
       <title>OBEX Object Push (OPUSH) Profile</title>
 
+      <indexterm><primary>OBEX</primary></indexterm>
+
       <para>OBEX �������� ������ ������������ ���������� ��� ������� ��������
 	������ ����� ���������� ������������.  � �������� �� ������������ �
 	������������� ����� ������������ ���� ��� �������� ������ �����
@@ -2051,7 +2052,7 @@ rfcomm_sppd[94692]: Starting on /dev/ttyp6...</screen>
 	<para>���� �� ���������� ������������ ���� � ��������
 	  �����������, ��� ����� ����� �������� �����
 	  <literal>IPFIREWALL</literal>.
-	  �������� <xref linkend="firewalls">, ���������� �����
+	  �������� <xref linkend="firewalls"/>, ���������� �����
 	  ���������� � ��������� ����� � �������� �����������.</para>
 
 	<para>���� ��� ���������� ���������� ����������� ��-IP ������� (�����,
@@ -2386,16 +2387,16 @@ option domain-name-servers 192.168.4.1;
 option routers 192.168.4.1;
 
 subnet 192.168.4.0 netmask 255.255.255.0 {
-  use-host-decl-names on; <co id="co-dhcp-host-name">
+  use-host-decl-names on; <co id="co-dhcp-host-name"/>
   option subnet-mask 255.255.255.0;
   option broadcast-address 192.168.4.255;
 
   host margaux {
     hardware ethernet 01:23:45:67:89:ab;
     fixed-address margaux.example.com;
-    next-server 192.168.4.4; <co id="co-dhcp-next-server">
-    filename "/data/misc/kernel.diskless"; <co id="co-dhcp-filename">
-    option root-path "192.168.4.4:/data/misc/diskless"; <co id="co-dhcp-root-path">
+    next-server 192.168.4.4; <co id="co-dhcp-next-server"/>
+    filename "/data/misc/kernel.diskless"; <co id="co-dhcp-filename"/>
+    option root-path "192.168.4.4:/data/misc/diskless"; <co id="co-dhcp-root-path"/>
   }
   host corbieres {
     hardware ethernet 00:02:b3:27:62:df;
@@ -2685,7 +2686,7 @@ options     BOOTP_NFSROOT  # NFS mount root filesystem using BOOTP info
 	  ��������� ������������� ������������� BOOTP
 	  ��� <acronym>DHCP</acronym> use).</para>
 
-	<para>��������� ���� (���������� � <xref linkend="kernelconfig">) �
+	<para>��������� ���� (���������� � <xref linkend="kernelconfig"/>) �
 	  ���������� ��� � �������, ��������� �
 	  <filename>dhcpd.conf</filename>.</para>
 
@@ -3058,7 +3059,7 @@ cd /usr/src/etc; make distribution</programlisting>
 
       <mediaobject>
 	<imageobject>
-	  <imagedata fileref="advanced-networking/isdn-bus">
+	  <imagedata fileref="advanced-networking/isdn-bus"/>
 	</imageobject>
 
 	<textobject>
@@ -3092,7 +3093,7 @@ cd /usr/src/etc; make distribution</programlisting>
 
       <mediaobject>
 	<imageobject>
-	  <imagedata fileref="advanced-networking/isdn-twisted-pair">
+	  <imagedata fileref="advanced-networking/isdn-twisted-pair"/>
 	</imageobject>
 
 	<textobject>
@@ -3210,7 +3211,7 @@ cd /usr/src/etc; make distribution</programlisting>
 
       <mediaobject>
 	<imageobject>
-	  <imagedata fileref="advanced-networking/natd">
+	  <imagedata fileref="advanced-networking/natd"/>
 	</imageobject>
 
 	<textobject>
@@ -3237,11 +3238,12 @@ cd /usr/src/etc; make distribution</programlisting>
     </sect2>
 
     <sect2 id="network-natdkernconfiguration">
+      <title>���������</title>
+
       <indexterm>
 	<primary>����</primary>
 	<secondary>���������</secondary>
       </indexterm>
-      <title>���������</title>
 
       <para>� ����� ������������ ���� ������ �������������� ���������
 	���������:</para>
@@ -3257,12 +3259,12 @@ options IPFIREWALL_VERBOSE</programlisting>
       <para>� ����� <filename>/etc/rc.conf</filename> ������ ���� �����
 	������:</para>
 
-      <programlisting>gateway_enable="YES" <co id="co-natd-gateway-enable">
-firewall_enable="YES" <co id="co-natd-firewall-enable">
-firewall_type="OPEN" <co id="co-natd-firewall-type">
+      <programlisting>gateway_enable="YES" <co id="co-natd-gateway-enable"/>
+firewall_enable="YES" <co id="co-natd-firewall-enable"/>
+firewall_type="OPEN" <co id="co-natd-firewall-type"/>
 natd_enable="YES"
-natd_interface="<replaceable>fxp0</replaceable>" <co id="co-natd-natd-interface">
-natd_flags="" <co id="co-natd-natd-flags"></programlisting>
+natd_interface="<replaceable>fxp0</replaceable>" <co id="co-natd-natd-interface"/>
+natd_flags="" <co id="co-natd-natd-flags"/></programlisting>
 
       <calloutlist>
 	<callout arearefs="co-natd-gateway-enable">
@@ -3619,7 +3621,7 @@ hint.ppc.0.irq="7"</programlisting>
 	<literal>device plip</literal>, ��� �������� �� ������ ����
 	<filename>plip.ko</filename>.  � ����� ������� ��������� ������ �
 	����� �� ������������� ����� ������ �������������� �� ������
-	������������� ������� &man.ifconfig.8;.
+	������������� ������� &man.ifconfig.8;.</para>
 
       <screen>&prompt.root; <userinput>ifconfig plip0</userinput>
 plip0: flags=8810&lt;POINTOPOINT,SIMPLEX,MULTICAST&gt; mtu 1500</screen>
@@ -4228,8 +4230,8 @@ gif0: flags=8010&lt;POINTOPOINT,MULTICAST&gt; mtu 1280
 
 	<informaltable frame="none" pgwide="1">
 	  <tgroup cols="2">
-	    <colspec colwidth="1*">
-	    <colspec colwidth="1*">
+	    <colspec colwidth="1*"/>
+	    <colspec colwidth="1*"/>
 	    <thead>
 	      <row>
 		<entry>����</entry>
@@ -4266,8 +4268,8 @@ gif0: flags=8010&lt;POINTOPOINT,MULTICAST&gt; mtu 1280
 
 	<informaltable frame="none" pgwide="1">
 	  <tgroup cols="2">
-	    <colspec colwidth="1*">
-	    <colspec colwidth="1*">
+	    <colspec colwidth="1*"/>
+	    <colspec colwidth="1*"/>
 	    <thead>
 	      <row>
 		<entry>����������</entry>
diff --git a/ru_RU.KOI8-R/books/handbook/audit/chapter.sgml b/ru_RU.KOI8-R/books/handbook/audit/chapter.sgml
index 1c3bf77759..a3653c077c 100644
--- a/ru_RU.KOI8-R/books/handbook/audit/chapter.sgml
+++ b/ru_RU.KOI8-R/books/handbook/audit/chapter.sgml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -69,6 +70,7 @@ requirements. -->
       <listitem>
 	<para>��� ������������� ������ ������, ������������ ����������� ��
 	  ������� � ����������� ����������� ��� ��� ���������.</para>
+      </listitem>
     </itemizedlist>
 
     <para>����� ���������� ���� ����� �� ������:</para>
@@ -76,17 +78,17 @@ requirements. -->
     <itemizedlist>
       <listitem>
 	<para>�������� ������ &unix; � &os;
-	  (<xref linkend="basics">).</para>
+	  (<xref linkend="basics"/>).</para>
       </listitem>
 
       <listitem>
 	<para>����� ��������������� � ������������� ����
-	  (<xref linkend="kernelconfig">).</para>
+	  (<xref linkend="kernelconfig"/>).</para>
       </listitem>
 
       <listitem>
 	<para>�������� �������� �������� ������������ � ����������
-	  � ������������ ������� &os; (<xref linkend="security">).</para>
+	  � ������������ ������� &os; (<xref linkend="security"/>).</para>
       </listitem>
     </itemizedlist>
 
@@ -161,7 +163,7 @@ requirements. -->
 	  ���������� � �������� ������� (������������), ����� �������,
 	  ���������� �� �������� ������� (��������, ������) �
 	  ���������� �� ���������� ���������� ��������, ����������
-	  �������.
+	  �������.</para>
       </listitem>
 
       <listitem>
@@ -218,7 +220,7 @@ requirements. -->
     <programlisting>options	AUDIT</programlisting>
 
     <para>������� ������ � ��������� ���� �������� ������ � �����
-      <xref linkend="kernelconfig">.</para>
+      <xref linkend="kernelconfig"/>.</para>
 
    <para>����� �����, ���������� ��������� ������ ������ ������,
       ������� ��������� ������ � &man.rc.conf.5;:</para>
@@ -227,7 +229,7 @@ requirements. -->
 
     <para>��� ������� ������ �� �������������� ����������� �����
       ������� ��� ��������� � ����� <option>auditd_flags</option>
-      ����� &man.rc.conf.5;.
+      ����� &man.rc.conf.5;.</para>
   </sect1>
 
   <sect1 id="audit-config">
@@ -368,7 +370,7 @@ requirements. -->
 	    ����� ��������� ����� �������������� ���������,
 	    ������� �������� ��-����������� ������� (pipe) �
 	    �������������� ��������� � ����� System V
-	    <acronym>IPC</acronym>.
+	    <acronym>IPC</acronym>.</para>
 	</listitem>
 
 	<listitem>
@@ -463,7 +465,7 @@ requirements. -->
 	<filename>audit_user</filename>.  ������ �� ��� ��������
 	����� ��������� ������� ������ � ��������� �� ��������� ���
 	��� �������������, ��� � ��� ��-������������� �������.  ������
-	������������ ��� ��������� ������ ���������������� �������.
+	������������ ��� ��������� ������ ���������������� �������.</para>
 
       <sect3 id="audit-auditcontrol">
 	<title>���� <filename>audit_control</filename></title>
diff --git a/ru_RU.KOI8-R/books/handbook/basics/chapter.sgml b/ru_RU.KOI8-R/books/handbook/basics/chapter.sgml
index 24915aa0f4..3d9c9ac00c 100644
--- a/ru_RU.KOI8-R/books/handbook/basics/chapter.sgml
+++ b/ru_RU.KOI8-R/books/handbook/basics/chapter.sgml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -284,7 +285,7 @@ ttyv8   "/usr/X11R6/bin/xdm -nodaemon"  xterm   off secure</programlisting>
       <title>������� � �������������������� ������</title>
 
       <para>��������� �������� <quote>��������������������� ������</quote>
-	����� ����� � <xref linkend="boot-singleuser">.  ����� ��������, ���
+	����� ����� � <xref linkend="boot-singleuser"/>.  ����� ��������, ���
 	��� ������ FreeBSD � �������������������� ������ ���� ������ ����
 	�������.  ����������� �������� ���.  ��������� ������� �
 	�������������������� ������ ����� ����� � �����
@@ -836,7 +837,7 @@ root     5211  0.0  0.2  3620  1724   2  I+    2:09AM   0:00.01 passwd</screen>
     <para>������ ������������ ���������� �������, �����������
       � ������������ (������ &mdash; ��������) �������� �������, � ��������
       ����� ���� ������������ ������ �������� �������.
-      ����� �������� ��� ����������� � <xref linkend="disk-organization">.
+      ����� �������� ��� ����������� � <xref linkend="disk-organization"/>.
       ����������� ����� ������������ �������� <filename>/usr</filename>,
       <filename>/var</filename>, <filename>/tmp</filename>,
       <filename>/mnt</filename> �
@@ -846,7 +847,7 @@ root     5211  0.0  0.2  3620  1724   2  I+    2:09AM   0:00.01 passwd</screen>
       ��������� � <filename>/etc/fstab</filename> ����������� �������������
       �� ������� &man.rc.8;, ���� ������ ��� ��� �� ������� �����
       <option>noauto</option>.  ����� ��������� ���������� ��������� �
-      <xref linkend="disks-fstab">.</para>
+      <xref linkend="disks-fstab"/>.</para>
 
     <para>������ �������� �������� �������� ������� ���� � &man.hier.7;.
       ����� �� �� �������� ���� �������� ������ ��������.</para>
@@ -1165,7 +1166,7 @@ root     5211  0.0  0.2  3620  1724   2  I+    2:09AM   0:00.01 passwd</screen>
 
       <mediaobject>
 	<imageobject>
-	  <imagedata fileref="install/example-dir1" format="EPS">
+	  <imagedata fileref="install/example-dir1" format="EPS"/>
 	</imageobject>
 
 	<textobject>
@@ -1185,7 +1186,7 @@ root     5211  0.0  0.2  3620  1724   2  I+    2:09AM   0:00.01 passwd</screen>
 
       <mediaobject>
 	<imageobject>
-	  <imagedata fileref="install/example-dir2" format="EPS">
+	  <imagedata fileref="install/example-dir2" format="EPS"/>
 	</imageobject>
 
 	<textobject>
@@ -1213,7 +1214,7 @@ root     5211  0.0  0.2  3620  1724   2  I+    2:09AM   0:00.01 passwd</screen>
 
       <mediaobject>
 	<imageobject>
-	  <imagedata fileref="install/example-dir3" format="EPS">
+	  <imagedata fileref="install/example-dir3" format="EPS"/>
 	</imageobject>
 
 	<textobject>
@@ -1239,7 +1240,7 @@ root     5211  0.0  0.2  3620  1724   2  I+    2:09AM   0:00.01 passwd</screen>
 
       <mediaobject>
 	<imageobject>
-	  <imagedata fileref="install/example-dir4" format="EPS">
+	  <imagedata fileref="install/example-dir4" format="EPS"/>
 	</imageobject>
 
 	<textobject>
@@ -1265,7 +1266,7 @@ root     5211  0.0  0.2  3620  1724   2  I+    2:09AM   0:00.01 passwd</screen>
 
       <mediaobject>
 	<imageobject>
-	  <imagedata fileref="install/example-dir5" format="EPS">
+	  <imagedata fileref="install/example-dir5" format="EPS"/>
 	</imageobject>
 
 	<textobject>
@@ -1377,8 +1378,8 @@ root     5211  0.0  0.2  3620  1724   2  I+    2:09AM   0:00.01 passwd</screen>
 
       <informaltable frame="none" pgwide="1">
 	<tgroup cols="2">
-	  <colspec colwidth="1*">
-	  <colspec colwidth="5*">
+	  <colspec colwidth="1*"/>
+	  <colspec colwidth="5*"/>
 
 	  <thead>
 	    <row>
@@ -1456,16 +1457,16 @@ root     5211  0.0  0.2  3620  1724   2  I+    2:09AM   0:00.01 passwd</screen>
 	����, ������������� ��� �����, ����� ���� ����� �����.
 	� ������� �� �������, ��������� ������ ����������
 	� 0.  �������� ����, ������� ��� ����� �����������, ���� �
-	<xref linkend="basics-dev-codes">.</para>
+	<xref linkend="basics-dev-codes"/>.</para>
 
       <para>� �� �����, ��� ������ �� ������ FreeBSD ������� ����� ��������
 	������ � �����, ����������� ������, ������ �� ����� ������� �����
 	�������� ����� �����.  ������� �������, �������� �� ������,
 	���������� ��� �����, <literal>s</literal>, ����� ������, � �����
 	����� �������.  ������� �������� �
-	<xref linkend="basics-disk-slice-part">.</para>
+	<xref linkend="basics-disk-slice-part"/>.</para>
 
-      <para><xref linkend="basics-concept-disk-model"> ����������
+      <para><xref linkend="basics-concept-disk-model"/> ����������
 	�������������� ������ �����, ������� ������ ������ ���������
 	��������.</para>
 
@@ -1479,8 +1480,8 @@ root     5211  0.0  0.2  3620  1724   2  I+    2:09AM   0:00.01 passwd</screen>
 	<title>���� �������� ���������</title>
 
 	<tgroup cols="2">
-	  <colspec colwidth="1*">
-	  <colspec colwidth="5*">
+	  <colspec colwidth="1*"/>
+	  <colspec colwidth="5*"/>
 
 	  <thead>
 	    <row>
@@ -1529,8 +1530,8 @@ root     5211  0.0  0.2  3620  1724   2  I+    2:09AM   0:00.01 passwd</screen>
 
 	<informaltable frame="none" pgwide="1">
 	  <tgroup cols="2">
-	    <colspec colwidth="1*">
-	    <colspec colwidth="5*">
+	    <colspec colwidth="1*"/>
+	    <colspec colwidth="5*"/>
 
 	    <thead>
 	      <row>
@@ -1579,7 +1580,7 @@ root     5211  0.0  0.2  3620  1724   2  I+    2:09AM   0:00.01 passwd</screen>
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="install/disk-layout" format="EPS">
+	    <imagedata fileref="install/disk-layout" format="EPS"/>
 	  </imageobject>
 
 	  <textobject>
@@ -1665,7 +1666,7 @@ root     5211  0.0  0.2  3620  1724   2  I+    2:09AM   0:00.01 passwd</screen>
 	  <term><literal>����������</literal></term>
 	  <listitem>
 	    <para>��� ���������� (������� ������ ��������������), ��� ������� �
-	      <xref linkend="disks-naming">.</para>
+	      <xref linkend="disks-naming"/>.</para>
 	  </listitem>
 	</varlistentry>
 
diff --git a/ru_RU.KOI8-R/books/handbook/bibliography/chapter.sgml b/ru_RU.KOI8-R/books/handbook/bibliography/chapter.sgml
index 1bd8bfaf25..6ed83c22bb 100644
--- a/ru_RU.KOI8-R/books/handbook/bibliography/chapter.sgml
+++ b/ru_RU.KOI8-R/books/handbook/bibliography/chapter.sgml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
 <!--
      The FreeBSD Russian Documentation Project
 
diff --git a/ru_RU.KOI8-R/books/handbook/book.sgml b/ru_RU.KOI8-R/books/handbook/book.sgml
index a865847a90..e71c39194c 100644
--- a/ru_RU.KOI8-R/books/handbook/book.sgml
+++ b/ru_RU.KOI8-R/books/handbook/book.sgml
@@ -1,3 +1,15 @@
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
+<!DOCTYPE book PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
+	"../../../share/sgml/freebsd42.dtd" [
+<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//RU" "../../share/sgml/entities.ent">
+%entities;
+
+<!ENTITY % chapters SYSTEM "chapters.ent">
+%chapters;
+<!ENTITY % txtfiles SYSTEM "txtfiles.ent">
+%txtfiles;
+]>
+
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -9,55 +21,6 @@
 	   review and compare to real state chap.*
 -->
 
-<!DOCTYPE BOOK PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
-<!ENTITY % books.ent PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Books Entity Set//EN">
-%books.ent;
-<!ENTITY % chapters SYSTEM "chapters.ent">
-%chapters;
-<!ENTITY % txtfiles SYSTEM "txtfiles.ent">
-%txtfiles;
-
-<!ENTITY % not.published "INCLUDE">
-
-<!ENTITY % chap.introduction "IGNORE">
-<!ENTITY % chap.install "IGNORE">
-<!ENTITY % chap.basics "IGNORE">
-<!ENTITY % chap.ports "IGNORE">
-<!ENTITY % chap.config "IGNORE">
-<!ENTITY % chap.boot "IGNORE">
-<!ENTITY % chap.users "IGNORE">
-<!ENTITY % chap.kernelconfig "IGNORE">
-<!ENTITY % chap.security "IGNORE">
-<!ENTITY % chap.printing "IGNORE">
-<!ENTITY % chap.disks "IGNORE">
-<!ENTITY % chap.geom "IGNORE">
-<!ENTITY % chap.vinum "IGNORE">
-<!ENTITY % chap.x11 "IGNORE">
-<!ENTITY % chap.l10n "IGNORE">
-<!ENTITY % chap.multimedia "IGNORE">
-<!ENTITY % chap.desktop "IGNORE">
-<!ENTITY % chap.serialcomms "IGNORE">
-<!ENTITY % chap.ppp-and-slip "IGNORE">
-<!ENTITY % chap.advanced-networking "IGNORE">
-<!ENTITY % chap.firewalls "IGNORE">
-<!ENTITY % chap.network-servers "IGNORE">
-<!ENTITY % chap.mail "IGNORE">
-<!ENTITY % chap.cutting-edge "IGNORE">
-<!ENTITY % chap.linuxemu "IGNORE">
-<!ENTITY % chap.mirrors "IGNORE">
-<!ENTITY % chap.bibliography "IGNORE">
-<!ENTITY % chap.eresources "IGNORE">
-<!ENTITY % chap.pgpkeys "IGNORE">
-<!ENTITY % chap.index "IGNORE">
-<!ENTITY % chap.freebsd-glossary "IGNORE">
-<!ENTITY % chap.mac "IGNORE">
-<!ENTITY % chap.audit "IGNORE">
-<!ENTITY % chap.filesystems "IGNORE">
-
-<!ENTITY % pgpkeys SYSTEM "../../../share/pgpkeys/pgpkeys.ent"> %pgpkeys;
-
-]>
-
 <book lang="ru">
   <bookinfo>
     <title>����������� FreeBSD</title>
@@ -66,6 +29,8 @@
 
     <pubdate>������� 1999</pubdate>
 
+    <releaseinfo>$FreeBSD$</releaseinfo>
+
     <copyright>
       <year>1995</year>
       <year>1996</year>
@@ -93,7 +58,7 @@
       <holder>������ ������� ������������ FreeBSD</holder>
     </copyright>
 
-    &bookinfo.legalnotice;
+    &legalnotice;
 
     <legalnotice id="trademarks" role="trademarks">
       &tm-attrib.freebsd;
@@ -152,13 +117,13 @@
       <ulink url="http://www.FreeBSD.org/ru/index.html">��������� Web �������
       FreeBSD</ulink>. �� ����� ����� ���� �������� ��
       �������� � ����� �� �������� ���������������� �������� � <ulink
-      URL="ftp://ftp.FreeBSD.org/pub/FreeBSD/doc/">FTP ������� �������
+      url="ftp://ftp.FreeBSD.org/pub/FreeBSD/doc/">FTP ������� �������
       FreeBSD</ulink> ��� � ������ �� �������������� <link
       linkend="mirrors-ftp">������</link>. ���� �� ������������� �����
       ������������ (����������) ������� �����������, �� ������ ����������
       ��� �� <ulink url="http://www.freebsdmall.com/">FreeBSD Mall</ulink>.
       �� ����� ������ ��������������� <ulink
-      URL="&url.base;/ru/search/index.html">������� � �����������
+      url="&url.base;/ru/search/index.html">������� � �����������
       FreeBSD</ulink>.</para>
     </abstract>
   </bookinfo>
@@ -202,11 +167,11 @@
 	�� ����� � ��������� �������������� �������.</para>
     </partintro>
 
-    <![ %chap.introduction;             [ &chap.introduction;         ]]>
-    <![ %chap.install;                  [ &chap.install;              ]]>
-    <![ %chap.basics;                   [ &chap.basics;               ]]>
-    <![ %chap.ports;                    [ &chap.ports;                ]]>
-    <![ %chap.x11;                      [ &chap.x11;                  ]]>
+    &chap.introduction;
+    &chap.install;
+    &chap.basics;
+    &chap.ports;
+    &chap.x11;
   </part>
 
   <part id="common-tasks">
@@ -253,11 +218,11 @@
 
     </partintro>
 
-    <![ %chap.desktop;                  [ &chap.desktop;              ]]>
-    <![ %chap.multimedia;               [ &chap.multimedia;           ]]>
-    <![ %chap.kernelconfig;             [ &chap.kernelconfig;         ]]>
-    <![ %chap.printing;                 [ &chap.printing;             ]]>
-    <![ %chap.linuxemu;                 [ &chap.linuxemu;             ]]>
+    &chap.desktop;
+    &chap.multimedia;
+    &chap.kernelconfig;
+    &chap.printing;
+    &chap.linuxemu;
   </part>
 
   <part id="system-administration">
@@ -275,18 +240,18 @@
 	������ ������������ FreeBSD.</para>
     </partintro>
 
-    <![ %chap.config;                   [ &chap.config;               ]]>
-    <![ %chap.boot;                     [ &chap.boot;                 ]]>
-    <![ %chap.users;                    [ &chap.users;                ]]>
-    <![ %chap.security;                 [ &chap.security;             ]]>
-    <![ %chap.mac;			[ &chap.mac;		      ]]>
-    <![ %chap.audit;			[ &chap.audit;		      ]]>
-    <![ %chap.disks;                    [ &chap.disks;                ]]>
-    <![ %chap.geom;                     [ &chap.geom;                 ]]>
-    <![ %chap.filesystems;              [ &chap.filesystems;          ]]>
-    <![ %chap.vinum;                    [ &chap.vinum;                ]]>
-    <![ %chap.l10n;                     [ &chap.l10n;                 ]]>
-    <![ %chap.cutting-edge;             [ &chap.cutting-edge;         ]]>
+    &chap.config;
+    &chap.boot;
+    &chap.users;
+    &chap.security;
+    &chap.mac;
+    &chap.audit;
+    &chap.disks;
+    &chap.geom;
+    &chap.filesystems;
+    &chap.vinum;
+    &chap.l10n;
+    &chap.cutting-edge;
   </part>
 
   <part id="network-communication">
@@ -329,25 +294,25 @@
 	������ ������������ FreeBSD � ����.</para>
     </partintro>
 
-    <![ %chap.serialcomms;              [ &chap.serialcomms;          ]]>
-    <![ %chap.ppp-and-slip;             [ &chap.ppp-and-slip;         ]]>
-    <![ %chap.mail;                     [ &chap.mail;                 ]]>
-    <![ %chap.network-servers;          [ &chap.network-servers;      ]]>
-    <![ %chap.firewalls;                [ &chap.firewalls;            ]]>
-    <![ %chap.advanced-networking;      [ &chap.advanced-networking;  ]]>
+    &chap.serialcomms;
+    &chap.ppp-and-slip;
+    &chap.mail;
+    &chap.network-servers;
+    &chap.firewalls;
+    &chap.advanced-networking;
   </part>
 
   <part id="appendices">
     <title>����������</title>
 
-    <![ %chap.mirrors;                  [ &chap.mirrors;              ]]>
-    <![ %chap.bibliography;             [ &chap.bibliography;         ]]>
-    <![ %chap.eresources;               [ &chap.eresources;           ]]>
-    <![ %chap.pgpkeys;                  [ &chap.pgpkeys;              ]]>
+    &chap.mirrors;
+    &chap.bibliography;
+    &chap.eresources;
+    &chap.pgpkeys;
 
   </part>
-  <![ %chap.freebsd-glossary;           [ &bookinfo.freebsd-glossary;     ]]>
-  <![ %chap.index;                      [ &chap.index;                ]]>
+  &freebsd-glossary;
+  &chap.index;
   &chap.colophon;
 </book>
 
diff --git a/ru_RU.KOI8-R/books/handbook/boot/chapter.sgml b/ru_RU.KOI8-R/books/handbook/boot/chapter.sgml
index 7d1cc38fe9..bfe9f14989 100644
--- a/ru_RU.KOI8-R/books/handbook/boot/chapter.sgml
+++ b/ru_RU.KOI8-R/books/handbook/boot/chapter.sgml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -608,7 +609,7 @@ boot:
 	    ������������ ������ <acronym>VESA</acronym> �� ����� ��������
 	    �������, ���� ������� ������������������� ���� � �����������
 	    ������ <literal>VESA</literal> (�������� <xref
-	    linkend="kernelconfig">).  ��������� ������ <acronym>VESA</acronym>
+	    linkend="kernelconfig"/>).  ��������� ������ <acronym>VESA</acronym>
 	    ���� ������������� ����������� ���������� ��������, �������������
 	    ��� ������� ������� ������.</para>
 
@@ -736,11 +737,12 @@ bitmap_name="<replaceable>/boot/splash.pcx</replaceable>"</programlisting>
       �������.</para>
 
     <sect2 id="boot-kernel-bootflags">
+      <title>����� �������� ����</title>
+
       <indexterm>
 	<primary>����</primary>
 	<secondary>����� ��������</secondary>
       </indexterm>
-      <title>����� �������� ����</title>
 
       <para>��� �������� ����� ������������ ����� ��������:</para>
 
@@ -817,12 +819,12 @@ bitmap_name="<replaceable>/boot/splash.pcx</replaceable>"</programlisting>
       <!-- 18 ������� 2002 -->
     </sect1info>
 
+    <title>����� ���������</title>
+
     <indexterm>
       <primary>device.hints</primary>
     </indexterm>
 
-    <title>����� ���������</title>
-
     <para>�� ����� ���������� ������� ������� ��������� &man.loader.8;
       ���������� ������ ����� &man.device.hints.5;.  � ���� �����
       �������� ����������� ��� �������� ���� ����������, ���������� � ����
@@ -904,12 +906,12 @@ bitmap_name="<replaceable>/boot/splash.pcx</replaceable>"</programlisting>
   </sect1>
 
   <sect1 id="boot-init">
+    <title>Init: ������������� ���������� ����������</title>
+
     <indexterm>
       <primary><command>init</command></primary>
     </indexterm>
 
-    <title>Init: ������������� ���������� ����������</title>
-
     <para>����� ����, ��� ���� �������� ��������, ��� �������� ����������
       ����������������� �������� &man.init.8;, ������� ����������
       � ����� <filename>/sbin/init</filename> ��� � �����, ������� � ��������
@@ -984,9 +986,10 @@ console none                            unknown off insecure</programlisting>
 	� ������� ���������� � ��������� �������� �������.</para>
 
       <sect3 id="boot-rc">
-	<indexterm><primary>����� rc</primary></indexterm>
 	<title>��������� �������� (rc)</title>
 
+	<indexterm><primary>����� rc</primary></indexterm>
+
 	<para>������� ��������� �������� ��������� ���������, ����������� ��
 	  ���������, �� ����� <filename>/etc/defaults/rc.conf</filename>, �
 	  ���������, ����������� ��� ���������� �������, ��
diff --git a/ru_RU.KOI8-R/books/handbook/chapters.ent b/ru_RU.KOI8-R/books/handbook/chapters.ent
index 7467305800..fee47d0623 100644
--- a/ru_RU.KOI8-R/books/handbook/chapters.ent
+++ b/ru_RU.KOI8-R/books/handbook/chapters.ent
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="koi8-r"?>
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -15,52 +16,228 @@
      ������� ������ ���� ������������� � ������� � ������� ��� ������������.
 -->
 
+<!ENTITY % not.published "INCLUDE">
+
+<!ENTITY % chap.introduction "IGNORE">
+<!ENTITY % chap.install "IGNORE">
+<!ENTITY % chap.basics "IGNORE">
+<!ENTITY % chap.ports "IGNORE">
+<!ENTITY % chap.config "IGNORE">
+<!ENTITY % chap.boot "IGNORE">
+<!ENTITY % chap.users "IGNORE">
+<!ENTITY % chap.kernelconfig "IGNORE">
+<!ENTITY % chap.security "IGNORE">
+<!ENTITY % chap.jails "IGNORE">
+<!ENTITY % chap.printing "IGNORE">
+<!ENTITY % chap.disks "IGNORE">
+<!ENTITY % chap.geom "IGNORE">
+<!ENTITY % chap.vinum "IGNORE">
+<!ENTITY % chap.x11 "IGNORE">
+<!ENTITY % chap.l10n "IGNORE">
+<!ENTITY % chap.multimedia "IGNORE">
+<!ENTITY % chap.desktop "IGNORE">
+<!ENTITY % chap.serialcomms "IGNORE">
+<!ENTITY % chap.ppp-and-slip "IGNORE">
+<!ENTITY % chap.advanced-networking "IGNORE">
+<!ENTITY % chap.firewalls "IGNORE">
+<!ENTITY % chap.network-servers "IGNORE">
+<!ENTITY % chap.mail "IGNORE">
+<!ENTITY % chap.cutting-edge "IGNORE">
+<!ENTITY % chap.linuxemu "IGNORE">
+<!ENTITY % chap.mirrors "IGNORE">
+<!ENTITY % chap.mirrors.ftp.inc "INCLUDE">
+<!ENTITY % chap.mirrors.cvsup.inc "INCLUDE">
+<!ENTITY % chap.bibliography "IGNORE">
+<!ENTITY % chap.eresources "IGNORE">
+<!ENTITY % chap.eresources.www.inc "INCLUDE">
+<!ENTITY % chap.pgpkeys "IGNORE">
+<!ENTITY % chap.index "IGNORE">
+<!ENTITY % chap.freebsd-glossary "IGNORE">
+<!ENTITY % chap.mac "IGNORE">
+<!ENTITY % chap.audit "IGNORE">
+<!ENTITY % chap.filesystems "IGNORE">
+<!ENTITY % chap.dtrace "IGNORE">
+
 <!ENTITY chap.preface			SYSTEM "preface/preface.sgml">
+<!ENTITY % pgpkeys SYSTEM "../../../share/pgpkeys/pgpkeys.ent"> %pgpkeys;
 
-<!-- ����� ������ -->
-<!ENTITY chap.introduction		SYSTEM "introduction/chapter.sgml">
-<!ENTITY chap.install			SYSTEM "install/chapter.sgml">
-<!ENTITY chap.basics			SYSTEM "basics/chapter.sgml">
-<!ENTITY chap.ports			SYSTEM "ports/chapter.sgml">
-<!ENTITY chap.x11			SYSTEM "x11/chapter.sgml">
+<!-- Part One -->
+<![%chap.introduction;[
+  <!ENTITY chap.introduction	SYSTEM "introduction/chapter.sgml">
+]]>
+<![%chap.install;[
+  <!ENTITY chap.install		SYSTEM "install/chapter.sgml">
+]]>
+<![%chap.basics;[
+  <!ENTITY chap.basics		SYSTEM "basics/chapter.sgml">
+]]>
+<![%chap.ports;[
+  <!ENTITY chap.ports		SYSTEM "ports/chapter.sgml">
+]]>
+<![%chap.x11;[
+  <!ENTITY chap.x11		SYSTEM "x11/chapter.sgml">
+]]>
 
-<!-- ����� ������ -->
-<!ENTITY chap.desktop			SYSTEM "desktop/chapter.sgml">
-<!ENTITY chap.multimedia		SYSTEM "multimedia/chapter.sgml">
-<!ENTITY chap.kernelconfig		SYSTEM "kernelconfig/chapter.sgml">
-<!ENTITY chap.printing			SYSTEM "printing/chapter.sgml">
-<!ENTITY chap.linuxemu			SYSTEM "linuxemu/chapter.sgml">
+<!-- Part Two -->
+<![%chap.desktop;[
+  <!ENTITY chap.desktop		SYSTEM "desktop/chapter.sgml">
+]]>
+<![%chap.multimedia;[
+  <!ENTITY chap.multimedia	SYSTEM "multimedia/chapter.sgml">
+]]>
+<![%chap.kernelconfig;[
+  <!ENTITY chap.kernelconfig	SYSTEM "kernelconfig/chapter.sgml">
+]]>
+<![%chap.printing;[
+  <!ENTITY chap.printing	SYSTEM "printing/chapter.sgml">
+]]>
+<![%chap.linuxemu;[
+  <!ENTITY chap.linuxemu	SYSTEM "linuxemu/chapter.sgml">
+]]>
 
-<!-- ����� ������ -->
-<!ENTITY chap.config			SYSTEM "config/chapter.sgml">
-<!ENTITY chap.boot			SYSTEM "boot/chapter.sgml">
-<!ENTITY chap.users			SYSTEM "users/chapter.sgml">
-<!ENTITY chap.security			SYSTEM "security/chapter.sgml">
-<!ENTITY chap.mac			SYSTEM "mac/chapter.sgml">
-<!ENTITY chap.audit			SYSTEM "audit/chapter.sgml">
-<!ENTITY chap.disks			SYSTEM "disks/chapter.sgml">
-<!ENTITY chap.geom			SYSTEM "geom/chapter.sgml">
-<!ENTITY chap.filesystems		SYSTEM "filesystems/chapter.sgml">
-<!ENTITY chap.vinum			SYSTEM "vinum/chapter.sgml">
-<!ENTITY chap.l10n			SYSTEM "l10n/chapter.sgml">
-<!ENTITY chap.cutting-edge		SYSTEM "cutting-edge/chapter.sgml">
+<!-- Part Three -->
+<![%chap.config;[
+  <!ENTITY chap.config		SYSTEM "config/chapter.sgml">
+]]>
+<![%chap.boot;[
+  <!ENTITY chap.boot		SYSTEM "boot/chapter.sgml">
+]]>
+<![%chap.users;[
+  <!ENTITY chap.users		SYSTEM "users/chapter.sgml">
+]]>
+<![%chap.security;[
+  <!ENTITY chap.security	SYSTEM "security/chapter.sgml">
+]]>
+<![%chap.jails;[
+  <!ENTITY chap.jails		SYSTEM "jails/chapter.sgml">
+]]>
+<![%chap.mac;[
+  <!ENTITY chap.mac		SYSTEM "mac/chapter.sgml">
+]]>
+<![%chap.audit;[
+  <!ENTITY chap.audit		SYSTEM "audit/chapter.sgml">
+]]>
+<![%chap.disks;[
+  <!ENTITY chap.disks		SYSTEM "disks/chapter.sgml">
+]]>
+<![%chap.geom;[
+  <!ENTITY chap.geom		SYSTEM "geom/chapter.sgml">
+]]>
+<![%chap.filesystems;[
+  <!ENTITY chap.filesystems	SYSTEM "filesystems/chapter.sgml">
+]]>
+<![%chap.vinum;[
+  <!ENTITY chap.vinum		SYSTEM "vinum/chapter.sgml">
+]]>
+<![%chap.l10n;[
+  <!ENTITY chap.l10n		SYSTEM "l10n/chapter.sgml">
+]]>
+<![%chap.cutting-edge;[
+  <!ENTITY chap.cutting-edge	SYSTEM "cutting-edge/chapter.sgml">
+]]>
+<![%chap.dtrace;[
+  <!ENTITY chap.dtrace		SYSTEM "dtrace/chapter.sgml">
+]]>
 
-<!-- ����� ��������� -->
-<!ENTITY chap.serialcomms		SYSTEM "serialcomms/chapter.sgml">
-<!ENTITY chap.ppp-and-slip		SYSTEM "ppp-and-slip/chapter.sgml">
-<!ENTITY chap.mail			SYSTEM "mail/chapter.sgml">
-<!ENTITY chap.network-servers		SYSTEM "network-servers/chapter.sgml">
-<!ENTITY chap.firewalls			SYSTEM "firewalls/chapter.sgml">
-<!ENTITY chap.advanced-networking	SYSTEM "advanced-networking/chapter.sgml">
+<!-- Part Four -->
+<![%chap.serialcomms;[
+  <!ENTITY chap.serialcomms	SYSTEM "serialcomms/chapter.sgml">
+]]>
+<![%chap.ppp-and-slip;[
+  <!ENTITY chap.ppp-and-slip	SYSTEM "ppp-and-slip/chapter.sgml">
+]]>
+<![%chap.mail;[
+  <!ENTITY chap.mail		SYSTEM "mail/chapter.sgml">
+]]>
+<![%chap.network-servers;[
+  <!ENTITY chap.network-servers	SYSTEM "network-servers/chapter.sgml">
+]]>
+<![%chap.firewalls;[
+  <!ENTITY chap.firewalls	SYSTEM "firewalls/chapter.sgml">
+]]>
+<![%chap.advanced-networking;[
+  <!ENTITY chap.advanced-networking	SYSTEM "advanced-networking/chapter.sgml">
+]]>
 
-<!-- ����� ����� (����������) -->
-<!ENTITY chap.mirrors			SYSTEM "mirrors/chapter.sgml">
-<!ENTITY chap.mirrors.ftp.inc		SYSTEM "mirrors.sgml.ftp.inc">
-<!ENTITY chap.mirrors.cvsup.inc		SYSTEM "mirrors.sgml.cvsup.inc">
+<!-- Part Five (appendices) -->
+<![%chap.mirrors;[
+  <!ENTITY chap.mirrors		SYSTEM "mirrors/chapter.sgml">
+]]>
+<![%chap.mirrors.ftp.inc;[
+  <!ENTITY chap.mirrors.ftp.inc	SYSTEM "mirrors.sgml.ftp.inc">
+]]>
+<![%chap.mirrors.cvsup.inc;[
+  <!ENTITY chap.mirrors.cvsup.inc	SYSTEM "mirrors.sgml.cvsup.inc">
+]]>
+<![%chap.bibliography;[
+  <!ENTITY chap.bibliography	SYSTEM "bibliography/chapter.sgml">
+]]>
+<![%chap.eresources;[
+  <!ENTITY chap.eresources	SYSTEM "eresources/chapter.sgml">
+]]>
+<![%chap.eresources.www.inc;[
+  <!ENTITY chap.eresources.www.inc	SYSTEM "eresources.sgml.www.inc">
+]]>
+<![%chap.pgpkeys;[
+  <!ENTITY chap.pgpkeys		SYSTEM "pgpkeys/chapter.sgml">
+]]>
+<![%chap.freebsd-glossary;[
+  <!ENTITY chap.freebsd-glossary	"&freebsd-glossary;">
+]]>
+<![%chap.index;[
+  <!ENTITY chap.index		SYSTEM "index.sgml">
+]]>
 
-<!ENTITY chap.bibliography		SYSTEM "bibliography/chapter.sgml">
-<!ENTITY chap.eresources		SYSTEM "eresources/chapter.sgml">
-<!ENTITY chap.eresources.www.inc	SYSTEM "eresources.sgml.www.inc">
-<!ENTITY chap.pgpkeys			SYSTEM "pgpkeys/chapter.sgml">
-<!ENTITY chap.index			SYSTEM "index.sgml">
-<!ENTITY chap.colophon			SYSTEM "colophon.sgml">
+<!ENTITY chap.colophon	SYSTEM "colophon.sgml">
+
+<!-- IGNORE cases -->
+
+<!-- Part One -->
+<!ENTITY chap.introduction	"">
+<!ENTITY chap.install		"">
+<!ENTITY chap.basics		"">
+<!ENTITY chap.ports		"">
+<!ENTITY chap.x11		"">
+
+<!-- Part Two -->
+<!ENTITY chap.desktop		"">
+<!ENTITY chap.multimedia	"">
+<!ENTITY chap.kernelconfig	"">
+<!ENTITY chap.printing		"">
+<!ENTITY chap.linuxemu		"">
+
+<!-- Part Three -->
+<!ENTITY chap.config		"">
+<!ENTITY chap.boot		"">
+<!ENTITY chap.users		"">
+<!ENTITY chap.security		"">
+<!ENTITY chap.jails		"">
+<!ENTITY chap.mac		"">
+<!ENTITY chap.audit		"">
+<!ENTITY chap.disks		"">
+<!ENTITY chap.geom		"">
+<!ENTITY chap.filesystems	"">
+<!ENTITY chap.vinum		"">
+<!ENTITY chap.virtualization	"">
+<!ENTITY chap.l10n		"">
+<!ENTITY chap.cutting-edge	"">
+<!ENTITY chap.dtrace		"">
+
+<!-- Part Four -->
+<!ENTITY chap.serialcomms	"">
+<!ENTITY chap.ppp-and-slip	"">
+<!ENTITY chap.mail		"">
+<!ENTITY chap.network-servers	"">
+<!ENTITY chap.firewalls		"">
+<!ENTITY chap.advanced-networking	"">
+
+<!-- Part Five (appendices) -->
+<!ENTITY chap.mirrors		"">
+<!ENTITY chap.mirrors.ftp.inc	"">
+<!ENTITY chap.mirrors.cvsup.inc	"">
+<!ENTITY chap.bibliography	"">
+<!ENTITY chap.eresources	"">
+<!ENTITY chap.eresources.www.inc	"">
+<!ENTITY chap.pgpkeys		"">
+<!ENTITY chap.freebsd-glossary	"">
+<!ENTITY chap.index		"">
diff --git a/ru_RU.KOI8-R/books/handbook/colophon.sgml b/ru_RU.KOI8-R/books/handbook/colophon.sgml
index c805ef5f08..4864bff355 100644
--- a/ru_RU.KOI8-R/books/handbook/colophon.sgml
+++ b/ru_RU.KOI8-R/books/handbook/colophon.sgml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
 <!--
      The Russian FreeBSD Documentation Project
 
diff --git a/ru_RU.KOI8-R/books/handbook/config/chapter.sgml b/ru_RU.KOI8-R/books/handbook/config/chapter.sgml
index 33bb8b1b73..dcb6edf727 100644
--- a/ru_RU.KOI8-R/books/handbook/config/chapter.sgml
+++ b/ru_RU.KOI8-R/books/handbook/config/chapter.sgml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
 <!--
      The FreeBSD Documentation Project
 
@@ -95,11 +96,11 @@
     <itemizedlist>
       <listitem>
 	<para>������ ������ &unix; � &os; (<xref
-	    linkend="basics">).</para>
+	    linkend="basics"/>).</para>
       </listitem>
       <listitem>
 	<para>������������ � �������� ������������/���������� ����
-	  (<xref linkend="kernelconfig">).</para>
+	  (<xref linkend="kernelconfig"/>).</para>
       </listitem>
     </itemizedlist>
   </sect1>
@@ -561,17 +562,17 @@ run_rc_command "$1"</programlisting>
     <programlisting># /etc/crontab - root's crontab for &os;
 #
 # &dollar;&os;: src/etc/crontab,v 1.32 2002/11/22 16:13:39 tom Exp &dollar;
-# <co id="co-comments">
+# <co id="co-comments"/>
 #
 SHELL=/bin/sh
-PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin <co id="co-env">
+PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin <co id="co-env"/>
 HOME=/var/log
 #
 #
-#minute	hour	mday	month	wday	who	command <co id="co-field-descr">
+#minute	hour	mday	month	wday	who	command <co id="co-field-descr"/>
 #
 #
-*/5	*	*	*	*	root	/usr/libexec/atrun <co id="co-main">
+*/5	*	*	*	*	root	/usr/libexec/atrun <co id="co-main"/>
 </programlisting>
 
     <calloutlist>
@@ -911,7 +912,7 @@ ukphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto</screen>
 	    <filename>/usr/src/sys/<replaceable>arch</replaceable>/conf/NOTES</filename>
 	    � �������� ����������� �������� ������� �����.
 	    �� ����� ��������� ����������� � ������ ������������ ����
-	    ����������� � <xref linkend="kernelconfig">.  ���� �����
+	    ����������� � <xref linkend="kernelconfig"/>.  ���� �����
 	    ���� ���������� ����� ����� (<filename>GENERIC</filename>)
 	    �� ����� ��������, �������� ���� �� �����������.</para>
 	</listitem>
@@ -1183,14 +1184,14 @@ round-trip min/avg/max/stddev = 0.700/0.729/0.766/0.025 ms</screen>
 	��� ������ �� ���������.  ��������� ����� ������� <command>netstat
 	-rn</command> � ���������, ��� � ���������������� �����
 	���� ���������� �������.  ���� ��� �� ���, �������� <xref
-	linkend="advanced-networking">.</para>
+	linkend="advanced-networking"/>.</para>
 
       <para>��������� <errorname>ping: sendto: Permission denied</errorname>
 	�������� ���������� ��� ����������� ����������� �����������.
 	���� <command>ipfw</command> ������� � ����, �� ������� ��
 	����������, ������� �� ��������� ��������� ���� ������,
 	���� ������� ping!  �������� <xref
-	linkend="firewalls"> � ����� ��������� �����������.</para>
+	linkend="firewalls"/> � ����� ��������� �����������.</para>
 
       <para>������ �������� ����� ������������, ��� ���� ��������.  � ���� �������
 	����� ����� �������� ����� ������ ���� ����������� �
@@ -1281,8 +1282,8 @@ ifconfig_fxp0_alias7="inet 202.0.75.20 netmask 255.255.255.255"</programlisting>
 
       <informaltable frame="none" pgwide="1">
 	<tgroup cols="2">
-	  <colspec colwidth="1*">
-	  <colspec colwidth="2*">
+	  <colspec colwidth="1*"/>
+	  <colspec colwidth="2*"/>
 
 	  <tbody>
 	    <row>
@@ -1354,8 +1355,8 @@ ifconfig_fxp0_alias7="inet 202.0.75.20 netmask 255.255.255.255"</programlisting>
 
 	<informaltable frame="none" pgwide="1">
 	  <tgroup cols="2">
-	  <colspec colwidth="1*">
-	  <colspec colwidth="2*">
+	  <colspec colwidth="1*"/>
+	  <colspec colwidth="2*"/>
 
 	    <tbody>
 	      <row>
@@ -1614,7 +1615,7 @@ kern.maxfiles: 2088 -&gt; 5000</screen>
       ��� ������ �������� ����������, �������� �� � ����
       <filename>/etc/sysctl.conf</filename>.  �� ��������������
       ����������� ����������� � �������� ����������� &man.sysctl.conf.5;
-      � � <xref linkend="configtuning-sysctlconf">.</para>
+      � � <xref linkend="configtuning-sysctlconf"/>.</para>
 
   <sect2 id="sysctl-readonly">
     <sect2info>
@@ -2275,7 +2276,7 @@ kern.maxvnodes: 100000</programlisting>
       �������� �� ������������ �������.</para>
 
     <para>�� ����������� � ����������� ������� �������� ����������� �
-      <xref linkend="swap-encrypting"> ������� �����������.</para>
+      <xref linkend="swap-encrypting"/> ������� �����������.</para>
 
     <sect2 id="new-drive-swap">
       <title>�������� �� ����� ������� �����</title>
@@ -2284,7 +2285,7 @@ kern.maxvnodes: 100000</programlisting>
 	��� ���� ������� ����.  �� ������ ������� ��� � �����
 	������.  ���� ����� ������ ��������, �������� ��� ���
 	���������� �� ������������ �������� �
-	<xref linkend="configtuning-initial"> �����������,
+	<xref linkend="configtuning-initial"/> �����������,
 	��� �������������� � ��������� ������� ����������� �������
 	��������.</para>
     </sect2>
@@ -2405,6 +2406,7 @@ kern.maxvnodes: 100000</programlisting>
 	������������ Plug and Play ����������� �� ���������
 	<acronym>ACPI</acronym>.  <acronym>ACPI</acronym> ��� ������
 	��������� <acronym>APM</acronym> (Advanced Power Management).</para>
+    </sect2>
 
     <sect2 id="acpi-old-spec">
       <title>���������� Advanced Power Management (APM)</title>
@@ -2802,7 +2804,7 @@ hw.acpi.s4bios: 0</screen>
 	  ��� �������� ��������, ���������� � ������ (���� ��� ��������)
 	  � ��������� �������.  �������� ���������� �� ���������
 	  <literal>options DDB</literal> � ��������� ���������������� �������
-	  (�������� <xref linkend="serialconsole-ddb">)
+	  (�������� <xref linkend="serialconsole-ddb"/>)
 	  ��� ��������� ������� &man.dump.8;.  �� ������ �������� ����������
 	  ���������� <acronym>DDB</acronym> � ������� <literal>tr</literal>.
 	  ���� �� ����������� ������� �������, ���������, ��� ����������
diff --git a/ru_RU.KOI8-R/books/handbook/cutting-edge/chapter.sgml b/ru_RU.KOI8-R/books/handbook/cutting-edge/chapter.sgml
index efac4a6747..04aa2c4af5 100644
--- a/ru_RU.KOI8-R/books/handbook/cutting-edge/chapter.sgml
+++ b/ru_RU.KOI8-R/books/handbook/cutting-edge/chapter.sgml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -90,12 +91,12 @@
     <itemizedlist>
       <listitem>
 	<para>��������� ��������� ��ϣ ����������� � ���� (<xref
-	  linkend="advanced-networking">).</para>
+	  linkend="advanced-networking"/>).</para>
       </listitem>
 
       <listitem>
 	<para>�����, ��� ������������� �������������� ����������� �����������
-	  ������ ������������� (<xref linkend="ports">).</para>
+	  ������ ������������� (<xref linkend="ports"/>).</para>
       </listitem>
     </itemizedlist>
   </sect1>
@@ -276,12 +277,12 @@
 		  linkend="cvsup">cvsup</link> ��� ������ ���������.</para>
 	      </listitem>
 
-	      <indexterm>
-		<primary>-CURRENT</primary>
-		<secondary>������������� ��� ������ CTM</secondary>
-	      </indexterm>
-
 	      <listitem>
+		<indexterm>
+		  <primary>-CURRENT</primary>
+		  <secondary>������������� ��� ������ CTM</secondary>
+		</indexterm>
+
 		<para>��� ������ <application><link
 		  linkend="ctm">CTM</link></application>.  ���� � ��� �����
 		  ������ ����������� (������� ��� ��������������� ������ ������
@@ -443,23 +444,23 @@
 	      ��� ����� ������� ����� �� ���� ��������:</para>
 
 	    <orderedlist>
-	      <indexterm>
-		<primary><command>cvsup</command></primary>
-	      </indexterm>
-
-	      <indexterm>
-		<primary><command>cron</command></primary>
-	      </indexterm>
-
-	      <indexterm>
-		<primary>-STABLE</primary>
-
-		<secondary>
-		  ������������� ��� ������ <application>CVSup</application>
-		</secondary>
-	      </indexterm>
-
 	      <listitem>
+		<indexterm>
+		  <primary><command>cvsup</command></primary>
+		</indexterm>
+
+		<indexterm>
+		  <primary><command>cron</command></primary>
+		</indexterm>
+
+		<indexterm>
+		  <primary>-STABLE</primary>
+
+		  <secondary>
+		    ������������� ��� ������ <application>CVSup</application>
+		  </secondary>
+		</indexterm>
+
 		<para>��� ������ ��������� <link linkend="cvsup">cvsup</link>
 		  � <filename>sup</filename>-������
 		  <filename>stable-supfile</filename> �� ��������
@@ -475,12 +476,12 @@
 		  linkend="cvsup">cvsup</link> ��� ������ ���������.</para>
 	      </listitem>
 
-	      <indexterm>
-		<primary>-STABLE</primary>
-		<secondary>������������� ��� ������ CTM</secondary>
-	      </indexterm>
-
 	      <listitem>
+		<indexterm>
+		  <primary>-STABLE</primary>
+		  <secondary>������������� ��� ������ CTM</secondary>
+		</indexterm>
+
 		<para>��� ������ <application><link
 		  linkend="ctm">CTM</link></application>.  ���� � ��� ���
 		  �������� � ���������� ����������� � ��������, �� ��� ��� ���
@@ -497,12 +498,12 @@
 	      <application>CTM</application>.</para>
 	  </listitem>
 
-	  <indexterm>
-	    <primary>-STABLE</primary>
-	    <secondary>����������</secondary>
-	  </indexterm>
-
 	  <listitem>
+	    <indexterm>
+	      <primary>-STABLE</primary>
+	      <secondary>����������</secondary>
+	    </indexterm>
+
 	    <para>����� ���, ��� ������������� &os.stable;, �����������
 	      �������� ���� <filename>Makefile</filename> � ��������
 	      <filename>/usr/src</filename>.  � �������� ���������� ��
@@ -1118,7 +1119,7 @@ Script done, &hellip;
 
       <para>��� �������� ����������������� ���� �� ������ ������������� �������
 	� ������� � �������������������� �����.  �������� ���, ������ ���������
-	� <xref linkend="makeworld-singleuser">.</para>
+	� <xref linkend="makeworld-singleuser"/>.</para>
     </sect2>
 
     <sect2 id="make-installworld">
@@ -1491,9 +1492,9 @@ Script done, &hellip;
 	      ���������?</para>
 	  </question>
 
-	  <indexterm><primary>������ 11</primary></indexterm>
-
 	  <answer>
+	    <indexterm><primary>������ 11</primary></indexterm>
+
 	    <para>��� �������, ��� ������� � ��������� � �������������.
 	      (����)���������� ������� �������� ����������� ������-������ ���
 	      ������ ������������ � ��������� �������� �������� � �������.
@@ -1805,7 +1806,7 @@ Building everything..
 
       <para>������, ����� �ӣ ��� �������, �� ������ � ����������.  ���������
 	���� � �ӣ ��������� ���, ��� ��� ������� � <xref
-	linkend="make-buildworld"> �� ������ ����������, �� ������ ��
+	linkend="make-buildworld"/> �� ������ ����������, �� ������ ��
 	��������������.  ����� ����, ��� ������� ���������� ����������,
 	��������� � �������� ������ � ���������� ������ ��� ����������� ����.
 	���� ��� ������ ��������� �������� <filename>/usr/src</filename> �
diff --git a/ru_RU.KOI8-R/books/handbook/desktop/chapter.sgml b/ru_RU.KOI8-R/books/handbook/desktop/chapter.sgml
index e6bc0a7ad5..2f3ce558c8 100644
--- a/ru_RU.KOI8-R/books/handbook/desktop/chapter.sgml
+++ b/ru_RU.KOI8-R/books/handbook/desktop/chapter.sgml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -48,7 +49,7 @@
     <para>��������� FreeBSD ������������ �������� ������������� � Linux,
       ������ ����������, ������������� ������������� ��� Linux, �������� � ��
       ����� ����������.  ������������ ������������� ���������
-      <xref linkend="linuxemu"> ����� ���������� ������ �� ����������
+      <xref linkend="linuxemu"/> ����� ���������� ������ �� ����������
       Linux.  �������� ������ ������, ������������ �������� �������������
       � Linux, ���������� � <quote>linux-</quote>.  ������� ��� ��� ������
       ���������� �����, �������� � ������� &man.whereis.1;.  ����� � ������
@@ -94,19 +95,19 @@
     <itemizedlist>
       <listitem>
 	<para>������, ��� ������������� �������������� ���������
-	  ��������� �������������� (<xref linkend="ports">).</para>
+	  ��������� �������������� (<xref linkend="ports"/>).</para>
       </listitem>
 
       <listitem>
 	<para>������, ��� ������������� ��������� Linux
-	  (<xref linkend="linuxemu">).</para>
+	  (<xref linkend="linuxemu"/>).</para>
       </listitem>
     </itemizedlist>
 
     <para>����� �������� �������������� ���������� � ���������
-      ����������� �����, �������� <xref linkend="multimedia">.  ����
+      ����������� �����, �������� <xref linkend="multimedia"/>.  ����
       ��� ����� ����������� �����, ���������� �
-      <xref linkend="mail">.</para>
+      <xref linkend="mail"/>.</para>
   </sect1>
 
   <sect1 id="desktop-browsers">
@@ -127,7 +128,7 @@
 
     <para>� <application>KDE</application> �
       <application>GNOME</application> ��� ���� HTML ��������.
-      ���������� � <xref linkend="x11-wm"> �� ��������� ����������� ��
+      ���������� � <xref linkend="x11-wm"/> �� ��������� ����������� ��
       ��������� ���� ����������� ���������.</para>
 
     <para>���� �� ����� ����������� �������, ����������
diff --git a/ru_RU.KOI8-R/books/handbook/disks/chapter.sgml b/ru_RU.KOI8-R/books/handbook/disks/chapter.sgml
index 496ab40b1f..d801d2d5f7 100644
--- a/ru_RU.KOI8-R/books/handbook/disks/chapter.sgml
+++ b/ru_RU.KOI8-R/books/handbook/disks/chapter.sgml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -87,7 +88,7 @@
     <itemizedlist>
       <listitem>
 	<para>������ ��� ����������� � ������������� ����� ���� FreeBSD
-	  (<xref linkend="kernelconfig">).</para>
+	  (<xref linkend="kernelconfig"/>).</para>
       </listitem>
     </itemizedlist>
   </sect1>
@@ -445,6 +446,8 @@
 	  </authorgroup>
 	</sect3info>
 
+	<title>������������ �������� ����������� ����� (CCD)</title>
+
 	<indexterm>
 	  <primary>RAID</primary><secondary>�����������</secondary>
 	</indexterm>
@@ -453,8 +456,6 @@
 	  <primary>RAID</primary><secondary>CCD</secondary>
 	</indexterm>
 
-	<title>������������ �������� ����������� ����� (CCD)</title>
-
 	<para>��� ������ ������� ��� ����������� ��������� ������ �������
 	  ���������������� �������� ��������, ���������� � ���������.  �����
 	  ��� ��� �������������� ������������ ������������; ������
@@ -508,7 +509,7 @@ ad3: 29333MB &lt;WDC WD307AA&gt; [59598/16/63] at ata1-slave UDMA33</programlist
 	  </note>
 
 	  <para>����� ����������, ��� ������� �� ������ �������� �������.
-	    ������� ������� �� &man.vinum.4; (<xref linkend="vinum-vinum">) �
+	    ������� ������� �� &man.vinum.4; (<xref linkend="vinum-vinum"/>) �
 	    &man.ccd.4;.  � ����� ���������� ������ ���� ������� ����������
 	    &man.ccd.4;.</para>
 	</sect4>
@@ -580,7 +581,7 @@ bsdlabel -e ad3</programlisting>
 	    &man.ccd.4;.  ��� ����� ����������� �������
 	    &man.ccdconfig.8; � �����������, ��������� ���������:</para>
 
-	  <programlisting>ccdconfig ccd0<co id="co-ccd-dev"> 32<co id="co-ccd-interleave"> 0<co id="co-ccd-flags"> /dev/ad1e<co id="co-ccd-devs"> /dev/ad2e /dev/ad3e</programlisting>
+	  <programlisting>ccdconfig ccd0<co id="co-ccd-dev"/> 32<co id="co-ccd-interleave"/> 0<co id="co-ccd-flags"/> /dev/ad1e<co id="co-ccd-devs"/> /dev/ad2e /dev/ad3e</programlisting>
 
 	  <para>������������� � �������� ������� ��������� �����������
 	    ����:</para>
@@ -677,7 +678,7 @@ bsdlabel -e ad3</programlisting>
 	  &man.vinum.4; ��������� ������ RAID-0, RAID-1 � RAID-5, ��� ��
 	  �����������, ��� � � �����������.</para>
 
-	<para>���������� � <xref linkend="vinum-vinum"> ��� ��������� �����
+	<para>���������� � <xref linkend="vinum-vinum"/> ��� ��������� �����
 	  ������ ���������� � &man.vinum.4;.</para>
       </sect3>
     </sect2>
@@ -891,7 +892,7 @@ da0: 126MB (258048 512 byte sectors: 64H 32S/T 126C)</screen>
 &lt;Generic Traveling Disk 1.11&gt;      at scbus0 target 0 lun 0 (da0,pass0)</screen>
 
       <para>���� �� ����� ���� �������� �������, � ��� ������ ����
-	����������� ������������ ��.  <xref linkend="disks-adding">
+	����������� ������������ ��.  <xref linkend="disks-adding"/>
 	������� ��� ������� � ��������������� ������� �� �����
 	USB ���� �����������.</para>
 
@@ -1280,7 +1281,7 @@ scsibus1:
 
 	  <para>��������, ��������������� <replaceable>2,0</replaceable>,
 	    ������ ���� ����������� ���������, ��� ��� ������� � <xref
-	    linkend="cdrecord">.</para>
+	    linkend="cdrecord"/>.</para>
 	</step>
       </procedure>
 
@@ -1464,14 +1465,14 @@ scsibus1:
 	</authorgroup>
       </sect2info>
 
+      <title>������������� �������� ATAPI/CAM</title>
+
       <indexterm>
 	 <primary>���������� ������ CD</primary>
 
 	 <secondary>������� ATAPI/CAM</secondary>
       </indexterm>
 
-      <title>������������� �������� ATAPI/CAM</title>
-
       <para>���� ������� ��������� �������� � ATAPI-������������ (�������
 	CD-ROM, CD-RW, DVD � ��� �����) ����� ���������� SCSI, ����� �������
 	�������� ������������� ����� ����������, ��� <filename
@@ -1591,7 +1592,7 @@ cd0: Attempt to query device size failed: NOT READY, Medium not present - tray c
 	    DVD-ROM � ��������������� DVD-Video;  ���� ���������
 	    ������� DVD ������������ ������ DVD-RAM.  ����� ��������
 	    � ������ � DVD-RAM ����� ��������� � �������
-	    <xref linkend="creating-dvd-ram">.</para>
+	    <xref linkend="creating-dvd-ram"/>.</para>
 	</listitem>
 
 	<listitem>
@@ -1635,7 +1636,7 @@ cd0: Attempt to query device size failed: NOT READY, Medium not present - tray c
 	linkend="atapicam">��������� ATAPI/CAM</link>.  ���� �������
 	������ ���������� USB ���������, ��� ���������� ���������� �
 	���������� �������� ����� ��������� ���������� �� ���������
-	��������� USB � <xref linkend="usb-disks"></para>
+	��������� USB � <xref linkend="usb-disks"/></para>
 
       <para>��� ����� ����������� �������� DMA ������ ��� ��������� ATAPI,
 	��� ����� ������� ������� �
@@ -1735,14 +1736,14 @@ cd0: Attempt to query device size failed: NOT READY, Medium not present - tray c
       </note>
     </sect2>
 
-    <indexterm>
-      <primary>DVD</primary>
-      <secondary>DVD-Video</secondary>
-    </indexterm>
-
     <sect2>
       <title>������ DVD-Video</title>
 
+      <indexterm>
+	<primary>DVD</primary>
+	<secondary>DVD-Video</secondary>
+      </indexterm>
+
       <para>DVD-Video ��� ������ �������� �������, ������������ �� ISO 9660
 	� ������������� micro-UDF (M-UDF).  DVD-Video ����� ������������
 	������������ �������� ��������� ������, ������� ��� �������� DVD
@@ -1764,14 +1765,14 @@ cd0: Attempt to query device size failed: NOT READY, Medium not present - tray c
 	�������� &man.growisofs.1; <option>-dvd-compat</option>.</para>
     </sect2>
 
-    <indexterm>
-      <primary>DVD</primary>
-      <secondary>DVD+RW</secondary>
-    </indexterm>
-
     <sect2>
       <title>������������� DVD+RW</title>
 
+      <indexterm>
+	<primary>DVD</primary>
+	<secondary>DVD+RW</secondary>
+      </indexterm>
+
       <para>� ������� �� CD-RW, ����� DVD+RW ���������� ��������������� �����
 	������ ��������������.  ��������� &man.growisofs.1; ����������� ��
 	���� ���� ��� �������������, � ���
@@ -1819,14 +1820,14 @@ cd0: Attempt to query device size failed: NOT READY, Medium not present - tray c
       <screen>&prompt.root; <userinput>growisofs -Z <replaceable>/dev/cd0</replaceable>=<replaceable>/dev/zero</replaceable></userinput></screen>
     </sect2>
 
-    <indexterm>
-      <primary>DVD</primary>
-      <secondary>DVD-RW</secondary>
-    </indexterm>
-
     <sect2>
       <title>������������� DVD-RW</title>
 
+      <indexterm>
+	<primary>DVD</primary>
+	<secondary>DVD-RW</secondary>
+      </indexterm>
+
       <para>���������� ��� ������� ������ DVD-RW: ���������������
 	����������� � � ������������ �����������.  �� ���������
 	������ ������ DVD-RW ����������������.</para>
@@ -1986,6 +1987,7 @@ cd0: Attempt to query device size failed: NOT READY, Medium not present - tray c
 	<screen>&prompt.root; <userinput>mount <replaceable>/dev/acd0</replaceable> <replaceable>/mnt</replaceable></userinput></screen>
 
 	<para>����� ����� �� ������ ������ � ������ �� DVD-RAM.</para>
+      </sect3>
     </sect2>
   </sect1>
 
@@ -2073,7 +2075,7 @@ cd0: Attempt to query device size failed: NOT READY, Medium not present - tray c
       <para>����� ����� ����� ����� �������� ����� � �����, � ����� ���������
 	������ ���������� � ���������� �������.
 	�������� ��������� ��� ����� ����� ����������� � �����
-	<filename>/etc/disktab</filename>.
+	<filename>/etc/disktab</filename>.</para>
 
       <para>������ �� ������ ��������� &man.bsdlabel.8; �������� ���:</para>
 
@@ -3420,7 +3422,7 @@ Filesystem 1K-blocks Used Avail Capacity  Mounted on
       <para>� ����������� ���� <filename>GENERIC</filename> ��� �� ���������
 	�� ��������, ��� ��� ��� ������������� �������� ���� ��� ����� �����
 	���������, ��������������� � ���������� ����������� ����.
-	����������, ���������� � <xref linkend="kernelconfig"> ��
+	����������, ���������� � <xref linkend="kernelconfig"/> ��
 	�������������� ����������� � ��������� ����.</para>
 
       <para>����� ��� ����������� �������� ������������ ������ � �����
@@ -3680,7 +3682,7 @@ Filesystem 1K-blocks Used Avail Capacity  Mounted on
     <para>FreeBSD ������������� ���������� ����������� �� ������ ��
       �������������������� ������� � ������.  ����� �� ������ � ������ �
       ���������� ��������������� �������� ������� MAC (Mandatory Access Control)
-      (�������� see <xref linkend="mac">) �������� �������������
+      (�������� see <xref linkend="mac"/>) �������� �������������
       ������������������� ������ ����������� ��� � ������, ��� ������� ������
       ������������ ������� � ����������.  ������ ����� �������, ��������������
       ������������ ��������, �� ����� ��������, ���� ���������� ��������
@@ -3723,7 +3725,7 @@ Password:</screen>
 
 	  <para>����������� ����
 	    FreeBSD.  ���� ������� ������ � <xref
-	    linkend="kernelconfig">.</para>
+	    linkend="kernelconfig"/>.</para>
 
 	  <para>���������������, �������� ����� ����.</para>
 	</step>
@@ -3754,7 +3756,7 @@ Password:</screen>
 	  <title>���������� ����� ֣����� ����</title>
 
 	  <para>���������� ����� ���� � �������, ��� ��� ������� � <xref
-	    linkend="disks-adding">.  � ������ ����� ������� ������,
+	    linkend="disks-adding"/>.  � ������ ����� ������� ������,
 	    ��������������� ������ ֣������ �����, ����� ����������
 	    <filename>/dev/ad4s1c</filename>.  ����������
 	    <filename>/dev/ad0s1<replaceable>*</replaceable></filename>
@@ -4079,7 +4081,7 @@ gbde_lockdir="/etc/gbde"</programlisting>
 device crypto</programlisting>
 
 	  <para>����������� ����, ��� ������� � ������� <xref
-	    linkend="kernelconfig">.</para>
+	    linkend="kernelconfig"/>.</para>
 
 	  <para>������ �����, ��������� <command>geli</command> ����� ����
 	    ������������ ������� ���� �� ����� ��������.  ��� ����� ��������
diff --git a/ru_RU.KOI8-R/books/handbook/eresources/chapter.sgml b/ru_RU.KOI8-R/books/handbook/eresources/chapter.sgml
index 8f363707f3..7f3bc3e625 100644
--- a/ru_RU.KOI8-R/books/handbook/eresources/chapter.sgml
+++ b/ru_RU.KOI8-R/books/handbook/eresources/chapter.sgml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -1540,6 +1541,7 @@
 	    <para>��� �������� � ����� ����������� ���������, ������ ���
 	      ������, ��������������� ��� ���������� ������� FreeBSD
 	      Core Team.</para>
+	  </listitem>
 	</varlistentry>
 
 	<varlistentry>
@@ -1807,7 +1809,7 @@
 
 	    <para>���������� ����� ��������� �� ����� ������ �������� �����
 	      ������������� �� ����� &os; ��� ����� Status Reports
-	      <footnote><para><ulink url="http://www.freebsd.org/news/status/"></ulink></para></footnote>.
+	      <footnote><para><ulink url="http://www.freebsd.org/news/status/"></ulink></para></footnote>.</para>
 
 	    <para>���� ��� ����� ���������� ������� ���������, ���������
 	      � ������ �������� ��� �� �������� Status Reports.</para>
diff --git a/ru_RU.KOI8-R/books/handbook/filesystems/chapter.sgml b/ru_RU.KOI8-R/books/handbook/filesystems/chapter.sgml
index bffd61b878..0f18c7b8a8 100644
--- a/ru_RU.KOI8-R/books/handbook/filesystems/chapter.sgml
+++ b/ru_RU.KOI8-R/books/handbook/filesystems/chapter.sgml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
 <!--
      The FreeBSD Russian Documentation Project
      $FreeBSD$
@@ -77,22 +78,22 @@ Translation:    Taras Korenko
 
     <itemizedlist>
       <listitem>
-	<para>�������� ������ &unix; � &os; (<xref linkend="basics">).</para>
+	<para>�������� ������ &unix; � &os; (<xref linkend="basics"/>).</para>
       </listitem>
 
       <listitem>
 	<para>����� ��� ���������������� � ���������� ����
-	  (<xref linkend="kernelconfig">).</para>
+	  (<xref linkend="kernelconfig"/>).</para>
       </listitem>
 
       <listitem>
 	<para>����� ������������� ���������� ��������� �������������
-	  � &os; (<xref linkend="ports">).</para>
+	  � &os; (<xref linkend="ports"/>).</para>
       </listitem>
 
       <listitem>
 	<para>���� �������� � ����������� ������ � ��������� ��������
-	  � &os; (<xref linkend="disks">).</para>
+	  � &os; (<xref linkend="disks"/>).</para>
       </listitem>
     </itemizedlist>
   </sect1>
diff --git a/ru_RU.KOI8-R/books/handbook/firewalls/chapter.sgml b/ru_RU.KOI8-R/books/handbook/firewalls/chapter.sgml
index 05dee68517..28ce0d3189 100644
--- a/ru_RU.KOI8-R/books/handbook/firewalls/chapter.sgml
+++ b/ru_RU.KOI8-R/books/handbook/firewalls/chapter.sgml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
 <!--
      The FreeBSD Documentation Project
 
@@ -708,7 +709,7 @@ ipnat_rules="/etc/ipnat.rules"    # 
 
       <para>���� ������ ����������� ������ IPF, ������������
 	������� �����������.  ���������� � <xref
-	linkend="firewalls-ipf-rules-script">.</para>
+	linkend="firewalls-ipf-rules-script"/>.</para>
 
     </sect2>
 
@@ -1383,7 +1384,7 @@ ipfw add deny out</programlisting>
 	  <varname>firewall_logging</varname>, &mdash; ����������
 	  ���������� ������� (<literal>1</literal>) ���������� sysctl
 	  <varname>net.inet.ip.fw.verbose</varname> (�������� <xref
-	  linkend="firewalls-ipfw-enable">).  � <filename>rc.conf</filename>
+	  linkend="firewalls-ipfw-enable"/>).  � <filename>rc.conf</filename>
 	  ��� ���������� ��� ����������� ����������������, �� ��� �����
 	  ������� ����� ���������� sysctl ������� ���� ��������� ����
 	  <filename>/etc/sysctl.conf</filename>:</para>
@@ -1393,7 +1394,7 @@ ipfw add deny out</programlisting>
 
       <para>���� ���� ������ ��������� ���� �����, �.�. ������������
 	���������� ������� ������� (NAT) � ������� &man.natd.8;, �����
-	����� ����� ������� � ������ <xref linkend="network-natd">
+	����� ����� ������� � ������ <xref linkend="network-natd"/>
 	��� ��������� ���������� ������������ ����������
 	<filename>/etc/rc.conf</filename>.</para>
     </sect2>
diff --git a/ru_RU.KOI8-R/books/handbook/geom/chapter.sgml b/ru_RU.KOI8-R/books/handbook/geom/chapter.sgml
index 86d81415f2..44dceb9142 100644
--- a/ru_RU.KOI8-R/books/handbook/geom/chapter.sgml
+++ b/ru_RU.KOI8-R/books/handbook/geom/chapter.sgml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
 <!--
      The FreeBSD Russian Documentation Project
      $FreeBSD$
@@ -78,12 +79,12 @@
     <itemizedlist>
       <listitem>
 	<para>��������, ��� &os; �������� � �������
-	  (<xref linkend="disks">).</para>
+	  (<xref linkend="disks"/>).</para>
       </listitem>
 
       <listitem>
 	<para>����� ���������������� � ���������� ����� ���� &os;
-	  (<xref linkend="kernelconfig">).</para>
+	  (<xref linkend="kernelconfig"/>).</para>
       </listitem>
     </itemizedlist>
   </sect1>
@@ -147,7 +148,7 @@
 
     <mediaobject>
       <imageobject>
-	<imagedata fileref="geom/striping" align="center">
+	<imagedata fileref="geom/striping" align="center"/>
       </imageobject>
 
       <textobject>
@@ -317,7 +318,7 @@ Done.</screen>
 	  ������ � &man.vi.1; <userinput>:w /etc/fstab.bak</userinput>.
 	  ����� �������� ��� ����� �����, ���������� ��� ����������
 	  <devicename>da0</devicename>, �� ��� <devicename>gm0</devicename>,
-	  ������ <userinput>:%s/da/mirror\/gm/g</userinput>.<para>
+	  ������ <userinput>:%s/da/mirror\/gm/g</userinput>.</para>
       </note>
 
       <para>���������� �� ����������� ���������� ������
diff --git a/ru_RU.KOI8-R/books/handbook/install/chapter.sgml b/ru_RU.KOI8-R/books/handbook/install/chapter.sgml
index 5b860d220f..bff0ecebf1 100644
--- a/ru_RU.KOI8-R/books/handbook/install/chapter.sgml
+++ b/ru_RU.KOI8-R/books/handbook/install/chapter.sgml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -110,7 +111,7 @@
 	���������� ��� ��������� &os;, ��� ����� �������������
 	�������������� �������� ��� ������ CDROM, � � ���������
 	������� � ������� �������.  ��� �������� ����� ������� �
-	<xref linkend="install-boot-media">.</para>
+	<xref linkend="install-boot-media"/>.</para>
 
       <sect3>
 	<title>����������� &os;/&arch.i386; � &os;/&arch.pc98;</title>
@@ -152,7 +153,7 @@
 
 	<para>��� ��������� &os;/&arch.sparc64;, ��� ����������� ��������������
 	  ��������� (���������� � <xref
-	  linkend="install-hardware-supported">).</para>
+	  linkend="install-hardware-supported"/>).</para>
 
 	<para>��� &os;/&arch.sparc64; ����������� ��������� ����.  � ���������
 	  ����� ���� ���������� ��������� ������������ � ������ ������������
@@ -208,10 +209,10 @@
 	<title>������ �������� �� ������������</title>
 
 	<tgroup cols="4">
-	  <colspec colwidth="2*">
-	  <colspec colwidth="1*">
-	  <colspec colwidth="1*">
-	  <colspec colwidth="4*">
+	  <colspec colwidth="2*"/>
+	  <colspec colwidth="1*"/>
+	  <colspec colwidth="1*"/>
+	  <colspec colwidth="4*"/>
 	  <thead>
 	    <row>
 	      <entry>�������� ����������</entry>
@@ -383,7 +384,7 @@
 	<application>GParted</application> �������� �������� �
 	<acronym>NTFS</acronym>.  ������� <application>GParted</application>
 	�������� �� ��������� Live CD ������������� Linux, ��������: <ulink
-	url="http://www.sysresccd.org/">SystemRescueCD</ulink>.<para>
+	url="http://www.sysresccd.org/">SystemRescueCD</ulink>.</para>
 
       <para>������������ ������������ ������������ � ���������� ��� ���������
 	�������� ��������, ���������� &microsoft; Vista.  ������� �������������
@@ -583,13 +584,13 @@
 
       <para>���� �� ������ FreeBSD �� CD ��� DVD, � ��� ��� ����
 	���, ��� �����, ���������� � ���������� �������
-	(<xref linkend="install-boot-media">).</para>
+	(<xref linkend="install-boot-media"/>).</para>
 
       <para>���� � ��� ��� ������������ ������ FreeBSD,
-	��������� � <xref linkend="install-diff-media">, ������� ���������,
+	��������� � <xref linkend="install-diff-media"/>, ������� ���������,
 	��� ������������� � ��������� FreeBSD ����� ��������� ���� ��������.
 	����� ��������� ����� �������, ��������� ���� � ��������
-	<xref linkend="install-boot-media">.</para>
+	<xref linkend="install-boot-media"/>.</para>
     </sect2>
 
     <sect2 id="install-boot-media">
@@ -907,7 +908,7 @@ We can take no responsibility for lost disk contents!</literallayout>
 
 	<step>
 	  <para>���� �� ����������� <quote>�����������</quote> USB-��������,
-	    ��� ������� � <xref linkend="install-boot-media">, ��������
+	    ��� ������� � <xref linkend="install-boot-media"/>, ��������
 	    ��� � USB ���� ����� ���������� ����������.</para>
 
 	  <para>���� �� ������������ � CDROM, ����������� �������
@@ -917,7 +918,7 @@ We can take no responsibility for lost disk contents!</literallayout>
 	  <note>
 	    <para>��� &os; ������ 7.<replaceable>X</replaceable> � ����� ������ ���������� ������
 	      ����������� ������.  ���������� � ������������� ������ ������� �
-	      <xref linkend="install-boot-media">.  ��� �������� ����������
+	      <xref linkend="install-boot-media"/>.  ��� �������� ����������
 	      ������ � �������� ���������� �������� �������, ����������
 	      ����� <filename>boot.flp</filename>.</para>
 	  </note>
@@ -1005,7 +1006,7 @@ Insert disk labelled "Kernel floppy 1" and press any key...</screen>
 
 	    <mediaobject>
 	      <imageobject>
-	        <imagedata fileref="install/boot-loader-menu" format="PNG">
+	        <imagedata fileref="install/boot-loader-menu" format="PNG"/>
 	      </imageobject>
 	    </mediaobject>
 	  </figure>
@@ -1044,8 +1045,8 @@ Ethernet address 0:3:ba:b:92:d4, Host ID: 830b92d4.</screen>
 
     <screenco>
       <areaspec>
-	<area id="prompt-single" coords="1 5">
-	<area id="prompt-smp" coords="2 5">
+	<area id="prompt-single" coords="1 5"/>
+	<area id="prompt-smp" coords="2 5"/>
       </areaspec>
 
       <screen><prompt>ok     </prompt>
@@ -1083,7 +1084,7 @@ Ethernet address 0:3:ba:b:92:d4, Host ID: 830b92d4.</screen>
 
       <para>�������� ��� ������ ��� ��������� ������, �������� �� �����,
 	����� ���� ��������� ������������ ���������.  �� ������� ����� �����
-	<xref linkend="install-dev-probe">, ���� � ������� �� ����� ����������
+	<xref linkend="install-dev-probe"/>, ���� � ������� �� ����� ����������
 	� ����������� �� ���������, ��������� � ����� ����������.</para>
 
       <figure id="install-dev-probe">
@@ -1160,7 +1161,7 @@ Mounting root from ufs:/dev/md0c
 	<filename>GENERIC</filename>, �������� �������� ����.</para>
 
       <para>����� �������� ����������
-	���������, �������� <xref linkend="config-country">.  �����������
+	���������, �������� <xref linkend="config-country"/>.  �����������
 	������� ��������� ��� ������ ������, ������� ��� ������.
 	����� ������� <keycap>Enter</keycap>, ���������� ����� ������.</para>
 
@@ -1169,7 +1170,7 @@ Mounting root from ufs:/dev/md0c
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="install/config-country" format="PNG">
+	    <imagedata fileref="install/config-country" format="PNG"/>
 	  </imageobject>
 	</mediaobject>
       </figure>
@@ -1185,7 +1186,7 @@ Mounting root from ufs:/dev/md0c
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="install/config-keymap" format="PNG">
+	    <imagedata fileref="install/config-keymap" format="PNG"/>
 	  </imageobject>
 	</mediaobject>
       </figure>
@@ -1211,7 +1212,7 @@ Mounting root from ufs:/dev/md0c
     <para>��� ��������� ���� ���������� ���������, ��� ������� �����
       <guimenuitem>Usage</guimenuitem> � ������
       <guibutton>[Select]</guibutton>, ��� �������� �� <xref
-      linkend="sysinstall-main3">, ����� ������� <keycap>Enter</keycap>.</para>
+      linkend="sysinstall-main3"/>, ����� ������� <keycap>Enter</keycap>.</para>
 
     <para>����� �������� ���������� �� ������������� ����.  �����
       ��������� ����������, �������  <keycap>Enter</keycap> ���
@@ -1222,7 +1223,7 @@ Mounting root from ufs:/dev/md0c
 
       <mediaobject>
 	<imageobject>
-	  <imagedata fileref="install/main1" format="PNG">
+	  <imagedata fileref="install/main1" format="PNG"/>
 	</imageobject>
       </mediaobject>
     </figure>
@@ -1238,7 +1239,7 @@ Mounting root from ufs:/dev/md0c
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="install/main-doc" format="PNG">
+	    <imagedata fileref="install/main-doc" format="PNG"/>
 	  </imageobject>
 	</mediaobject>
       </figure>
@@ -1250,7 +1251,7 @@ Mounting root from ufs:/dev/md0c
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="install/docmenu1" format="PNG">
+	    <imagedata fileref="install/docmenu1" format="PNG"/>
 	  </imageobject>
 	</mediaobject>
       </figure>
@@ -1280,7 +1281,7 @@ Mounting root from ufs:/dev/md0c
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="install/main-keymap" format="PNG">
+	    <imagedata fileref="install/main-keymap" format="PNG"/>
 	  </imageobject>
 	</mediaobject>
       </figure>
@@ -1301,7 +1302,7 @@ Mounting root from ufs:/dev/md0c
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="install/keymap" format="PNG">
+	    <imagedata fileref="install/keymap" format="PNG"/>
 	  </imageobject>
 	</mediaobject>
       </figure>
@@ -1319,7 +1320,7 @@ Mounting root from ufs:/dev/md0c
 
       <mediaobject>
 	<imageobject>
-	  <imagedata fileref="install/main-options" format="PNG">
+	  <imagedata fileref="install/main-options" format="PNG"/>
 	</imageobject>
       </mediaobject>
     </figure>
@@ -1329,7 +1330,7 @@ Mounting root from ufs:/dev/md0c
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="install/options" format="PNG">
+	    <imagedata fileref="install/options" format="PNG"/>
 	  </imageobject>
 	</mediaobject>
       </figure>
@@ -1365,7 +1366,7 @@ Mounting root from ufs:/dev/md0c
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="install/main-std" format="PNG">
+	    <imagedata fileref="install/main-std" format="PNG"/>
 	  </imageobject>
 	</mediaobject>
       </figure>
@@ -1532,7 +1533,7 @@ Mounting root from ufs:/dev/md0c
       <para>������� <keycap>Enter</keycap> ��� ������������.  �����
 	������� ������ ���� ������� ������, ������������ ����� �� �����
 	������������ ���������.
-	<xref linkend="sysinstall-fdisk-drive1"> ���������� ������ �������
+	<xref linkend="sysinstall-fdisk-drive1"/> ���������� ������ �������
 	� ����� IDE �������.  ��� ���� �������
 	<devicename>ad0</devicename> � <devicename>ad2</devicename>.</para>
 
@@ -1541,7 +1542,7 @@ Mounting root from ufs:/dev/md0c
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="install/fdisk-drive1" format="PNG">
+	    <imagedata fileref="install/fdisk-drive1" format="PNG"/>
 	  </imageobject>
 	</mediaobject>
       </figure>
@@ -1581,7 +1582,7 @@ Mounting root from ufs:/dev/md0c
       <para>�� ������ ������� ����, �� ������� ������ ���������� FreeBSD,
 	� ������ &gui.ok;.
 	������������� <application>FDisk</application> ����� ���������
-	�������� ��� <xref linkend="sysinstall-fdisk1">.</para>
+	�������� ��� <xref linkend="sysinstall-fdisk1"/>.</para>
 
       <para>����� <application>FDisk</application> ������ �� ���
 	�������.</para>
@@ -1608,7 +1609,7 @@ Mounting root from ufs:/dev/md0c
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="install/fdisk-edit1" format="PNG">
+	    <imagedata fileref="install/fdisk-edit1" format="PNG"/>
 	  </imageobject>
 	</mediaobject>
       </figure>
@@ -1627,7 +1628,7 @@ Mounting root from ufs:/dev/md0c
 	FreeBSD.  ����� �� �������� ���, ����� ������� ����� ���������
 	����� FreeBSD ��������� ������� ���������, � ����� ������
 	<keycap>S</keycap>, ����� ������� ����� �����������.  ����� �����
-	����� �� <xref linkend="sysinstall-fdisk2">.  �������� ��������, ���
+	����� �� <xref linkend="sysinstall-fdisk2"/>.  �������� ��������, ���
 	<literal>A</literal> � ������� <literal>Flags</literal> ��������, ���
 	����� <emphasis>�������</emphasis> � � ���� ����� �����������
 	��������.</para>
@@ -1653,7 +1654,7 @@ Mounting root from ufs:/dev/md0c
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="install/fdisk-edit2" format="PNG">
+	    <imagedata fileref="install/fdisk-edit2" format="PNG"/>
 	  </imageobject>
 	</mediaobject>
       </figure>
@@ -1696,7 +1697,7 @@ Mounting root from ufs:/dev/md0c
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="install/boot-mgr" format="PNG">
+	    <imagedata fileref="install/boot-mgr" format="PNG"/>
 	  </imageobject>
 	</mediaobject>
       </figure>
@@ -1726,7 +1727,7 @@ Mounting root from ufs:/dev/md0c
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="install/fdisk-drive2" format="PNG">
+	    <imagedata fileref="install/fdisk-drive2" format="PNG"/>
 	  </imageobject>
 	</mediaobject>
       </figure>
@@ -1766,10 +1767,10 @@ Mounting root from ufs:/dev/md0c
 	<title>������������ �������� ��� ������� �����</title>
 
 	<tgroup cols="4">
-	  <colspec colwidth="1*">
-	  <colspec colwidth="1*">
-	  <colspec colwidth="1*">
-	  <colspec colwidth="4*">
+	  <colspec colwidth="1*"/>
+	  <colspec colwidth="1*"/>
+	  <colspec colwidth="1*"/>
+	  <colspec colwidth="4*"/>
 
 	  <thead>
 	    <row>
@@ -1877,10 +1878,10 @@ Mounting root from ufs:/dev/md0c
 	<title>�������� �������� ��� ��������� ������</title>
 
 	<tgroup cols="4">
-	  <colspec colwidth="1*">
-	  <colspec colwidth="1*">
-	  <colspec colwidth="2*">
-	  <colspec colwidth="3*">
+	  <colspec colwidth="1*"/>
+	  <colspec colwidth="1*"/>
+	  <colspec colwidth="2*"/>
+	  <colspec colwidth="3*"/>
 	  <thead>
 	    <row>
 	      <entry>������</entry>
@@ -1951,7 +1952,7 @@ Mounting root from ufs:/dev/md0c
       <para>������� <keycap>Enter</keycap> ��� ������� ��������� ��������
 	FreeBSD, ����������� <application>Disklabel</application>.</para>
 
-      <para><xref linkend="sysinstall-label"> ���������� ����� ������ ���
+      <para><xref linkend="sysinstall-label"/> ���������� ����� ������ ���
 	����������� <application>Disklabel</application>.  ����� �������
 	�� ��� �������.</para>
 
@@ -1975,7 +1976,7 @@ Mounting root from ufs:/dev/md0c
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="install/disklabel-ed1" format="PNG">
+	    <imagedata fileref="install/disklabel-ed1" format="PNG"/>
 	  </imageobject>
 	</mediaobject>
       </figure>
@@ -1985,7 +1986,7 @@ Mounting root from ufs:/dev/md0c
 	�� ��������� ����������� � ������� ����������� ���������, ������
 	�� ������� �����.  ���������� ���, �����
 	<keycap>A</keycap>.  �� ������� ����� ��� ��
-	<xref linkend="sysinstall-label2">.  � ����������� �� ������� �����,
+	<xref linkend="sysinstall-label2"/>.  � ����������� �� ������� �����,
 	�������� �� ��������� ����� ��������� ���
 	�� ��������� ���.  ��� �� ����� ��������, ���� �� �� ����������
 	��.</para>
@@ -2003,7 +2004,7 @@ Mounting root from ufs:/dev/md0c
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="install/disklabel-auto" format="PNG">
+	    <imagedata fileref="install/disklabel-auto" format="PNG"/>
 	  </imageobject>
 	</mediaobject>
       </figure>
@@ -2019,7 +2020,7 @@ Mounting root from ufs:/dev/md0c
 	��������������� �����
 	������ ������ � ������� <keycap>C</keycap>.  �������� ������,
 	������������ ������� ������ ������ ������� (��� �������� ��
-	<xref linkend="sysinstall-label-add">).  �� ������ ������ ����������
+	<xref linkend="sysinstall-label-add"/>).  �� ������ ������ ����������
 	������ �����, ��� ���������� �������� �
 	<literal>M</literal> ����� ������, ��� �������� �
 	<literal>G</literal>, ��� ��������� � <literal>C</literal>.</para>
@@ -2029,7 +2030,7 @@ Mounting root from ufs:/dev/md0c
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="install/disklabel-root1" format="PNG">
+	    <imagedata fileref="install/disklabel-root1" format="PNG"/>
 	  </imageobject>
 	</mediaobject>
       </figure>
@@ -2038,7 +2039,7 @@ Mounting root from ufs:/dev/md0c
 	���� �����.  ���� �� ����������� ������� ��������, ��������� ����� � �������,
 	������� ��� �������� ��������� <keycap>Backspace</keycap>,
 	� ����� ������� <userinput>512M</userinput>, ��� �������� ��
-	<xref linkend="sysinstall-label-add2">.  ����� �������
+	<xref linkend="sysinstall-label-add2"/>.  ����� �������
 	&gui.ok;.</para>
 
       <figure id="sysinstall-label-add2">
@@ -2046,14 +2047,14 @@ Mounting root from ufs:/dev/md0c
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="install/disklabel-root2" format="PNG">
+	    <imagedata fileref="install/disklabel-root2" format="PNG"/>
 	  </imageobject>
 	</mediaobject>
       </figure>
 
       <para>����� �������� ������� ������� ��� ����� ����� ������, ������ ��
 	���� ������ ��������� �������� ������� ��� ������ ��������.  ������
-	������� �� <xref linkend="sysinstall-label-type">.  ������ ������
+	������� �� <xref linkend="sysinstall-label-type"/>.  ������ ������
 	����� ��������� �������� �������, ������� ���������, ��� �������
 	<guimenuitem>FS</guimenuitem> � �������
 	<keycap>Enter</keycap>.</para>
@@ -2063,7 +2064,7 @@ Mounting root from ufs:/dev/md0c
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="install/disklabel-fs" format="PNG">
+	    <imagedata fileref="install/disklabel-fs" format="PNG"/>
 	  </imageobject>
 	</mediaobject>
       </figure>
@@ -2071,7 +2072,7 @@ Mounting root from ufs:/dev/md0c
       <para>�������, ��������� �� �������� �������� �������, ����� �������
 	<application>Disklabel</application> ��� �������� ������� �����
 	������������.  ������ ������� ��
-	<xref linkend="sysinstall-label-mount">.  ����� ������������
+	<xref linkend="sysinstall-label-mount"/>.  ����� ������������
 	�������� �������� ������� <filename>/</filename>, ������� �������
 	<userinput>/</userinput>, � ������� <keycap>Enter</keycap>.</para>
 
@@ -2080,7 +2081,7 @@ Mounting root from ufs:/dev/md0c
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="install/disklabel-root3" format="PNG">
+	    <imagedata fileref="install/disklabel-root3" format="PNG"/>
 	  </imageobject>
 	</mediaobject>
       </figure>
@@ -2094,7 +2095,7 @@ Mounting root from ufs:/dev/md0c
 	������.</para>
 
       <para>��������� ����� FreeBSD ��������� DiskLabel ����� ����� ��
-	<xref linkend="sysinstall-label4">, ���� ��� ����� �������� �����
+	<xref linkend="sysinstall-label4"/>, ���� ��� ����� �������� �����
 	���� ������.  ������� <keycap>Q</keycap>, ����� �����.</para>
 
       <figure id="sysinstall-label4">
@@ -2102,7 +2103,7 @@ Mounting root from ufs:/dev/md0c
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="install/disklabel-ed2" format="PNG">
+	    <imagedata fileref="install/disklabel-ed2" format="PNG"/>
 	  </imageobject>
 	</mediaobject>
       </figure>
@@ -2132,16 +2133,16 @@ Mounting root from ufs:/dev/md0c
 	�� ������ ��������� X ������� �
 	������ �������� �� ��������� ������ ���� ��������� �����
 	��������� &os;.  ����� ��������� ���������� �� ��������� � ���������
-	X ������� ��������� � <xref linkend="x11">.</para>
+	X ������� ��������� � <xref linkend="x11"/>.</para>
 
       <para>���� ����������� ���������� ����, �������� �����, ����������
 	�������� ������.  ���������� � ���, ����� ������������ ���� �
-	��� ��� �������, ��������� �� <xref linkend="kernelconfig">.</para>
+	��� ��� �������, ��������� �� <xref linkend="kernelconfig"/>.</para>
 
       <para>����, ��� �������� ������������� ������� �������� ���.
 	���� ����� �� ����� ����������, ��������
 	<guimenuitem>All</guimenuitem>, ��� �������� ��
-	<xref linkend="distribution-set1"> � �������
+	<xref linkend="distribution-set1"/> � �������
 	<keycap>Enter</keycap>.  ���� ���� �������� ������������ ����,
 	������ �� �����, ����������� �������� ���������� �����.
 	�� ������������ � ���, ����� ����� ����� ���������, ������
@@ -2152,7 +2153,7 @@ Mounting root from ufs:/dev/md0c
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="install/dist-set" format="PNG">
+	    <imagedata fileref="install/dist-set" format="PNG"/>
 	  </imageobject>
 	</mediaobject>
       </figure>
@@ -2167,7 +2168,7 @@ Mounting root from ufs:/dev/md0c
 	�������� �������� ����� ��������.  ��� ����� ������, �������
 	�������������� ��������, �������������� � ���������
 	������� ������������ ����������� ��������� �������������.
-	<xref linkend="ports"> ����������, ��� ������������ ���������
+	<xref linkend="ports"/> ����������, ��� ������������ ���������
 	������.</para>
 
       <para>��������� ��������� �� ���������, ���� �� ���������� �����.
@@ -2205,7 +2206,7 @@ Mounting root from ufs:/dev/md0c
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="install/dist-set2" format="PNG">
+	    <imagedata fileref="install/dist-set2" format="PNG"/>
 	  </imageobject>
 	</mediaobject>
       </figure>
@@ -2238,7 +2239,7 @@ Mounting root from ufs:/dev/md0c
 
       <mediaobject>
 	<imageobject>
-	  <imagedata fileref="install/media" format="PNG">
+	  <imagedata fileref="install/media" format="PNG"/>
 	</imageobject>
       </mediaobject>
     </figure>
@@ -2428,7 +2429,7 @@ installation menus to retry whichever operations have failed.
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="install/ed0-conf" format="PNG">
+	    <imagedata fileref="install/ed0-conf" format="PNG"/>
 	  </imageobject>
 	</mediaobject>
       </figure>
@@ -2463,7 +2464,7 @@ installation menus to retry whichever operations have failed.
       <para>����� &gui.yes; ��������
 	<application>dhclient</application>, �, ���� ��� ������� ���������,
 	�������� ���������� � ������������ ���� �������������.  ����������
-	� <xref linkend="network-dhcp"> �� ����� ���������� ����������.</para>
+	� <xref linkend="network-dhcp"/> �� ����� ���������� ����������.</para>
 
       <para>��������� ����� ������������ ���� ���������� ���������
 	���������� Ethernet �������, ������� ����� �������� ������
@@ -2474,7 +2475,7 @@ installation menus to retry whichever operations have failed.
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="install/ed0-conf2" format="PNG">
+	    <imagedata fileref="install/ed0-conf2" format="PNG"/>
 	  </imageobject>
 	</mediaobject>
       </figure>
@@ -2605,7 +2606,7 @@ Do you want to configure inetd and the network services that it provides?
       <para>��� ������� ����� ���� �������� ����� ��������� �����
 	�������������� <filename>/etc/inetd.conf</filename> � ������� ������
 	�������� ���������� ���������.  ����������� �
-	<xref linkend="network-inetd-overview">
+	<xref linkend="network-inetd-overview"/>
 	�� ����� ��������� �����������.</para>
 
       <para>�������� &gui.yes; ���� ������ ���������
@@ -2645,7 +2646,7 @@ use the current settings.
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="install/edit-inetd-conf" format="PNG">
+	    <imagedata fileref="install/edit-inetd-conf" format="PNG"/>
 	  </imageobject>
 	</mediaobject>
       </figure>
@@ -2671,7 +2672,7 @@ use the current settings.
 	��� ���������� <application>OpenSSH</application>, ��� � ���� �������
 	�������� ��������� ���������� ���̣���� ���������� c ����� �������.
 	�� ����� ��������� ����������� � <application>OpenSSH</application>
-	���������� � <xref linkend="openssh">.</para>
+	���������� � <xref linkend="openssh"/>.</para>
     </sect2>
 
 
@@ -2702,7 +2703,7 @@ use the current settings.
 	  �� ��������� ��������� ���������� FTP.  �������������� ������ ����
 	  ����������� ��������� �������� � �������������.  ����� ���������
 	  ���������� � ������������ ��������� �
-	  <xref linkend="security">.</para>
+	  <xref linkend="security"/>.</para>
 
 	<para>����� ��������� ��������� FTP, �������� &gui.yes;, ���������
 	  ������� ���������, � �������
@@ -2729,7 +2730,7 @@ use the current settings.
 
 	<para>� ���� ��������� �������: ���� �� ������ ��������� ���������
 	  FTP ������, �� ��� ����� �������� ������������ (��. <xref
-	  linkend="inetd-services">) ��� ������ FTP �
+	  linkend="inetd-services"/>) ��� ������ FTP �
 	  <filename>/etc/inetd.conf</filename>.  �������� &gui.yes;,
 	  ������� <keycap>Enter</keycap>, ����� ����������� ���������
 	  �����:</para>
@@ -2739,7 +2740,7 @@ use the current settings.
 
 	  <mediaobject>
 	    <imageobject>
-	      <imagedata fileref="install/ftp-anon1" format="PNG">
+	      <imagedata fileref="install/ftp-anon1" format="PNG"/>
 	    </imageobject>
 	  </mediaobject>
 	</figure>
@@ -2818,7 +2819,7 @@ use the current settings.
 
 	  <mediaobject>
 	    <imageobject>
-	      <imagedata fileref="install/ftp-anon2" format="PNG">
+	      <imagedata fileref="install/ftp-anon2" format="PNG"/>
 	    </imageobject>
 	  </mediaobject>
 	</figure>
@@ -2843,7 +2844,7 @@ use the current settings.
       <para>������� �������� ������� (Network File System, NFS) ���������
 	��������� ������������ ����� � ����.  ��������� ����� ���� ��������
 	��� ������, ������, ��� ��� �� � ������.  ���������� �
-	<xref linkend="network-nfs"> �� ����� ��������� �����������.</para>
+	<xref linkend="network-nfs"/> �� ����� ��������� �����������.</para>
 
       <sect3 id="nsf-server-options">
 	<title>������ NFS (NFS Server)</title>
@@ -2877,7 +2878,7 @@ Press [Enter] now to invoke an editor on /etc/exports
 
 	  <mediaobject>
 	    <imageobject>
-	      <imagedata fileref="install/nfs-server-edit" format="PNG">
+	      <imagedata fileref="install/nfs-server-edit" format="PNG"/>
 	    </imageobject>
 	  </mediaobject>
 	</figure>
@@ -2927,7 +2928,7 @@ Press [Enter] now to invoke an editor on /etc/exports
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="install/console-saver1" format="PNG">
+	    <imagedata fileref="install/console-saver1" format="PNG"/>
 	  </imageobject>
 	</mediaobject>
       </figure>
@@ -2942,7 +2943,7 @@ Press [Enter] now to invoke an editor on /etc/exports
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="install/console-saver2" format="PNG">
+	    <imagedata fileref="install/console-saver2" format="PNG"/>
 	  </imageobject>
 	</mediaobject>
       </figure>
@@ -2962,7 +2963,7 @@ Press [Enter] now to invoke an editor on /etc/exports
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="install/console-saver3" format="PNG">
+	    <imagedata fileref="install/console-saver3" format="PNG"/>
 	  </imageobject>
 	</mediaobject>
       </figure>
@@ -2976,7 +2977,7 @@ Press [Enter] now to invoke an editor on /etc/exports
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="install/console-saver4" format="PNG">
+	    <imagedata fileref="install/console-saver4" format="PNG"/>
 	  </imageobject>
 	</mediaobject>
       </figure>
@@ -3020,7 +3021,7 @@ Press [Enter] now to invoke an editor on /etc/exports
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="install/timezone1" format="PNG">
+	    <imagedata fileref="install/timezone1" format="PNG"/>
 	  </imageobject>
 	</mediaobject>
       </figure>
@@ -3033,7 +3034,7 @@ Press [Enter] now to invoke an editor on /etc/exports
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="install/timezone2" format="PNG">
+	    <imagedata fileref="install/timezone2" format="PNG"/>
 	  </imageobject>
 	</mediaobject>
       </figure>
@@ -3046,7 +3047,7 @@ Press [Enter] now to invoke an editor on /etc/exports
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="install/timezone3" format="PNG">
+	    <imagedata fileref="install/timezone3" format="PNG"/>
 	  </imageobject>
 	</mediaobject>
       </figure>
@@ -3114,7 +3115,7 @@ Press [Enter] now to invoke an editor on /etc/exports
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="install/mouse1" format="PNG">
+	    <imagedata fileref="install/mouse1" format="PNG"/>
 	  </imageobject>
 	</mediaobject>
       </figure>
@@ -3128,7 +3129,7 @@ Press [Enter] now to invoke an editor on /etc/exports
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="install/mouse2" format="PNG">
+	    <imagedata fileref="install/mouse2" format="PNG"/>
 	  </imageobject>
 	</mediaobject>
       </figure>
@@ -3144,7 +3145,7 @@ Press [Enter] now to invoke an editor on /etc/exports
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="install/mouse3" format="PNG">
+	    <imagedata fileref="install/mouse3" format="PNG"/>
 	  </imageobject>
 	</mediaobject>
       </figure>
@@ -3158,7 +3159,7 @@ Press [Enter] now to invoke an editor on /etc/exports
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="install/mouse4" format="PNG">
+	    <imagedata fileref="install/mouse4" format="PNG"/>
 	  </imageobject>
 	</mediaobject>
       </figure>
@@ -3172,7 +3173,7 @@ Press [Enter] now to invoke an editor on /etc/exports
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="install/mouse5" format="PNG">
+	    <imagedata fileref="install/mouse5" format="PNG"/>
 	  </imageobject>
 	</mediaobject>
       </figure>
@@ -3187,7 +3188,7 @@ Press [Enter] now to invoke an editor on /etc/exports
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="install/mouse6" format="PNG">
+	    <imagedata fileref="install/mouse6" format="PNG"/>
 	  </imageobject>
 	</mediaobject>
       </figure>
@@ -3231,7 +3232,7 @@ Press [Enter] now to invoke an editor on /etc/exports
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="install/pkg-cat" format="PNG">
+	    <imagedata fileref="install/pkg-cat" format="PNG"/>
 	  </imageobject>
 	</mediaobject>
       </figure>
@@ -3252,7 +3253,7 @@ Press [Enter] now to invoke an editor on /etc/exports
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="install/pkg-sel" format="PNG">
+	    <imagedata fileref="install/pkg-sel" format="PNG"/>
 	  </imageobject>
 	</mediaobject>
       </figure>
@@ -3280,7 +3281,7 @@ Press [Enter] now to invoke an editor on /etc/exports
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="install/pkg-install" format="PNG">
+	    <imagedata fileref="install/pkg-install" format="PNG"/>
 	  </imageobject>
 	</mediaobject>
       </figure>
@@ -3294,7 +3295,7 @@ Press [Enter] now to invoke an editor on /etc/exports
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="install/pkg-confirm" format="PNG">
+	    <imagedata fileref="install/pkg-confirm" format="PNG"/>
 	  </imageobject>
 	</mediaobject>
       </figure>
@@ -3335,7 +3336,7 @@ Press [Enter] now to invoke an editor on /etc/exports
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="install/adduser1" format="PNG">
+	    <imagedata fileref="install/adduser1" format="PNG"/>
 	  </imageobject>
 	</mediaobject>
       </figure>
@@ -3348,7 +3349,7 @@ Press [Enter] now to invoke an editor on /etc/exports
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="install/adduser2" format="PNG">
+	    <imagedata fileref="install/adduser2" format="PNG"/>
 	  </imageobject>
 	</mediaobject>
       </figure>
@@ -3450,7 +3451,7 @@ Press [Enter] now to invoke an editor on /etc/exports
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="install/adduser3" format="PNG">
+	    <imagedata fileref="install/adduser3" format="PNG"/>
 	  </imageobject>
 	</mediaobject>
       </figure>
@@ -3482,7 +3483,7 @@ Press [Enter] now to invoke an editor on /etc/exports
       <para>���������� ��� ���� ��������� ������ ������.  �������
 	���������, ��� ������ ���� ����������� �������������� ������,
 	���� �� ��� ��������.  �������� ��������, ��� �� ���������� ������,
-	�� ��������� �� ����� �� ��������.<para>
+	�� ��������� �� ����� �� ��������.</para>
 
       <screen>New password:
 Retype new password :</screen>
@@ -3512,7 +3513,7 @@ Retype new password :</screen>
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="install/mainexit" format="PNG">
+	    <imagedata fileref="install/mainexit" format="PNG"/>
 	  </imageobject>
 	</mediaobject>
       </figure>
@@ -3541,7 +3542,7 @@ Retype new password :</screen>
 
       <para>������� ������ ������������, �������� �� ����������� �� �������,
 	������� ����� ���������. �� ������������� �� �������� ��������
-	���������� � <xref linkend="freebsdboot">.</para>
+	���������� � <xref linkend="freebsdboot"/>.</para>
     </sect2>
 
     <sect2 id="network-services">
@@ -3589,13 +3590,13 @@ Retype new password :</screen>
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="install/net-config-menu1" format="PNG">
+	    <imagedata fileref="install/net-config-menu1" format="PNG"/>
 	  </imageobject>
 	</mediaobject>
       </figure>
 
       <para>������ �����, <guimenuitem>Interfaces</guimenuitem> (����������),
-	���� ����� ������� � <xref linkend="inst-network-dev">,
+	���� ����� ������� � <xref linkend="inst-network-dev"/>,
 	��� ����� ����� ���������������.</para>
 
       <para>����� ����� <guimenuitem>AMD</guimenuitem> ������� ���������
@@ -3659,7 +3660,7 @@ Retype new password :</screen>
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="install/mta-main" format="PNG">
+	    <imagedata fileref="install/mta-main" format="PNG"/>
 	  </imageobject>
 	</mediaobject>
       </figure>
@@ -3693,7 +3694,7 @@ Retype new password :</screen>
 	�������� <acronym>NFS</acronym>.  ���� ��� ��������
 	������� ���������, ����� ����� �� ��������.
 	<acronym>NFS</acronym> ����� ����������� �������������� ��������� �����;
-	����������� � <xref linkend="network-nfs"> �� �����
+	����������� � <xref linkend="network-nfs"/> �� �����
 	��������� ����������� � ��������� ������� � �������.</para>
 
       <para>���� ��������� ����� <guimenuitem>NFS</guimenuitem> ������,
@@ -3713,7 +3714,7 @@ Retype new password :</screen>
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="install/ntp-config" format="PNG">
+	    <imagedata fileref="install/ntp-config" format="PNG"/>
 	  </imageobject>
 	</mediaobject>
       </figure>
@@ -3739,7 +3740,7 @@ Retype new password :</screen>
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="install/net-config-menu2" format="PNG">
+	    <imagedata fileref="install/net-config-menu2" format="PNG"/>
 	  </imageobject>
 	</mediaobject>
       </figure>
@@ -4144,7 +4145,7 @@ Please press any key to reboot.</screen>
 	      �������, ������� ���������� �������� ������
 	      <literal>hint.acpi.0.disabled="1"</literal> � ����
 	      <filename>/boot/loader.conf</filename>.  ���������� �
-	      ���������� ��������� � <xref linkend="boot-synopsis">.</para>
+	      ���������� ��������� � <xref linkend="boot-synopsis"/>.</para>
 	  </answer>
 	</qandaentry>
 
@@ -4285,12 +4286,12 @@ Please press any key to reboot.</screen>
 	</qandaentry>
 
 	<qandaentry>
-	  <indexterm>
-	    <primary>color</primary>
-	    <secondary>contrast</secondary>
-	  </indexterm>
-
 	  <question>
+	    <indexterm>
+	      <primary>color</primary>
+	      <secondary>contrast</secondary>
+	    </indexterm>
+
 	    <para>����� <application>sysinstall</application> �������
 	      � ��������� X11, �� ������ ����� �� ������ ����� ���� �����������
 	      �� ��������.  ���� �� ������ ���������� ������ �������� ���
@@ -4350,9 +4351,9 @@ Please press any key to reboot.</screen>
 	�������.  ���������������� ������� � ����� ������ ����� ������
 	���������, ������� ������ �������� � ����������� ��� �������.
 	����� ������� ���, �������� ��������������� USB-����������, ���
-	������� � <xref linkend="install-boot-media">, ��� ��������
+	������� � <xref linkend="install-boot-media"/>, ��� ��������
 	���������� ������������ ����� ISO (������� � <xref
-	linkend="install-cdrom">).</para>
+	linkend="install-cdrom"/>).</para>
 
       <para>����� �������������� ��������� ��������� ��������� ��� ��������
 	� ����������������
@@ -4407,7 +4408,7 @@ Please press any key to reboot.</screen>
 
 	  <para>���� �� ����������� �������� � ������ ��� �����������
 	    ������������� CD ����� (����������� �������� �������� �������
-	    � <xref linkend="install-cdrom">), &os; ���������� � ����������
+	    � <xref linkend="install-cdrom"/>), &os; ���������� � ����������
 	    ����� ���������.  ������, ��� ����������, ����� &os; �����������
 	    �� ���������������� �������.  ��� ����� �������� ���������
 	    ISO ����� �������, �� ��� ������ �� ���� CD-R.</para>
@@ -4618,7 +4619,7 @@ Please press any key to reboot.</screen>
 		  <entry>���� ����� CD �������� ������ ���������
 		    �������������, ������� ������ ����������� �� ����.
 		    ��� &os;&nbsp;8.<replaceable>X</replaceable> ��������
-		    ������ �� �����������.<entry>
+		    ������ �� �����������.</entry>
 		</row>
 
 		<row>
@@ -4665,7 +4666,7 @@ Please press any key to reboot.</screen>
 	    &os;, � �� ������� ����������
 	    ������������ ��������� ��������� �������������� ���������
 	    ������� ������/������� (��������
-	    <xref linkend="ports">) ���� ����������.</para>
+	    <xref linkend="ports"/>) ���� ����������.</para>
 
 	  <para>����������� ����� <literal>dvd1</literal>, ���� �� ������
 	    ���������� ����� &os; � ��������
@@ -4681,9 +4682,9 @@ Please press any key to reboot.</screen>
 
 	  <para>����� ��� ����� �������� ������ CD �� �����.  ���� �� �������
 	    ��� �� ������ ������� FreeBSD, ���������� �
-	    <xref linkend="creating-cds"> �� ����� ��������� ����������� (�
-	    ���������, <xref linkend="burncd"> �
-	    <xref linkend="cdrecord">).</para>
+	    <xref linkend="creating-cds"/> �� ����� ��������� ����������� (�
+	    ���������, <xref linkend="burncd"/> �
+	    <xref linkend="cdrecord"/>).</para>
 
 	  <para>���� �� ������� ��� � ������ �������, �����������
 	    ������������ �� ������� ��� ���������� CD-����������, �������
diff --git a/ru_RU.KOI8-R/books/handbook/introduction/chapter.sgml b/ru_RU.KOI8-R/books/handbook/introduction/chapter.sgml
index 493be3c4c8..63a05622e1 100644
--- a/ru_RU.KOI8-R/books/handbook/introduction/chapter.sgml
+++ b/ru_RU.KOI8-R/books/handbook/introduction/chapter.sgml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -84,8 +85,9 @@
 	���:</para>
 
       <itemizedlist>
-	<indexterm><primary>����������� ���������������</primary></indexterm>
 	<listitem>
+	  <indexterm><primary>����������� ���������������</primary></indexterm>
+
 	  <para><emphasis>����������� ���������������</emphasis> �
 	    ������������ �������������� �����������, ����������� ������ �
 	    ����������� ������������ ������� ���������� �����
@@ -93,8 +95,9 @@
 	  </para>
 	</listitem>
 
-	<indexterm><primary>��������������������� ���������</primary></indexterm>
 	<listitem>
+	  <indexterm><primary>��������������������� ���������</primary></indexterm>
+
 	  <para><emphasis>��������������������� ���������</emphasis>, �������
 	    ��������� ��������� ����� ������������ FreeBSD ��������� ���
 	    ��������� �����.  ��� ������, ��������, ��� ��������� ���������,
@@ -104,8 +107,9 @@
 	    �������, ������� ����������� ��������� ������� �� ����������.</para>
 	</listitem>
 
-	<indexterm><primary>TCP/IP-����</primary></indexterm>
 	<listitem>
+	  <indexterm><primary>TCP/IP-����</primary></indexterm>
+
 	  <para>������ <emphasis>TCP/IP-����</emphasis> � ����������
 	    ������������ ����������, ����� ��� SLIP, PPP, NFS, DHCP � NIS.
 	    ��� ��������, ��� FreeBSD ����� ����� �����������������
@@ -118,8 +122,9 @@
 	  </para>
 	</listitem>
 
-	<indexterm><primary>������ ������</primary></indexterm>
 	<listitem>
+	  <indexterm><primary>������ ������</primary></indexterm>
+
 	  <para><emphasis>������ ������</emphasis> �����������, ���
 	    ���������� (��� ������������) �� ������ ������ �����������
 	    ���� �����.  ��������� ������ � ���������� ������ ����������
@@ -132,18 +137,19 @@
 	    &ultrasparc;) � ���������� ����������� ������ �����.</para>
 	</listitem>
 
-	<indexterm>
-	<primary>X Window System</primary>
-	<seealso>XFree86</seealso>
-	</indexterm>
-
 	<listitem>
+	  <indexterm>
+	    <primary>X Window System</primary>
+	    <seealso>XFree86</seealso>
+	  </indexterm>
+
 	  <para>������������ �������� <emphasis>X Window System</emphasis>
 	    (X11R6) ������������� ����������� ��������� ������������ (GUI) ���
 	    ����������� VGA ���� � ���������, � ������������ � �������
 	    ��������� ��������.</para>
 	</listitem>
 
+	<listitem>
 	<indexterm>
 	  <primary>�������� �������������</primary>
 	  <secondary>Linux</secondary>
@@ -164,7 +170,6 @@
 	  <primary>�������� �������������</primary>
 	  <secondary>NetBSD</secondary>
 	</indexterm>
-	<listitem>
 	  <para><emphasis>�������� �������������</emphasis> � ������������
 	    ��������, ��������� ��� Linux, SCO, SVR4, BSDI � NetBSD.</para>
 	</listitem>
@@ -186,8 +191,9 @@
 	    ������� ������).</para>
 	</listitem>
 
-	<indexterm><primary>����������� ������</primary></indexterm>
 	<listitem>
+	  <indexterm><primary>����������� ������</primary></indexterm>
+
 	  <para><emphasis>����������� ������</emphasis> � ����������
 	    ������ �������������� ������� �� ���������� �
 	    <quote>����������� ����������� ������ � ��������� ����</quote>
@@ -196,14 +202,16 @@
 	    ��������� ��������������� ��� ��������� �������������.</para>
 	</listitem>
 
-	<indexterm>
-	  <primary>������������ ������������������� (SMP)</primary>
-	</indexterm>
 	<listitem>
+	  <indexterm>
+	    <primary>������������ ������������������� (SMP)</primary>
+	  </indexterm>
+
 	  <para>��������� <emphasis>������������ �������������������</emphasis> (SMP) ��� ����� �
 	    ����������� ������������.</para>
 	</listitem>
 
+	<listitem>
 	<indexterm>
 	  <primary>�����������</primary>
 	  <secondary>C</secondary>
@@ -216,7 +224,6 @@
 	  <primary>�����������</primary>
 	  <secondary>FORTRAN</secondary>
 	</indexterm>
-	<listitem>
 	  <para>������ �������� ������������ ��� ������������:
 	    <emphasis>C</emphasis>, <emphasis>C++</emphasis> �
 	    <emphasis>Fortran</emphasis>.
@@ -224,8 +231,9 @@
 	    � ���������� ����� �������� �� ��������� ������ � �������.</para>
 	</listitem>
 
-	<indexterm><primary>�������� �����</primary></indexterm>
 	<listitem>
+	  <indexterm><primary>�������� �����</primary></indexterm>
+
 	  <para>����������� <emphasis>�������� �������</emphasis> ���� �������
 	    ��������, ��� �� ������ ������������ �������� ��� ������������
 	    ������.  ����� �������� �������� ������� � ������� �� �������
@@ -284,24 +292,29 @@
 	    ��������-����������, ����� ���:</para>
 
 	  <itemizedlist>
-	    <indexterm><primary>FTP-�������</primary></indexterm>
 	    <listitem>
+	      <indexterm><primary>FTP-�������</primary></indexterm>
+
 	      <para>FTP-�������</para>
 	    </listitem>
 
-	    <indexterm><primary>web-�������</primary></indexterm>
 	    <listitem>
+	      <indexterm><primary>web-�������</primary></indexterm>
+
 	      <para>������� World Wide Web (��� �����������, ��� � ����ݣ����
 		[SSL])</para>
 	    </listitem>
 
-	    <indexterm><primary>���������� �����</primary></indexterm>
-	    <indexterm><primary>NAT</primary></indexterm>
 	    <listitem>
+	      <indexterm><primary>���������� �����</primary></indexterm>
+
+	      <indexterm><primary>NAT</primary></indexterm>
+
 	      <para>���������� ������ (firewalls) � ����� NAT
 		(<quote>IP-�����������</quote>)</para>
 	    </listitem>
 
+	    <listitem>
 	    <indexterm>
 	      <primary>����������� �����</primary>
 	      <see>email</see>
@@ -309,12 +322,12 @@
 	    <indexterm>
 	      <primary>email</primary>
 	    </indexterm>
-	    <listitem>
 	      <para>������� ����������� �����</para>
 	    </listitem>
 
-	    <indexterm><primary>USENET</primary></indexterm>
 	    <listitem>
+	      <indexterm><primary>USENET</primary></indexterm>
+
 	      <para>������� �������� ��� ������������� ����� USENET</para>
 	    </listitem>
 
@@ -350,9 +363,11 @@
 	    ��� ����� ����������� � �������� �������.</para>
 	</listitem>
 
-	<indexterm><primary>�������������</primary></indexterm>
-	<indexterm><primary>DNS-������</primary></indexterm>
 	<listitem>
+	  <indexterm><primary>�������������</primary></indexterm>
+
+	  <indexterm><primary>DNS-������</primary></indexterm>
+
 	  <para><emphasis>������ � ����:</emphasis> ����� ����� �������������?
 	    ������ �ͣ� (DNS)?  ���������� �����, ���������� �� �������������
 	    ����� � ���� ����?  FreeBSD ����� ���������� ����� ��������� �
@@ -360,6 +375,7 @@
 	    � ������������ ���������� �������.</para>
 	</listitem>
 
+	<listitem>
      	<indexterm>
 	  <primary>X Window System</primary>
 	  <secondary>XFree86</secondary>
@@ -368,7 +384,6 @@
 	  <primary>X Window System</primary>
 	  <secondary>Accelerated-X</secondary>
 	</indexterm>
-	<listitem>
 	  <para><emphasis>������� ������� X Window:</emphasis> FreeBSD ����������
 	    �����, ���� ��� ����� ��������� X-��������, ������������
 	    �������� ���������������� ������ X11.  � ������� ��
@@ -379,8 +394,9 @@
 	    ������� � ����� � �����������������.</para>
 	</listitem>
 
-	<indexterm><primary>����� ������� ���������� GNU</primary></indexterm>
 	<listitem>
+	  <indexterm><primary>����� ������� ���������� GNU</primary></indexterm>
+
 	  <para><emphasis>���������� ������������ �����������:</emphasis> �������
 	    �������� FreeBSD ���������������� � ������ ������� ������������ ���
 	    ����������, ������� ���������� ���������� GNU C/C++ �
@@ -390,7 +406,7 @@
 
       <para>FreeBSD �������� ��� � �������� �������, ��� � � �������� ����
 	�� CDROM, DVD � ����� ��������� ������ � FTP. ��������� � ���,
-	��� �������� FreeBSD, ��. � <xref linkend="mirrors">.</para>
+	��� �������� FreeBSD, ��. � <xref linkend="mirrors"/>.</para>
     </sect2>
 
     <sect2>
@@ -405,65 +421,76 @@
 	������ � ��������, �������:</para>
 
       <itemizedlist>
-	<indexterm><primary>Yahoo!</primary></indexterm>
 	<listitem>
+	  <indexterm><primary>Yahoo!</primary></indexterm>
+
 	  <para><ulink url="http://www.yahoo.com/">Yahoo!</ulink></para>
 	</listitem>
 
-	<indexterm><primary>Apache</primary></indexterm>
 	<listitem>
+	  <indexterm><primary>Apache</primary></indexterm>
+
 	  <para><ulink url="http://www.apache.org/">Apache</ulink></para>
 	</listitem>
 
-	<indexterm><primary>Blue Mountain Arts</primary></indexterm>
 	<listitem>
+	  <indexterm><primary>Blue Mountain Arts</primary></indexterm>
+
 	  <para><ulink url="http://www.bluemountain.com/">Blue Mountain
 	    Arts</ulink></para>
 	</listitem>
 
-	<indexterm><primary>Pair Networks</primary></indexterm>
 	<listitem>
+	  <indexterm><primary>Pair Networks</primary></indexterm>
+
 	  <para><ulink url="http://www.pair.com/">Pair
 	    Networks</ulink></para>
 	</listitem>
 
-	<indexterm><primary>Sony Japan</primary></indexterm>
 	<listitem>
+	  <indexterm><primary>Sony Japan</primary></indexterm>
+
 	  <para><ulink url="http://www.sony.co.jp/">Sony
 	    Japan</ulink></para>
 	</listitem>
 
-	<indexterm><primary>Netcraft</primary></indexterm>
 	<listitem>
+	  <indexterm><primary>Netcraft</primary></indexterm>
+
 	  <para><ulink url="http://www.netcraft.com/">Netcraft</ulink>
 	    </para>
 	</listitem>
 
-	<indexterm><primary>Weathernews</primary></indexterm>
 	<listitem>
+	  <indexterm><primary>Weathernews</primary></indexterm>
+
 	  <para><ulink url="http://www.wni.com/">Weathernews</ulink>
 	</para></listitem>
 
-	<indexterm><primary>Supervalu</primary></indexterm>
 	<listitem>
+	  <indexterm><primary>Supervalu</primary></indexterm>
+
 	  <para><ulink
 	    url="http://www.supervalu.com/">Supervalu</ulink></para>
 	</listitem>
 
-	<indexterm><primary>TELEHOUSE America</primary></indexterm>
 	<listitem>
+	  <indexterm><primary>TELEHOUSE America</primary></indexterm>
+
 	  <para><ulink url="http://www.telehouse.com/">TELEHOUSE
 	    America</ulink></para>
 	</listitem>
 
-	<indexterm><primary>Sophos Anti-Virus</primary></indexterm>
 	<listitem>
+	  <indexterm><primary>Sophos Anti-Virus</primary></indexterm>
+
 	  <para><ulink url="http://www.sophos.com/">Sophos
 	    Anti-Virus</ulink></para>
 	</listitem>
 
-	<indexterm><primary>JMA Wired</primary></indexterm>
 	<listitem>
+	  <indexterm><primary>JMA Wired</primary></indexterm>
+
 	  <para><ulink
 	    url="http://www.jmawired.com/">JMA Wired</ulink></para>
 	</listitem>
@@ -731,8 +758,9 @@
       <variablelist>
 	<varlistentry>
 	  <term>CVS-�����������<anchor
-	    id="development-cvs-repository"></term>
+	    id="development-cvs-repository"/></term>
 
+	  <listitem>
 	  <indexterm>
 	    <primary>CVS</primary>
 	    <secondary>�����������</secondary>
@@ -741,7 +769,6 @@
 	    <primary>Concurrent Versions System</primary>
 	    <see>CVS</see>
 	  </indexterm>
-	  <listitem>
 	    <para>������� ������ �������� ������� FreeBSD ��������������
 	      � �������
 	      <ulink url="http://ximbiot.com/cvs/wiki/">CVS</ulink>
@@ -763,10 +790,11 @@
 
 	<varlistentry>
 	  <term>������ �����������<anchor
-	    id="development-committers"></term>
+	    id="development-committers"/></term>
 
-	  <indexterm><primary>����������</primary></indexterm>
 	  <listitem>
+	    <indexterm><primary>����������</primary></indexterm>
+
 	    <para><firstterm>����������</firstterm> &mdash;
 	      ��� ����, ������� ����� ������ �� <emphasis>������</emphasis>
 	      � �������� ������ CVS, � ����� ����� ������� ���������
@@ -783,10 +811,11 @@
 	</varlistentry>
 
 	<varlistentry>
-	  <term>Core-������ FreeBSD <anchor id="development-core"></term>
+	  <term>Core-������ FreeBSD <anchor id="development-core"/></term>
 
-	  <indexterm><primary>core team</primary></indexterm>
 	  <listitem>
+	    <indexterm><primary>core team</primary></indexterm>
+
 	    <para><firstterm>Core-������ FreeBSD</firstterm>
 	      ����� �� ���� ������������ ������ ����������, ���� ��
 	      ������ FreeBSD ��� ���������.  ������� ������ Core-������ &mdash;
@@ -824,15 +853,16 @@
 	<varlistentry>
 	  <term>������� ������</term>
 
-	  <indexterm><primary>���������</primary></indexterm>
 	  <listitem>
+	    <indexterm><primary>���������</primary></indexterm>
+
 	    <para>���������, �� ���������� �� ����� ��������, � ����������
 	      ������� ������������� �������� ���� ������������, �������
 	      ������������� ����������� � ����������� ������ ��� �� �����
 	      ���������� ������.  �������� ���� ����������� �
 	      �� ���������������� ���������� &mdash; ��� �������� ��
 	      &a.hackers;, ��� ����������� �������� ����.
-	      ���������� � <xref linkend="eresources"> �� ����������
+	      ���������� � <xref linkend="eresources"/> �� ����������
 	      ����������� � ��������� ������� �������� FreeBSD.</para>
 
 	    <para><citetitle><ulink
@@ -930,7 +960,7 @@
 	<quote>�����</quote>, ������� ����� ���� ���������� � �������
 	������� ������� (<command>pkg_add</command>) ����, ��� ������������
 	�� ������������� ����� �� �������� �������.  ��������������
-	���������� � ������� � ������ ��������� � <xref linkend="ports">.</para>
+	���������� � ������� � ������ ��������� � <xref linkend="ports"/>.</para>
 
       <para>��������� �������������� ����������, ������� ����� �����������
 	� �������� ��������� � ������������� FreeBSD,
diff --git a/ru_RU.KOI8-R/books/handbook/kernelconfig/chapter.sgml b/ru_RU.KOI8-R/books/handbook/kernelconfig/chapter.sgml
index 3b923dd3f3..61f24fb7b5 100644
--- a/ru_RU.KOI8-R/books/handbook/kernelconfig/chapter.sgml
+++ b/ru_RU.KOI8-R/books/handbook/kernelconfig/chapter.sgml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -510,7 +511,7 @@ following line in &man.loader.conf.5;:
       ������� �� �������� <literal>#</literal> �������� ������������ �
       ������������.  ��������� ������� ��������� ������ ��������, �
       �������, � ������� ��� ���������� � <filename>GENERIC</filename>.
-      <anchor id="kernelconfig-options"> �� ������ ������� ������������-���������
+      <anchor id="kernelconfig-options"/> �� ������ ������� ������������-���������
       ���������� � ��������� ���������� � ����� <filename>NOTES</filename>
       � ��� �� ��������, ��� � <filename>GENERIC</filename>.  ������������
       ����������� ��������� ��������� �
@@ -677,7 +678,7 @@ cpu          I686_CPU</programlisting>
     <para>���� �������� �������� � ����
       ��������� ������� ���������� �������� (ACL).  ������������ ��
       ������������� ����������� ��������� � <acronym>UFS2</acronym>, ���������
-      �������� �� ������� ����� � <xref linkend="fs-acl">.
+      �������� �� ������� ����� � <xref linkend="fs-acl"/>.
       <acronym>ACL</acronym> �������� �� ��������� � �� ������ ����������� �
       ������, ���� ��� ����� �������������� �� �������� �������, ��� ��� ���
       ������ ������ ���������� �������� � ������� ��, ��� �������� �����,
@@ -923,7 +924,7 @@ device          ata</programlisting>
     <para>��� ������ ���������� ������ � <literal>device ata</literal>
       ��� ��������� ������ ATA RAID.</para>
 
-    <programlisting><anchor id="kernelconfig-atapi">
+    <programlisting><anchor id="kernelconfig-atapi"/>
 device          atapicd                 # ATAPI CDROM drives</programlisting>
 
     <para>��������� �������� ATAPI CDROM.  ������������ ������ �
@@ -1311,7 +1312,7 @@ device   loop          # Network loopback</programlisting>
       ������� <link linkend="userppp">PPP</link> ���� ����� �� ����������
       �����������.</para>
 
-    <programlisting><anchor id="kernelconfig-ptys">
+    <programlisting><anchor id="kernelconfig-ptys"/>
 device   pty           # Pseudo-ttys (telnet etc)</programlisting>
 
     <para><quote>������-��������</quote> ��� ������������� ���� ��� �����.
@@ -1515,7 +1516,7 @@ device          fwe           # Ethernet over FireWire (non-standard!)</programl
 
       <varlistentry>
 	<term>���� �� �����������:<anchor
-	  id="kernelconfig-noboot"></term>
+	  id="kernelconfig-noboot"/></term>
 
 	<listitem>
 	  <para>���� ���� ����� ���� �� ����������� ��� ��� �� ������� ����������
diff --git a/ru_RU.KOI8-R/books/handbook/l10n/chapter.sgml b/ru_RU.KOI8-R/books/handbook/l10n/chapter.sgml
index 131160cd30..c81f6555ee 100644
--- a/ru_RU.KOI8-R/books/handbook/l10n/chapter.sgml
+++ b/ru_RU.KOI8-R/books/handbook/l10n/chapter.sgml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -69,7 +70,7 @@
 
     <itemizedlist>
       <listitem><para>����� ��� ���������� �������������� ���������� ���������
-      ������������� (<xref linkend="ports">).</para></listitem>
+      ������������� (<xref linkend="ports"/>).</para></listitem>
     </itemizedlist>
   </sect1>
 
@@ -244,14 +245,16 @@
 	���������������� ������:</para>
 
       <itemizedlist>
-	<indexterm><primary>POSIX</primary></indexterm>
 	<listitem>
+	  <indexterm><primary>POSIX</primary></indexterm>
+
 	  <para><envar>LANG</envar> ��� ��������� ������� &posix;
 	    &man.setlocale.3;</para>
 	</listitem>
 
-	<indexterm><primary>MIME</primary></indexterm>
 	<listitem>
+	  <indexterm><primary>MIME</primary></indexterm>
+
 	  <para><envar>MM_CHARSET</envar>����� �������� MIME ���
 	    ����������</para>
 	</listitem>
@@ -352,7 +355,7 @@ me:\
 	      <filename>/etc/login.conf</filename> ����� ��������������
 	      ��������.</para>
 
-	    <bridgehead renderas=sect4>��������� ������ ������ � �������
+	    <bridgehead renderas="sect4">��������� ������ ������ � �������
 	      &man.vipw.8;</bridgehead>
 
 	    <indexterm>
@@ -364,7 +367,7 @@ me:\
 
 	    <programlisting>user:password:1111:11:<replaceable>language</replaceable>:0:0:User Name:/home/user:/bin/sh</programlisting>
 
-	    <bridgehead renderas=sect4>��������� ������ ������ � �������
+	    <bridgehead renderas="sect4">��������� ������ ������ � �������
 	      &man.adduser.8;</bridgehead>
 
 	    <indexterm>
@@ -399,7 +402,7 @@ me:\
 	      </listitem>
 	    </itemizedlist>
 
-	    <bridgehead renderas=sect4>��������� ������ ������ � �������
+	    <bridgehead renderas="sect4">��������� ������ ������ � �������
 	      &man.pw.8;</bridgehead>
 	    <indexterm><primary><command>pw</command></primary></indexterm>
 	    <para>���� ��� ���������� ����� ������������� �� �����������
diff --git a/ru_RU.KOI8-R/books/handbook/linuxemu/chapter.sgml b/ru_RU.KOI8-R/books/handbook/linuxemu/chapter.sgml
index 5d7a1c6629..a19e6adc99 100644
--- a/ru_RU.KOI8-R/books/handbook/linuxemu/chapter.sgml
+++ b/ru_RU.KOI8-R/books/handbook/linuxemu/chapter.sgml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -118,7 +119,7 @@
       <listitem>
 	<para>������ ��� ������������� ��������������
 	  ����������� ����������� ��������� �������������
-	  (<xref linkend="ports">).</para>
+	  (<xref linkend="ports"/>).</para>
       </listitem>
     </itemizedlist>
 
@@ -160,7 +161,7 @@ Id Refs Address    Size     Name
       KLD, �� ������ ���������� �������� ��������� Linux � ����,
       ������� ����� <literal>options COMPAT_LINUX</literal> � ����
       ������������ ����.  ����� �������� � ���������� ����� ����,
-      ������ �������� � <xref linkend="kernelconfig">.</para>
+      ������ �������� � <xref linkend="kernelconfig"/>.</para>
 
     <sect2>
       <title>��������� ����������� ��������� Linux</title>
@@ -719,7 +720,7 @@ FEATURE Maple maplelmg 2000.0831 permanent 1 XXXXXXXXXXXX \
       <application>&matlab; ������ 6.5</application> �� �������
       &os;.  ��� ��������� �������� ������ ���������, �� �����������
       <application>&java.virtual.machine;</application> (��.
-      <xref linkend="matlab-jre">).</para>
+      <xref linkend="matlab-jre"/>).</para>
 
     <para>Linux-������ <application>&matlab;</application> ����� ����������
       ��������������� � �������� The MathWorks �� ����� <ulink
@@ -1057,8 +1058,8 @@ options SYSVMSG # 
 
 	<informaltable frame="none" pgwide="1">
 	  <tgroup cols="2">
-	  <colspec colwidth="1*">
-	  <colspec colwidth="2*">
+	  <colspec colwidth="1*"/>
+	  <colspec colwidth="2*"/>
 	    <thead>
 	      <row>
 		<entry>����������</entry>
@@ -1294,7 +1295,7 @@ export PATH</programlisting>
 	<title>&sap.r3; 4.6B, &oracle; 8.0.5</title>
 
       <informaltable frame="none" pgwide="1">
-	<tgroup cols=3>
+	<tgroup cols="3">
 	  <thead>
 	    <row>
 	      <entry>���</entry> <entry>�����</entry> <entry>��������</entry>
@@ -1355,7 +1356,7 @@ export PATH</programlisting>
 	<title>&sap.r3; 4.6C SR2, &oracle; 8.1.7</title>
 
 	<informaltable frame="none" pgwide="1">
-	  <tgroup cols=3>
+	  <tgroup cols="3">
 	    <thead>
 	      <row>
 		<entry>���</entry> <entry>�����</entry> <entry>��������</entry>
@@ -1611,7 +1612,7 @@ export PATH</programlisting>
 
       <para>������� ���� ���������� FreeBSD. ���� ��������� �������� �������
 	���; ���������
-	��. <xref linkend="install-diff-media">.</para>
+	��. <xref linkend="install-diff-media"/>.</para>
 
       <sect3 id="disk-layout">
 	<title>���������� ������</title>
@@ -1731,7 +1732,7 @@ export PATH</programlisting>
 
 	<para>����� ���������� Linux ����������, ���� �� ������ ����������
 	  <application>&oracle;</application> � �� FreeBSD, ��� ������� �
-	  <xref linkend="linuxemu-oracle">:</para>
+	  <xref linkend="linuxemu-oracle"/>:</para>
 
 	<screen>&prompt.root; <userinput>cd /usr/ports/devel/linux_devtools</userinput>
 &prompt.root; <userinput>make install distclean</userinput></screen>
diff --git a/ru_RU.KOI8-R/books/handbook/mac/chapter.sgml b/ru_RU.KOI8-R/books/handbook/mac/chapter.sgml
index c145f74fcd..67e7b2feb8 100644
--- a/ru_RU.KOI8-R/books/handbook/mac/chapter.sgml
+++ b/ru_RU.KOI8-R/books/handbook/mac/chapter.sgml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -96,18 +97,18 @@
     <itemizedlist>
       <listitem>
 	<para>��������� ����� &unix; � &os;
-	  (<xref linkend="basics">).</para>
+	  (<xref linkend="basics"/>).</para>
       </listitem>
 
       <listitem>
 	<para>������������ � ��������
 	  ���������/�������������� ����
-	  (<xref linkend="kernelconfig">).</para>
+	  (<xref linkend="kernelconfig"/>).</para>
       </listitem>
 
       <listitem>
 	<para>����� ��������� ������� � ������������ � ��� ���
-	  ��������� � &os; (<xref linkend="security">).</para>
+	  ��������� � &os; (<xref linkend="security"/>).</para>
       </listitem>
     </itemizedlist>
 
@@ -655,7 +656,7 @@ test: biba/high</screen>
 	<para>��������� ������������ ������������ � ���������� ���
 	  ��������� ����� <option>multilabel</option> �� �������� ������.
 	  � ������ ������ ���������� �
-	  <xref linkend="mac-troubleshoot">.</para>
+	  <xref linkend="mac-troubleshoot"/>.</para>
       </note>
     </sect2>
 
diff --git a/ru_RU.KOI8-R/books/handbook/mail/chapter.sgml b/ru_RU.KOI8-R/books/handbook/mail/chapter.sgml
index 732acc0454..e3df068d7a 100644
--- a/ru_RU.KOI8-R/books/handbook/mail/chapter.sgml
+++ b/ru_RU.KOI8-R/books/handbook/mail/chapter.sgml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
 <!--
      The FreeBSD Documentation Project
 
@@ -50,7 +51,7 @@
       � ������� �������� � ��������� ����� � &os;; ������, ��� �� �����������
       ���������� � ���������� � ����� �� ����� ����� ������ ����������.
       ����� �������� ��� ���� ����������� �� ��������� ���������� ����, ������
-      ������� �������� � <xref linkend="bibliography">.</para>
+      ������� �������� � <xref linkend="bibliography"/>.</para>
 
     <para>����� ��������� ���� ����� �� �������:</para>
 
@@ -128,17 +129,17 @@
     <itemizedlist>
       <listitem>
 	<para>��������� ��������� ������� �����������
-	  (<xref linkend="advanced-networking">).</para>
+	  (<xref linkend="advanced-networking"/>).</para>
       </listitem>
 
       <listitem>
 	<para>��������� ��������� DNS ��� ��������� �������
-	  (<xref linkend="network-servers">).</para>
+	  (<xref linkend="network-servers"/>).</para>
       </listitem>
 
       <listitem>
 	<para>����� ��� ������������� �������������� ����������� �����������
-	  ��������� ������������� (<xref linkend="ports">).</para>
+	  ��������� ������������� (<xref linkend="ports"/>).</para>
       </listitem>
     </itemizedlist>
 
@@ -374,8 +375,8 @@ FreeBSD.org mail is handled (pri=10) by mx1.FreeBSD.org</screen>
 	    ��� ���� �� ������ �������� �������� ���������� �� ����
 	    ����������, ����������� ������������ �������������� ������ �����
 	    &man.ssh.1; ��� ��� ������ SSL.  �������������� ���������� �������
-	    � <xref linkend="security-ssh-tunneling">, � SSL &mdash;
-	    � <xref linkend="openssl">.</para>
+	    � <xref linkend="security-ssh-tunneling"/>, � SSL &mdash;
+	    � <xref linkend="openssl"/>.</para>
 	</warning>
       </sect3>
 
@@ -909,12 +910,12 @@ purgestat	/usr/local/supermailer/bin/purgestat-compat</programlisting>
 	</answer>
       </qandaentry>
 
-      <indexterm>
-	<primary>MX record</primary>
-      </indexterm>
-
       <qandaentry>
 	<question>
+	  <indexterm>
+	    <primary>MX record</primary>
+	  </indexterm>
+
 	<para><application>sendmail</application> ������ ������
 	  <errorname>mail loops back to myself</errorname></para>
 	</question>
@@ -947,9 +948,10 @@ FETURE(use_cw_file)) 
 	</answer>
       </qandaentry>
 
-      <indexterm><primary>PPP</primary></indexterm>
       <qandaentry>
 	<question>
+	  <indexterm><primary>PPP</primary></indexterm>
+
 	<para>��� ������������ ������ ��������� ������� ��� ������������� ����������
 	  � ��������?</para>
 	</question>
@@ -972,7 +974,7 @@ FETURE(use_cw_file)) 
 	  ��������, ����� ����� �������� <hostid
 	  role="domainname">example.com</hostid>, � ��������� ��������
 	  �������� <hostid role="domainname">example.net</hostid>
-	  ��� ����������� ���������� MX �������:
+	  ��� ����������� ���������� MX �������:</para>
 
 	<programlisting>example.com.          MX        10      example.com.
                       MX        20      example.net.</programlisting>
@@ -1491,7 +1493,7 @@ hostname=_HOSTNAME_</programlisting>
 
     <para>���������, ��� �� ��������� <application>sendmail</application>,
       ������� ������ ��������� �����.  �� ������������� ����������� �
-      <xref linkend="mail-disable-sendmail">.</para>
+      <xref linkend="mail-disable-sendmail"/>.</para>
 
     <para>� ������ <filename role="package">mail/ssmtp</filename> �������
       � ������ ���������.  ���������� � ����� � �������� ���������
@@ -1786,7 +1788,7 @@ define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl</programlis
 	����� ����� ���� ��������� � ��������� ���� <filename>mbox</filename>
 	� ������� <application>fetchmail</application>, ������� �����
 	����������� ����� � ���� ����� (<xref
-	linkend="mail-fetchmail">).</para>
+	linkend="mail-fetchmail"/>).</para>
 
       <para>��� �������� � ��������� ����� ������ ��������� �������
 	<command>mail</command>, ��� � ���� �������:</para>
@@ -1928,7 +1930,7 @@ EOT</screen>
 
       <mediaobject>
 	<imageobject>
-	  <imagedata fileref="mail/mutt1" format="PNG">
+	  <imagedata fileref="mail/mutt1" format="PNG"/>
 	</imageobject>
       </mediaobject>
 
@@ -1939,7 +1941,7 @@ EOT</screen>
 
       <mediaobject>
 	<imageobject>
-	  <imagedata fileref="mail/mutt2" format="PNG">
+	  <imagedata fileref="mail/mutt2" format="PNG"/>
 	</imageobject>
       </mediaobject>
 
@@ -1972,7 +1974,7 @@ EOT</screen>
 
       <mediaobject>
 	<imageobject>
-	  <imagedata fileref="mail/mutt3" format="PNG">
+	  <imagedata fileref="mail/mutt3" format="PNG"/>
 	</imageobject>
       </mediaobject>
 
@@ -2021,7 +2023,7 @@ EOT</screen>
 
       <mediaobject>
 	<imageobject>
-	  <imagedata fileref="mail/pine1" format="PNG">
+	  <imagedata fileref="mail/pine1" format="PNG"/>
 	</imageobject>
       </mediaobject>
 
@@ -2039,7 +2041,7 @@ EOT</screen>
 
       <mediaobject>
 	<imageobject>
-	  <imagedata fileref="mail/pine2" format="PNG">
+	  <imagedata fileref="mail/pine2" format="PNG"/>
 	</imageobject>
       </mediaobject>
 
@@ -2049,7 +2051,7 @@ EOT</screen>
 
       <mediaobject>
 	<imageobject>
-	  <imagedata fileref="mail/pine3" format="PNG">
+	  <imagedata fileref="mail/pine3" format="PNG"/>
 	</imageobject>
       </mediaobject>
 
@@ -2061,7 +2063,7 @@ EOT</screen>
 
       <mediaobject>
 	<imageobject>
-	  <imagedata fileref="mail/pine4" format="PNG">
+	  <imagedata fileref="mail/pine4" format="PNG"/>
 	</imageobject>
       </mediaobject>
 
@@ -2077,7 +2079,7 @@ EOT</screen>
 
       <mediaobject>
 	<imageobject>
-	  <imagedata fileref="mail/pine5" format="PNG">
+	  <imagedata fileref="mail/pine5" format="PNG"/>
 	</imageobject>
       </mediaobject>
 
diff --git a/ru_RU.KOI8-R/books/handbook/mirrors/chapter.sgml b/ru_RU.KOI8-R/books/handbook/mirrors/chapter.sgml
index 03fd97be3f..5d270e3de7 100644
--- a/ru_RU.KOI8-R/books/handbook/mirrors/chapter.sgml
+++ b/ru_RU.KOI8-R/books/handbook/mirrors/chapter.sgml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -290,7 +291,7 @@
       <title>��������� CVS</title>
 
       <sect2>
-	<title><anchor id="anoncvs-intro">��������</title>
+	<title><anchor id="anoncvs-intro"/>��������</title>
 
 	<indexterm>
 	  <primary>CVS</primary>
@@ -348,7 +349,7 @@
       </sect2>
 
       <sect2>
-	<title><anchor id="anoncvs-usage">������������� ���������� CVS</title>
+	<title><anchor id="anoncvs-usage"/>������������� ���������� CVS</title>
 
 	<para>��������� &man.cvs.1; ��� ������������� ���������� CVS
 	  ����������� �������� ��������� ���������� ���������
@@ -423,7 +424,7 @@ SSH2 HostKey: 2048 4d:59:19:7b:ea:9b:76:0b:ca:ee:da:26:e2:3a:83:b8 ssh_host_dsa_
 	  ������������ �������, ������ ��� ����� �������� ������ �� ��,
 	  ��� �������.</para>
 
-	<para><xref linkend="cvs-tags"> �������� ���� �������, �������
+	<para><xref linkend="cvs-tags"/> �������� ���� �������, �������
 	  ����� �������������� �������������.  ����� ��, �� ���� �� ���
 	  �� �������� ��� ��������� ������, ��������� � ��������� ������
 	  ��� ������������ �������.</para>
@@ -1010,7 +1011,7 @@ Warning: Permanently added 'anoncvs.freebsd.org' (DSA) to the list of known host
 
       <itemizedlist>
 	<listitem>
-	  <para><anchor id="cvsup-config-files">����� ����� �� ������
+	  <para><anchor id="cvsup-config-files"/>����� ����� �� ������
 	    ��������?</para>
 
 	  <para>�����, ��������� ����� <application>CVSup</application>,
@@ -1028,7 +1029,7 @@ Warning: Permanently added 'anoncvs.freebsd.org' (DSA) to the list of known host
 	</listitem>
 
 	<listitem>
-	  <para><anchor id="cvsup-config-vers">����� �� ������
+	  <para><anchor id="cvsup-config-vers"/>����� �� ������
 	    ��� �����?</para>
 
 	  <para>� <application>CVSup</application> �� � �������� ������
@@ -1058,7 +1059,7 @@ Warning: Permanently added 'anoncvs.freebsd.org' (DSA) to the list of known host
 	    ������ �������.  ��������� ��� ����� �� ��������� � ������������
 	    �������, �� ����� �������� ������ ���-�� ���� ��� �������.</para>
 
-	  <para><xref linkend="cvs-tags"> �������� ���� ������, �������
+	  <para><xref linkend="cvs-tags"/> �������� ���� ������, �������
 	    ����� ���� ��������� �������������.  ���, ��������� �
 	    ����� ��������� <application>CVSup</application>, ������
 	    ������������ ������� <literal>tag=</literal>
@@ -1099,7 +1100,7 @@ Warning: Permanently added 'anoncvs.freebsd.org' (DSA) to the list of known host
 	</listitem>
 
 	<listitem>
-	  <para><anchor id="cvsup-config-where">������ �� ������
+	  <para><anchor id="cvsup-config-where"/>������ �� ������
 	    �� ��������?</para>
 
 	  <para>�� ���������� ���� <literal>host=</literal> ��� ���������
@@ -1119,7 +1120,7 @@ Warning: Permanently added 'anoncvs.freebsd.org' (DSA) to the list of known host
 	</listitem>
 
 	<listitem>
-	  <para><anchor id="cvsup-config-dest">��� �� ������
+	  <para><anchor id="cvsup-config-dest"/>��� �� ������
 	    ���������� �� �� ����� ����������?</para>
 
 	  <para>���� <literal>prefix=</literal> ���������
@@ -1134,7 +1135,7 @@ Warning: Permanently added 'anoncvs.freebsd.org' (DSA) to the list of known host
 	</listitem>
 
 	<listitem>
-	  <para><anchor id="cvsup-config-status">��� �� ������
+	  <para><anchor id="cvsup-config-status"/>��� �� ������
 	    ���������� ����� ������� <command>cvsup</command>?</para>
 
 	  <para>������ <application>CVSup</application> ������������
@@ -2250,7 +2251,7 @@ doc/zh_*</screen>
 		<term><literal>www release=cvs</literal></term>
 
 		<listitem>
-		  <para>�������� ������ www ����� FreeBSD.</PARA>
+		  <para>�������� ������ www ����� FreeBSD.</para>
 		</listitem>
 	      </varlistentry>
 	    </variablelist>
@@ -2341,7 +2342,7 @@ doc/zh_*</screen>
 	��� ������ �������� �������.  ������������ ������ ���� ���������
 	&man.portsnap.8; �������, ����� ��������
 	����������, ���� ��������� ������������� ������� ��� ������
-	&man.cron.8;.<para>
+	&man.cron.8;.</para>
 
       <para>�� ����������� �������� <application>Portsnap</application>
 	�� ��������� �������� (<quote>�����</quote>) ������ ������ �
diff --git a/ru_RU.KOI8-R/books/handbook/multimedia/chapter.sgml b/ru_RU.KOI8-R/books/handbook/multimedia/chapter.sgml
index bf1f585505..375ce1a409 100644
--- a/ru_RU.KOI8-R/books/handbook/multimedia/chapter.sgml
+++ b/ru_RU.KOI8-R/books/handbook/multimedia/chapter.sgml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -55,7 +56,7 @@
 
     <para>��� ����� ��������� ����������� ���� ��� ��������� ����� ��������
      �����. ��������� � ��������� X11 (<xref
-     linkend="x11">) ��� ���������� �������, ��������� � �����������
+     linkend="x11"/>) ��� ���������� �������, ��������� � �����������
      ����������� ����� ����������, ���� ����� ���� �����������
      �������������� ��������� ��� ��������� ���������������.</para>
 
@@ -112,7 +113,7 @@
 
     <itemizedlist>
       <listitem><para>������, ��� ��������������� � ������������� ����� ����
-	(<xref linkend="kernelconfig">).</para></listitem>
+	(<xref linkend="kernelconfig"/>).</para></listitem>
     </itemizedlist>
 
     <warning>
@@ -204,7 +205,7 @@
      ���������� ������������ �������� � ����.  � ������� ���� ����
      ����� ��������� ���������� � ���, ��� ��� ����� ������� ��� ����������
      ��������� ������������.  ����� �������� � ������������ ���� ������� �
-     <xref linkend="kernelconfig">.</para>
+     <xref linkend="kernelconfig"/>.</para>
 
     <sect3>
       <title>��������� ������������ ���� � ���������� �����</title>
@@ -294,7 +295,7 @@ kld snd_ich (1p/2r/0v channels duplex default)</screen>
       ����� � ��������� ����������� ��������.  ��������� ���� ���������
       ���� ��� ��� � ���������, ��� ������� ���������� ����������.
       ����� ������������� �������� ��������� � <xref
-      linkend="troubleshooting">.</para>
+      linkend="troubleshooting"/>.</para>
 
     <para>���� �ӣ ������� ������, �������� ����� ����������. ����
       CD-ROM ��� DVD-ROM ������ ��������� ������ޣ� � �������� �����, �� ������
@@ -573,7 +574,7 @@ MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo
 
       <para>������� &man.dd.1; ����� ����� ���� ������������ ��� �����������
 	����� ������� �� �������� ATAPI, ��� ����, ����� ������ ������ �� ����,
-	���������� <xref linkend="duplicating-audiocds">.</para>
+	���������� <xref linkend="duplicating-audiocds"/>.</para>
 
     </sect2>
 
@@ -697,7 +698,7 @@ MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo
 
 	<screen>&prompt.user; <userinput>sox -t wav -r 44100 -s -w -c 2 <replaceable>track.wav track.raw</replaceable></userinput></screen>
 
-      <para>�������� <xref linkend="creating-cds"> ��� ����, ����� ������
+      <para>�������� <xref linkend="creating-cds"/> ��� ����, ����� ������
 	������ � ������ CD � FreeBSD.</para>
     </sect2>
   </sect1>
@@ -905,7 +906,7 @@ no adaptors present</screen>
 	����������, ��������, �� ������� �������� ������������������ ���������.
 	��������, �� ������ ������ ��������� � ����� ���������
 	������������������ � <xref
-	linkend="video-further-reading">.</para>
+	linkend="video-further-reading"/>.</para>
 
     </sect3>
 
@@ -1698,7 +1699,7 @@ device `snapscan:/dev/pass3' is a AGFA SNAPSCAN 600 flatbed scanner</screen>
       </para>
 
       <para>��������, � ������ USB �������, ���������� � <xref
-	linkend="scanners-kernel-usb">, �������
+	linkend="scanners-kernel-usb"/>, �������
 	<command>sane-find-scanner</command> ������ ��������� ����������:
       </para>
 
diff --git a/ru_RU.KOI8-R/books/handbook/network-servers/chapter.sgml b/ru_RU.KOI8-R/books/handbook/network-servers/chapter.sgml
index 3371f56b4c..e089da05b8 100644
--- a/ru_RU.KOI8-R/books/handbook/network-servers/chapter.sgml
+++ b/ru_RU.KOI8-R/books/handbook/network-servers/chapter.sgml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -99,7 +100,7 @@
 
       <listitem>
       <para>����� ��� ������������� �������������� ��������� ���������
-	������������� (<xref linkend="ports">).</para>
+	������������� (<xref linkend="ports"/>).</para>
       </listitem>
     </itemizedlist>
   </sect1>
@@ -621,8 +622,8 @@ server-program-arguments</programlisting>
 
       <informaltable frame="none" pgwide="1">
 	<tgroup cols="2">
-	  <colspec colwidth="1*">
-	  <colspec colwidth="3*">
+	  <colspec colwidth="1*"/>
+	  <colspec colwidth="3*"/>
 	  <thead>
 	    <row>
 	      <entry>������</entry>
@@ -806,7 +807,7 @@ mountd_flags="-r"</programlisting>
       <screen>&prompt.root; <userinput>/etc/rc.d/mountd onereload</userinput></screen>
 
       <para>�� ��������� ����������� � ������ �������� rc.d ����������� �
-	<xref linkend="configtuning-rcd">.</para>
+	<xref linkend="configtuning-rcd"/>.</para>
 
       <para>��� �������, ��� ������������ FreeBSD �ӣ ���������� ���������.
 	���� ��������� ������������ ����� �� �����������.  ���������� ���������
@@ -1233,8 +1234,8 @@ Exports list on foobar:
 
       <informaltable frame="none" pgwide="1">
  	<tgroup cols="2">
-	<colspec colwidth="1*">
-	<colspec colwidth="3*">
+	<colspec colwidth="1*"/>
+	<colspec colwidth="3*"/>
 	  <thead>
 	    <row>
 	      <entry>������</entry>
@@ -1352,11 +1353,12 @@ Exports list on foobar:
 	  </note>
 	</listitem>
 
-	<indexterm>
-	  <primary>NIS</primary>
-	  <secondary>��������� ������</secondary>
-	</indexterm>
 	<listitem>
+	  <indexterm>
+	    <primary>NIS</primary>
+	    <secondary>��������� ������</secondary>
+	  </indexterm>
+
 	  <para><emphasis>��������� ������� NIS</emphasis>.  ������� ��
 	    ��������� ����������� ������� &windowsnt;, ��������� �������
 	    NIS �������� ����� ������������ ������ ������ NIS.	���������
@@ -1367,11 +1369,12 @@ Exports list on foobar:
 	    ��������.</para>
 	</listitem>
 
-	<indexterm>
-	  <primary>NIS</primary>
-	  <secondary>������</secondary>
-	</indexterm>
 	<listitem>
+	  <indexterm>
+	    <primary>NIS</primary>
+	    <secondary>������</secondary>
+	  </indexterm>
+
 	  <para><emphasis>������� NIS</emphasis>.
 	    ������� NIS, ��� � ����������� ������� ������� &windowsnt;,
 	    ����������������� �� ������� NIS (��� �� ����������� ������
@@ -1982,7 +1985,7 @@ basie&prompt.root; <userinput>cat /etc/master.passwd</userinput>
 root:[password]:0:0::0:0:The super-user:/root:/bin/csh
 toor:[password]:0:0::0:0:The other super-user:/root:/bin/sh
 daemon:*:1:1::0:0:Owner of many system processes:/root:/sbin/nologin
-operator:*:2:5::0:0:System &:/:/sbin/nologin
+operator:*:2:5::0:0:System &amp;:/:/sbin/nologin
 bin:*:3:7::0:0:Binaries Commands and Source,,,:/:/sbin/nologin
 tty:*:4:65533::0:0:Tty Sandbox:/:/sbin/nologin
 kmem:*:5:65533::0:0:KMem Sandbox:/:/sbin/nologin
@@ -2661,7 +2664,7 @@ nis_client_flags="-S <replaceable>NIS domain</replaceable>,<replaceable>server</
 	  ������� <literal>device bpf</literal> � ����������������
 	  ���� ���� � ����������� ����.  ����� ��������� ���������� �
 	  ���������� ���� ������� � <xref
-	  linkend="kernelconfig">.</para>
+	  linkend="kernelconfig"/>.</para>
 
 	<para>���������� <devicename>bpf</devicename> ��� �������� ������
 	  ���� <filename>GENERIC</filename>, ������� ������������ ������ �
@@ -2715,7 +2718,7 @@ nis_client_flags="-S <replaceable>NIS domain</replaceable>,<replaceable>server</
 	  <para>�������� ������������ � ���� �������� ���
 	    <replaceable>fxp0</replaceable> �� ��� ����������, �������
 	    ���������� ���������������� �����������, ��� ��� �������
-	    � <xref linkend="config-network-setup">.</para>
+	    � <xref linkend="config-network-setup"/>.</para>
 	</note>
 
 	<para>���� <command>dhclient</command> � ����� ������� ���������
@@ -2808,7 +2811,7 @@ dhclient_flags=""</programlisting>
 	<para>��������� ����� ������ �� ������������ ��� ����� FreeBSD, ���
 	  ��� ��� ����������� ���������� ���� <filename
 	  role="package">net/isc-dhcp42-server</filename> ��� ���������
-	  ����� �������.  ���������� � <xref linkend="ports"> ��� ���������
+	  ����� �������.  ���������� � <xref linkend="ports"/> ��� ���������
 	  ����� ������ ���������� �� ������������� ��������� ������.</para>
       </sect3>
 
@@ -2825,7 +2828,7 @@ dhclient_flags=""</programlisting>
 	  &man.bpf.4;, ����������������� � ����.  ��� �����
 	  �������� ������ <literal>device bpf</literal> � ����
 	  ������������ ������ ����.  ��� ��������� ����� ������ ���������� �
-	  ���������� ����, ���������� � <xref linkend="kernelconfig">.</para>
+	  ���������� ����, ���������� � <xref linkend="kernelconfig"/>.</para>
 
 	<para>���������� <devicename>bpf</devicename> ��� ������ � ������
 	  ���� <filename>GENERIC</filename>, ������������� � FreeBSD, ��� ���
@@ -2866,22 +2869,22 @@ dhclient_flags=""</programlisting>
 	  ������������ �������� � ������, � ����� ����� ����������� ��
 	  �������:</para>
 
-	<programlisting>option domain-name "example.com";<co id="domain-name">
-option domain-name-servers 192.168.4.100;<co id="domain-name-servers">
-option subnet-mask 255.255.255.0;<co id="subnet-mask">
+	<programlisting>option domain-name "example.com";<co id="domain-name"/>
+option domain-name-servers 192.168.4.100;<co id="domain-name-servers"/>
+option subnet-mask 255.255.255.0;<co id="subnet-mask"/>
 
-default-lease-time 3600;<co id="default-lease-time">
-max-lease-time 86400;<co id="max-lease-time">
-ddns-update-style none;<co id="ddns-update-style">
+default-lease-time 3600;<co id="default-lease-time"/>
+max-lease-time 86400;<co id="max-lease-time"/>
+ddns-update-style none;<co id="ddns-update-style"/>
 
 subnet 192.168.4.0 netmask 255.255.255.0 {
-  range 192.168.4.129 192.168.4.254;<co id="range">
-  option routers 192.168.4.1;<co id="routers">
+  range 192.168.4.129 192.168.4.254;<co id="range"/>
+  option routers 192.168.4.1;<co id="routers"/>
 }
 
 host mailhost {
-  hardware ethernet 02:03:04:05:06:07;<co id="hardware">
-  fixed-address mailhost.example.com;<co id="fixed-address">
+  hardware ethernet 02:03:04:05:06:07;<co id="hardware"/>
+  fixed-address mailhost.example.com;<co id="fixed-address"/>
 }</programlisting>
 
 	<calloutlist>
@@ -3100,8 +3103,8 @@ dhcpd_ifaces="dc0"</programlisting>
 
       <informaltable frame="none" pgwide="1">
 	<tgroup cols="2">
-	  <colspec colwidth="1*">
-	  <colspec colwidth="3*">
+	  <colspec colwidth="1*"/>
+	  <colspec colwidth="3*"/>
 	  <thead>
 	    <row>
 	      <entry>������</entry>
@@ -3342,7 +3345,7 @@ dhcpd_ifaces="dc0"</programlisting>
 	<literal>named_<replaceable>*</replaceable></literal> �����
 	<filename>/etc/defaults/rc.conf</filename> � �������� �����������
 	&man.rc.conf.5;.  ����� ����, �������� ����� ���������
-	<xref linkend="configtuning-rcd">.</para>
+	<xref linkend="configtuning-rcd"/>.</para>
     </sect2>
 
     <sect2>
@@ -3423,7 +3426,7 @@ options {
 	���, ������� ����� ������), ��������� ������������ ��� ����.
 	������� ������ ����������.  ���� ��������������� ������ �ͣ� ����������
 	�������� ������ � ����� ������� ����� �����, �� � ���������� �����
-	��������� �� ������ �������� ������� ���������.
+	��������� �� ������ �������� ������� ���������.</para>
 
       <warning>
 	<para><hostid role="ipaddr">127.0.0.1</hostid> �����
@@ -4658,7 +4661,7 @@ DocumentRoot /www/someotherdomain.tld
 
 	<programlisting>swat   stream  tcp     nowait/400      root    /usr/local/sbin/swat    swat</programlisting>
 
-	<para>��� ������� � <xref linkend="network-inetd-reread">,
+	<para>��� ������� � <xref linkend="network-inetd-reread"/>,
 	  ����� ��������� �������� <application>inetd</application>
 	  ���������� ���������� ������������.</para>
 
@@ -4702,9 +4705,10 @@ DocumentRoot /www/someotherdomain.tld
 
 	  <varlistentry>
 	    <term><literal>netbios name</literal></term>
-	    <indexterm><primary>NetBIOS</primary></indexterm>
 
 	    <listitem>
+	      <indexterm><primary>NetBIOS</primary></indexterm>
+
 	      <para>������������� ��� NetBIOS, ��� ������� �����
 		�������� <application>Samba</application> ������.  ��
 		��������� ��� ���������������
@@ -4758,11 +4762,11 @@ DocumentRoot /www/someotherdomain.tld
 	  <varlistentry>
 	    <term><literal>passdb backend</literal></term>
 
-	    <indexterm><primary>NIS+</primary></indexterm>
-	    <indexterm><primary>LDAP</primary></indexterm>
-	    <indexterm><primary>SQL ���� ������</primary></indexterm>
-
 	    <listitem>
+	      <indexterm><primary>NIS+</primary></indexterm>
+	      <indexterm><primary>LDAP</primary></indexterm>
+	      <indexterm><primary>SQL ���� ������</primary></indexterm>
+
 	      <para><application>Samba</application> ������������
 		��������� ��������� ��������� ��������������.  �� ������
 		����������������� �������� � ������� LDAP, NIS+,
@@ -4832,7 +4836,7 @@ Starting nmbd.
 Starting smbd.</screen>
 
       <para>�� ���������� ����������� �� ������������� rc ��������
-	���������� � <xref linkend="configtuning-rcd">.</para>
+	���������� � <xref linkend="configtuning-rcd"/>.</para>
 
       <para><application>Samba</application> ������� �� ����
 	��������� ��������.  �� ������ ������, ���
@@ -4939,10 +4943,10 @@ Starting smbd.</screen>
 
       <programlisting>ftp	stream	tcp	nowait	root	/usr/libexec/ftpd	ftpd -l</programlisting>
 
-      <para>��� ������� � <xref linkend="network-inetd-reread">,
+      <para>��� ������� � <xref linkend="network-inetd-reread"/>,
 	<application>inetd</application> ������ ���������� ������������
 	����� ����, ��� ���� ���� ��������� ��� �������.  ����������
-	���������� � <xref linkend="network-inetd-settings"> �� ��������
+	���������� � <xref linkend="network-inetd-settings"/> �� ��������
 	�� ������� <application>inetd</application> �� ����� �������.</para>
 
       <para>� �������� ������������, ����� <application>ftpd</application>
@@ -5101,14 +5105,14 @@ Starting smbd.</screen>
       </sect3>
 
       <sect3>
+	<title>����� ���������</title>
+
 	<indexterm>
 	  <primary>NTP</primary>
 
 	  <secondary>ntp.conf</secondary>
 	</indexterm>
 
-	<title>����� ���������</title>
-
 	<para>NTP ������������� � ����� <filename>/etc/ntp.conf</filename>,
 	  ������ �������� ������ � &man.ntp.conf.5;.  ��� �������
 	  ������:</para>
diff --git a/ru_RU.KOI8-R/books/handbook/pgpkeys/chapter.sgml b/ru_RU.KOI8-R/books/handbook/pgpkeys/chapter.sgml
index 02496cf95c..b6897a3a1b 100644
--- a/ru_RU.KOI8-R/books/handbook/pgpkeys/chapter.sgml
+++ b/ru_RU.KOI8-R/books/handbook/pgpkeys/chapter.sgml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
 <!--
      The FreeBSD Documentation Project
 
diff --git a/ru_RU.KOI8-R/books/handbook/ports/chapter.sgml b/ru_RU.KOI8-R/books/handbook/ports/chapter.sgml
index 82460e383c..fb17f7cf83 100644
--- a/ru_RU.KOI8-R/books/handbook/ports/chapter.sgml
+++ b/ru_RU.KOI8-R/books/handbook/ports/chapter.sgml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -271,9 +272,9 @@
           ������̣���� ���������.</para>
       </listitem>
 
-      <indexterm><primary>FreshPorts</primary></indexterm>
-
       <listitem>
+	<indexterm><primary>FreshPorts</primary></indexterm>
+
         <para>Dan Langille ������������ ���� FreshPorts �� ������ <ulink
           url="http://www.FreshPorts.org/"></ulink>.
           �� � ������������� ��������� � ����������� �� ������ ������, ���
@@ -282,9 +283,9 @@
           ����� ��� �� ����������.</para>
       </listitem>
 
-      <indexterm><primary>FreshMeat</primary></indexterm>
-
       <listitem>
+	<indexterm><primary>FreshMeat</primary></indexterm>
+
         <para>���� �� �� ������ �������� ������� ��� ����������, �����������
           ��������������� ������ ���� FreshMeat (<ulink
           url="http://www.freshmeat.net/"></ulink>)
@@ -657,7 +658,7 @@ docbook                     =
 	<application>CVSup</application> ��� ������,
 	<filename>/usr/share/examples/cvsup/ports-supfile</filename>.
         �������� ������ <link linkend="cvsup">������������� CVSup</link>
-        (<xref linkend="cvsup">) ��� ��������� ����� ������ ���������� ��
+        (<xref linkend="cvsup"/>) ��� ��������� ����� ������ ���������� ��
         ������������� <application>CVSup</application> � ����� �����.</para>
 
       <procedure>
@@ -672,7 +673,7 @@ docbook                     =
 	<step>
 	  <para>���������� ���� <filename role="package">net/cvsup</filename>.  ���������� � �������
             <link linkend="cvsup-install">��������� CVSup</link> (<xref
-	    linkend="cvsup-install">) ��� ��������� ����� ���������
+	    linkend="cvsup-install"/>) ��� ��������� ����� ���������
             ����������.</para>
 	</step>
 
@@ -691,7 +692,7 @@ docbook                     =
 	  <para>�������� <replaceable>CHANGE_THIS.FreeBSD.org</replaceable> ��
            ������� � ��� ������ <application>CVSup</application>.  ����������
            <link linkend="cvsup-mirrors">������� CVSup</link> (<xref
-	   linkend="cvsup-mirrors">) ��� ��������� ������� ������
+	   linkend="cvsup-mirrors"/>) ��� ��������� ������� ������
            ������������� ������.</para>
 	</step>
 
@@ -1147,7 +1148,7 @@ ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/ fetch</userinput></screen>
         � ���� ������, ��� ������� ��������� <application>CVSup</application>
         ��� �� ����� ��������� ����� �� ��������� ���������.  ��������������
 	����������, ����������� � ����� <filename>refuse</filename>, �����
-	����� � <xref linkend="cvsup-refuse-file">.</para>
+	����� � <xref linkend="cvsup-refuse-file"/>.</para>
     </sect2>
 
     <sect2 id="ports-upgrading">
diff --git a/ru_RU.KOI8-R/books/handbook/ppp-and-slip/chapter.sgml b/ru_RU.KOI8-R/books/handbook/ppp-and-slip/chapter.sgml
index 4d22081d1b..f567db04d4 100644
--- a/ru_RU.KOI8-R/books/handbook/ppp-and-slip/chapter.sgml
+++ b/ru_RU.KOI8-R/books/handbook/ppp-and-slip/chapter.sgml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -154,13 +155,14 @@
 	<para>� ���� ��������� ��������������, ��� � ��� ���� ���������:</para>
 
 	<itemizedlist>
-	  <indexterm id="ppp-isp">
-	    <primary>ISP</primary>
-	  </indexterm>
-	  <indexterm id="ppp-ppp2">
-	    <primary>PPP</primary>
-	  </indexterm>
 	  <listitem>
+	    <indexterm id="ppp-isp">
+	      <primary>ISP</primary>
+	    </indexterm>
+	    <indexterm id="ppp-ppp2">
+	      <primary>PPP</primary>
+	    </indexterm>
+
 	    <para>������� ������ � ���������� �������� (Internet Service
 	      Provider, ISP), � �������� �� ���������������, ���������
 	      PPP.</para>
@@ -176,30 +178,32 @@
 	    <para>����� ��������� ���� ����������.</para>
 	  </listitem>
 
-	  <indexterm id="ppp-pap">
-	    <primary>PAP</primary>
-	  </indexterm>
-	  <indexterm id="ppp-chap">
-	    <primary>CHAP</primary>
-	  </indexterm>
-	  <indexterm id="ppp-unix">
-	    <primary>UNIX</primary>
-	  </indexterm>
-	  <indexterm id="ppp-login">
-	    <primary>�����</primary>
-	  </indexterm>
-	  <indexterm id="ppp-password">
-	    <primary>������</primary>
-	  </indexterm>
 	  <listitem>
+	    <indexterm id="ppp-pap">
+	      <primary>PAP</primary>
+	    </indexterm>
+	    <indexterm id="ppp-chap">
+	      <primary>CHAP</primary>
+	    </indexterm>
+	    <indexterm id="ppp-unix">
+	      <primary>UNIX</primary>
+	    </indexterm>
+	    <indexterm id="ppp-login">
+	      <primary>�����</primary>
+	    </indexterm>
+	    <indexterm id="ppp-password">
+	      <primary>������</primary>
+	    </indexterm>
+
 	    <para>��� ������������ (�����) � ������ (������� &unix; ����
 	      �����/������, ��� PAP/CHAP ���� �����/������).</para>
 	  </listitem>
 
-	  <indexterm id="ppp-nameserver">
-	    <primary>������ ����</primary>
-	  </indexterm>
 	  <listitem>
+	    <indexterm id="ppp-nameserver">
+	      <primary>������ ����</primary>
+	    </indexterm>
+
 	    <para>IP ������ ������ ��� ���������� �������� ����.  ������
 	      ��������� ���� ��� ���� ����� ��� IP ������.  ���� ���
 	      �� ������, �� ������ ������������ ������� <command>enable
@@ -232,10 +236,11 @@
 	      role="netmask">255.255.255.255</hostid>.</para>
 	  </listitem>
 
-	  <indexterm id="ppp-static-ip">
-	    <primary>����������� IP �����</primary>
-	  </indexterm>
 	  <listitem>
+	    <indexterm id="ppp-static-ip">
+	      <primary>����������� IP �����</primary>
+	    </indexterm>
+
 	    <para>���� ��������� ����������� ����������� IP � ��� �����,
 	      ����������� ��.  ����� ��������� ��������� �������
 	      ��������� ��������� IP �����.</para>
@@ -403,8 +408,9 @@
 	    <varlistentry>
 	      <term>������ 6 � 7:</term>
 
-	      <indexterm><primary>PPP</primary><secondary>PPP ������ ������������</secondary></indexterm>
 	      <listitem>
+		<indexterm><primary>PPP</primary><secondary>PPP ������ ������������</secondary></indexterm>
+
 		<para>������ �������.  PPP ������ ������������ ���������
 		  expect-send ���������, ������� �� ��������� &man.chat.8;.
 		  ���������� � �������� ����������� �� ����������� �
@@ -530,8 +536,9 @@ protocol: ppp</screen>
 	    <varlistentry>
 	      <term>������ 16:</term>
 
-	      <indexterm><primary>����� ��������</primary></indexterm>
 	      <listitem>
+		<indexterm><primary>����� ��������</primary></indexterm>
+
 		<para>��������� ������������� ������� �������� �� ���������
 		  ��� ����������.  � ������ ������ ���������� ����� ���������
 		  ������������� ����� 300 ������ ������������.  ���� �� ��
@@ -543,8 +550,10 @@ protocol: ppp</screen>
 
 	    <varlistentry>
 	      <term>������ 17:</term>
-	      <indexterm><primary>ISP</primary></indexterm>
+
 	      <listitem>
+		<indexterm><primary>ISP</primary></indexterm>
+
 		<para>������������� ����� ����������.  ������
 		  <replaceable>x.x.x.x</replaceable> ������ ����
 		  �������� �� IP �����, ������� ������� ��� ���������.
@@ -1026,8 +1035,10 @@ set nbns 203.14.100.5</programlisting>
 
 	    <varlistentry>
 	      <term>������ 14:</term>
-	      <indexterm><primary>password</primary></indexterm>
+
 	      <listitem>
+		<indexterm><primary>password</primary></indexterm>
+
 		<para>��� ������ ��������� ������ PAP/CHAP.  ��� �����������
 		  �������� <replaceable>MyPassword</replaceable> ��
 		  ���������� ��������.  �� ������ ����� ��������
@@ -1322,8 +1333,9 @@ ifconfig_tun0=</programlisting>
 	    ���������� PPP ��� �������� �����.</para>
 	</listitem>
 
-	<indexterm><primary>PPP</primary><secondary>������</secondary></indexterm>
 	<listitem>
+	  <indexterm><primary>PPP</primary><secondary>������</secondary></indexterm>
+
 	  <para>� �������� <quote>�������</quote> &mdash; ����� ���������
 	    ��������� � ���� � ������������ ��� ����������� ������
 	    ����������� ����� PPP.</para>
@@ -1378,10 +1390,11 @@ defaultroute    # put this if you want that PPP server will be your
 
       <para>��� �����������:</para>
 
-      <indexterm><primary>kermit</primary></indexterm>
-      <indexterm><primary>�����</primary></indexterm>
       <procedure>
 	<step>
+	  <indexterm><primary>kermit</primary></indexterm>
+	  <indexterm><primary>�����</primary></indexterm>
+
 	  <para>����������� �� ��������� ����, ���������
 	    <application>kermit</application> (��� ����� ������ ��������
 	    ���������), � ������� ���� ��� ������������ � ������ (���
@@ -2258,9 +2271,9 @@ ppp_profile="adsl"</programlisting>
 adsl:
     new -i ng0 adsl adsl
     set bundle authname <replaceable>username</replaceable> <co
-    id="co-mpd-ex-user">
+    id="co-mpd-ex-user"/>
     set bundle password <replaceable>password</replaceable> <co
-    id="co-mpd-ex-pass">
+    id="co-mpd-ex-pass"/>
     set bundle disable multilink
 
     set link no pap acfcomp protocomp
@@ -2299,9 +2312,9 @@ adsl:
     set pptp mode active
     set pptp enable originate outcall
     set pptp self <replaceable>10.0.0.1</replaceable> <co
-    id="co-mpd-ex-self">
+    id="co-mpd-ex-self"/>
     set pptp peer <replaceable>10.0.0.138</replaceable> <co
-    id="co-mpd-ex-peer"></programlisting>
+    id="co-mpd-ex-peer"/></programlisting>
 
     <calloutlist>
       <callout arearefs="co-mpd-ex-self">
@@ -2352,8 +2365,8 @@ ng0: flags=88d1&lt;UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST&gt; mtu 1500
  set log phase chat lcp ipcp ccp tun command
  set timeout 0
  enable dns
- set authname <replaceable>username</replaceable> <co id="co-pptp-ex-user">
- set authkey <replaceable>password</replaceable> <co id="co-pptp-ex-pass">
+ set authname <replaceable>username</replaceable> <co id="co-pptp-ex-user"/>
+ set authkey <replaceable>password</replaceable> <co id="co-pptp-ex-pass"/>
  set ifaddr 0 0
  add default HISADDR</programlisting>
 
@@ -2536,8 +2549,9 @@ tun0: flags=8051&lt;UP,POINTOPOINT,RUNNING,MULTICAST&gt; mtu 1500
 		<programlisting>ifconfig_sl0="inet ${hostname} slip-gateway netmask 0xffffff00 up"</programlisting>
 	      </listitem>
 
-	      <indexterm><primary>������� �� ���������</primary></indexterm>
 	      <listitem>
+		<indexterm><primary>������� �� ���������</primary></indexterm>
+
 		<para>��������� ������������� �� ���������, �������
 		  ������:</para>
 
@@ -2880,7 +2894,7 @@ sl1*  296   &lt;Link&gt;                             0     0        0     0
 	  ����� � ����� ������ ���������� ����������� ��������� ����������
 	  ������������� SLIP ����������.</para>
 
-	<para>���������� � <xref linkend="kernelconfig"> �� �����������
+	<para>���������� � <xref linkend="kernelconfig"/> �� �����������
 	  �� ��������� ���� FreeBSD.</para>
       </sect3>
 
@@ -2978,7 +2992,7 @@ Shelmerg  dc-slip       sl-helmerg      0xfffffc00      autocomp</programlisting
 	    ������������ ������������ � ���� �������).  ���� �� �� �������,
 	    ����� ����� �������, ��� ��� ��������� IP ������, ���������� �
 	    ������ �� TCP/IP, ���������� ���� (<xref
-	    linkend="slips-prereqs">).
+	    linkend="slips-prereqs"/>).</para>
 
 	  <para>���� �� ����������� ������������ ��������� ������� ��� SLIP
 	    ��������, ����������� �������� ������ �� �������� �������
diff --git a/ru_RU.KOI8-R/books/handbook/preface/preface.sgml b/ru_RU.KOI8-R/books/handbook/preface/preface.sgml
index f15539bf62..d6469e143c 100644
--- a/ru_RU.KOI8-R/books/handbook/preface/preface.sgml
+++ b/ru_RU.KOI8-R/books/handbook/preface/preface.sgml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -10,7 +11,7 @@
 <preface id="book-preface">
   <title>�����������</title>
 
-  <bridgehead id="preface-audience" renderas=sect1>�������
+  <bridgehead id="preface-audience" renderas="sect1">�������
     ���������</bridgehead>
 
   <para>����, ������� ���������� FreeBSD � ��������� �������, ������, ���
@@ -26,9 +27,9 @@
     ������� ������ � ������ ������ �����.</para>
 
   <para>������ ������������� �������������� ���������� �� ������ ����� �
-    <xref linkend="bibliography">.</para>
+    <xref linkend="bibliography"/>.</para>
 
-  <bridgehead id="preface-changes-from2" renderas=sect1>��������� ��
+  <bridgehead id="preface-changes-from2" renderas="sect1">��������� ��
     ��������� �� ������ ���������</bridgehead>
 
   <para>������ �������� �������� ������������ ����� ��� ���� ��� ������
@@ -37,35 +38,35 @@
 
   <itemizedlist>
       <listitem>
-	<para><xref linkend="config-tuning">, ��������� � �����������,
+	<para><xref linkend="config-tuning"/>, ��������� � �����������,
 	  ���� ��������� ����� ����������� � ACPI ���������� ��������
 	  � ���������, ��������� ������� cron � ��������������
 	  ���������� ����������� ����.</para>
       </listitem>
 
       <listitem>
-	<para><xref linkend="security">, ������������, ���� ���������
+	<para><xref linkend="security"/>, ������������, ���� ���������
 	  ����� ����������� � ����������� ������� ����� (VPN),
 	  ������� �������� ������� �������� ������� (ACL), � ����������
 	  ������������.</para>
       </listitem>
 
       <listitem>
-	<para><xref linkend="mac">, �������������� �������� ������� (MAC),
+	<para><xref linkend="mac"/>, �������������� �������� ������� (MAC),
 	  ����� ����� ���� ��������.  ��� ���������, ��� �����
 	  MAC � ��� ���� �������� ����� ���� ����������� ��� ������
 	  ������� FreeBSD.</para>
       </listitem>
 
       <listitem>
-	<para><xref linkend="disks">, ���������� ��������, ���� ���������
+	<para><xref linkend="disks"/>, ���������� ��������, ���� ���������
 	  ����� ����������� � ����������� �������� USB, ������� ��������
 	  �������, ������ �������� �������, �������� �������� � ������
 	  � � ����, ������������� �������� ��������.</para>
       </listitem>
 
       <listitem>
-	<para><xref linkend="vinum-vinum">, �������� ��������� ������������
+	<para><xref linkend="vinum-vinum"/>, �������� ��������� ������������
 	  Vinum, ����� ����� ���� ��������.
 	  � ��� ������� ��� ������������ Vinum, �������� ����������
 	  �����, ������� ������������� ����������� �� ��������� ����������
@@ -73,29 +74,29 @@
       </listitem>
 
       <listitem>
-	<para>� <xref linkend="ppp-and-slip">, PPP � SLIP, ��� ��������
+	<para>� <xref linkend="ppp-and-slip"/>, PPP � SLIP, ��� ��������
 	  ������ � ������� �������.</para>
       </listitem>
 
       <listitem>
-	<para><xref linkend="mail">, ����������� �����, ����
+	<para><xref linkend="mail"/>, ����������� �����, ����
 	  ��������� ����� ����������� �� ������������� ��������������
 	  ������������ �������, SMTP ��������������, UUCP, fetchmail,
 	  procmail, � ������� ��������� ���������� ���������.</para>
       </listitem>
 
       <listitem>
-	<para><xref linkend="network-servers">, ������� �������,
+	<para><xref linkend="network-servers"/>, ������� �������,
 	  ��������� � ���� ��������.  ��� ����� ��������
 	  ���������� � ��������� Apache HTTP Server, FTPd,
 	  � ��������� Samba ������� ��� �������� Microsoft Windows.
 	  ��������� ������� ���� ���������� ���� �� <xref
-	  linkend="advanced-networking">, ������� ������� ������ �
+	  linkend="advanced-networking"/>, ������� ������� ������ �
 	  ����.</para>
       </listitem>
 
       <listitem>
-	<para><xref linkend="advanced-networking">, ������� �������
+	<para><xref linkend="advanced-networking"/>, ������� �������
 	  ������ � ����, ���� ��������� ����� ����������� �� �������������
 	  ��������� Bluetooth � FreeBSD, ��������� ������������ �����,
 	  � ����� Asynchronous Transfer Mode (ATM).</para>
@@ -112,7 +113,7 @@
       </listitem>
     </itemizedlist>
 
-  <bridgehead id="preface-changes" renderas=sect1>��������� �� ������
+  <bridgehead id="preface-changes" renderas="sect1">��������� �� ������
     ��������</bridgehead>
 
     <para>������ �������� �������� ������������ ����� ��� ����������
@@ -142,26 +143,26 @@
       </listitem>
 
       <listitem>
-	<para><xref linkend="install"> (<quote>���������
+	<para><xref linkend="install"/> (<quote>���������
 	  FreeBSD</quote>) ���� ��������� ����������, ��������� �������
 	  ���������� ������� ������, ����� ��������� ��������� ������
 	  ��� ����� �������������.</para>
       </listitem>
 
       <listitem>
-	<para><xref linkend="basics"> (<quote>������ &unix;</quote>) ����
+	<para><xref linkend="basics"/> (<quote>������ &unix;</quote>) ����
 	  ��������� � �������� �������������� ���������� � ���������, �������� �
 	  ��������.</para>
       </listitem>
 
       <listitem>
-	<para><xref linkend="ports"> (<quote>���������
+	<para><xref linkend="ports"/> (<quote>���������
 	  ����������: ����� � ������</quote>) ���� ��������� � ��������
 	  �������������� ���������� �� ���������� ��������� ��������.</para>
       </listitem>
 
       <listitem>
-	<para><xref linkend="x11"> (<quote>X Window System</quote>) ����
+	<para><xref linkend="x11"/> (<quote>X Window System</quote>) ����
 	  ��������� ���������� � �������� ������ �������� �� �����������
 	  ���������� ��� �������� �����, �����, ���
 	  <application>KDE</application> � <application>GNOME</application> ��
@@ -169,12 +170,12 @@
       </listitem>
 
      <listitem>
-       <para><xref linkend="boot"> (<quote>������� ��������
+       <para><xref linkend="boot"/> (<quote>������� ��������
 	 FreeBSD</quote>) ���� ���������.</para>
      </listitem>
 
      <listitem>
-       <para><xref linkend="disks"> (<quote>���������� ��������</quote>)
+       <para><xref linkend="disks"/> (<quote>���������� ��������</quote>)
 	 ���� ���������� �� ����, ��� ������ ���� ����� ���������� �������:
 	 <quote>�����</quote> � <quote>��������� �����������</quote>.  ��
 	 �������, ��� ������ ���� ����� ����� � ����� ����� ������� ��� ����
@@ -182,30 +183,30 @@
      </listitem>
 
      <listitem>
-       <para><xref linkend="serialcomms"> (<quote>����������������
+       <para><xref linkend="serialcomms"/> (<quote>����������������
 	 ������������</quote>) ���� ��������� �������������� �
 	 ��������� ��� FreeBSD 4.X/5.X.</para>
      </listitem>
 
      <listitem>
-       <para><xref linkend="ppp-and-slip"> (<quote>PPP � SLIP</quote>)
+       <para><xref linkend="ppp-and-slip"/> (<quote>PPP � SLIP</quote>)
 	 ���� ����������� ���������.</para>
      </listitem>
 
      <listitem>
        <para>���� ��������� ��������� ����� �������� � <xref
-	 linkend="advanced-networking"> (<quote>������� ������� ������ �
+	 linkend="advanced-networking"/> (<quote>������� ������� ������ �
 	 ����</quote>).</para>
      </listitem>
 
       <listitem>
-	<para><xref linkend="mail"> (<quote>����������� �����</quote>)
+	<para><xref linkend="mail"/> (<quote>����������� �����</quote>)
 	  ���� ���������, ������ ��� �������� ������ ���������� � ���������
 	  <application>sendmail</application>.</para>
       </listitem>
 
      <listitem>
-       <para><xref linkend="linuxemu"> (<quote>������ � ������������,
+       <para><xref linkend="linuxemu"/> (<quote>������ � ������������,
 	 ����������� ��� &linux;</quote>) ���� ��������� ����������
 	 ���������� �� ��������� <application>&oracle;</application> �
 	 <application>&sap.r3;</application>.</para>
@@ -217,17 +218,17 @@
        <itemizedlist>
 	 <listitem>
 	   <para>��������� � ����������� (<xref
-	     linkend="config-tuning">).</para>
+	     linkend="config-tuning"/>).</para>
 	 </listitem>
 
 	 <listitem>
-	   <para>����������� (<xref linkend="multimedia">)</para>
+	   <para>����������� (<xref linkend="multimedia"/>)</para>
 	 </listitem>
        </itemizedlist>
      </listitem>
    </itemizedlist>
 
-   <bridgehead id="preface-overview" renderas=sect1>��������� ����
+   <bridgehead id="preface-overview" renderas="sect1">��������� ����
      �����</bridgehead>
 
    <para>��� ����� ������� �� ���� ������.  � ������ �����, <emphasis>�
@@ -252,7 +253,7 @@
 <!-- Part I - Introduction -->
 
     <varlistentry>
-      <term><emphasis><xref linkend="introduction">, ��������</emphasis></term>
+      <term><emphasis><xref linkend="introduction"/>, ��������</emphasis></term>
       <listitem>
 	<para>�������� ������������ � FreeBSD.  ������������ �� ������� �������
 	  FreeBSD, ��� ������� � ������ ����������.</para>
@@ -260,7 +261,7 @@
     </varlistentry>
 
     <varlistentry>
-      <term><emphasis><xref linkend="install">, ���������</emphasis></term>
+      <term><emphasis><xref linkend="install"/>, ���������</emphasis></term>
       <listitem>
 	<para>�������� ������������ ����� ���� ������� ���������.
 	  ����������� ����� ���������
@@ -270,7 +271,7 @@
     </varlistentry>
 
     <varlistentry>
-      <term><emphasis><xref linkend="basics">, ������ &unix;</emphasis></term>
+      <term><emphasis><xref linkend="basics"/>, ������ &unix;</emphasis></term>
       <listitem>
 	<para>������������ �� �������� �������� � ���������������� ������������
 	  ������� FreeBSD.  ���� �� ������� � &linux; ��� ������ &unix;-��������
@@ -280,7 +281,7 @@
     </varlistentry>
 
     <varlistentry>
-      <term><emphasis><xref linkend="ports">, ��������� ����������: ����� � ������</emphasis></term>
+      <term><emphasis><xref linkend="ports"/>, ��������� ����������: ����� � ������</emphasis></term>
       <listitem>
 	<para>������������ � �������� ��������� ������������ �����������
 	  ��������� �������������� � �������������� <quote>��������� ������
@@ -289,7 +290,7 @@
     </varlistentry>
 
     <varlistentry>
-      <term><emphasis><xref linkend="x11">, X Window System</emphasis></term>
+      <term><emphasis><xref linkend="x11"/>, X Window System</emphasis></term>
       <listitem>
 	<para>��������� X Window System ������ � �������������
 	  X11 ��� ����������� FreeBSD �
@@ -302,7 +303,7 @@
 <!-- Part II Common Tasks -->
 
     <varlistentry>
-      <term><emphasis><xref linkend="desktop">, ���������� ��� �����������
+      <term><emphasis><xref linkend="desktop"/>, ���������� ��� �����������
 	����������</emphasis></term>
       <listitem>
 	<para>����������� ��������� ���������� ���������� ��� ������� �������,
@@ -312,7 +313,7 @@
     </varlistentry>
 
     <varlistentry>
-      <term><emphasis><xref linkend="multimedia">, �����������</emphasis></term>
+      <term><emphasis><xref linkend="multimedia"/>, �����������</emphasis></term>
       <listitem>
 	<para>����������, ��� ��������� ��������� ��������������� ����� �
 	  ����� �� ����� �������.  ����� ��������� ��������� ������� ����������
@@ -321,7 +322,7 @@
     </varlistentry>
 
     <varlistentry>
-      <term><emphasis><xref linkend="kernelconfig">, ��������� ����
+      <term><emphasis><xref linkend="kernelconfig"/>, ��������� ����
 	FreeBSD</emphasis></term>
       <listitem>
 	<para>���������, ������ ��� ����� ������������ ������������� ���� �
@@ -331,7 +332,7 @@
     </varlistentry>
 
     <varlistentry>
-      <term><emphasis><xref linkend="printing">, ������</emphasis></term>
+      <term><emphasis><xref linkend="printing"/>, ������</emphasis></term>
       <listitem>
 	<para>������������ �� ���������� ���������� � FreeBSD, �������
 	  ���������� �� ��������� ���������, �ޣ�� ������������� ��������� �
@@ -340,7 +341,7 @@
     </varlistentry>
 
     <varlistentry>
-      <term><emphasis><xref linkend="linuxemu">, �������� �������������
+      <term><emphasis><xref linkend="linuxemu"/>, �������� �������������
 	� &linux;</emphasis></term>
       <listitem>
 	<para>��������� ����������� &linux;-������������� � FreeBSD.  �����
@@ -354,7 +355,7 @@
 <!-- Part III - System Administration -->
 
     <varlistentry>
-      <term><emphasis><xref linkend="config-tuning">, ��������� � �����������</emphasis></term>
+      <term><emphasis><xref linkend="config-tuning"/>, ��������� � �����������</emphasis></term>
       <listitem>
 	<para>��������� ������������ ��������� ��������� FreeBSD, ������� �����
 	  ������������ ��������� ������������� ��� ����������� ���������
@@ -364,7 +365,7 @@
     </varlistentry>
 
     <varlistentry>
-      <term><emphasis><xref linkend="boot">, ������� �������� &os;</emphasis></term>
+      <term><emphasis><xref linkend="boot"/>, ������� �������� &os;</emphasis></term>
       <listitem>
 	<para>������������ � �������� �������� FreeBSD � ���������, ���
 	  ��������� ���� ��������� ��� ������ ���������
@@ -373,7 +374,7 @@
     </varlistentry>
 
     <varlistentry>
-      <term><emphasis><xref linkend="users">, ������������ � ������ ����������
+      <term><emphasis><xref linkend="users"/>, ������������ � ������ ����������
 	�ޣ����� ��������</emphasis></term>
       <listitem>
 	<para>������������ � �������� � ���������� ����������������� �ޣ�����
@@ -383,7 +384,7 @@
     </varlistentry>
 
     <varlistentry>
-      <term><emphasis><xref linkend="security">, ������������</emphasis></term>
+      <term><emphasis><xref linkend="security"/>, ������������</emphasis></term>
       <listitem>
 	<para>��������� ��������� ��������� ������, ������� ������� ���
 	  ������������ FreeBSD � ����������, ����� ���������, �������
@@ -392,7 +393,7 @@
     </varlistentry>
 
     <varlistentry>
-      <term><emphasis><xref linkend="mac">, �������������� �������� ������� (MAC)</emphasis></term>
+      <term><emphasis><xref linkend="mac"/>, �������������� �������� ������� (MAC)</emphasis></term>
       <listitem>
 	<para>��������� ��� ����� �������������� �������� �������
 	  (Mandatory Access Control, MAC) � ��� ���� �������� �����
@@ -401,7 +402,7 @@
     </varlistentry>
 
     <varlistentry>
-      <term><emphasis><xref linkend="disks">, ���������� ��������</emphasis></term>
+      <term><emphasis><xref linkend="disks"/>, ���������� ��������</emphasis></term>
       <listitem>
 	<para>��������� ��� ��������� ������������ ���������� � ���������
 	  ��������� � FreeBSD, ������� ���������� �����, ������� RAID,
@@ -411,7 +412,7 @@
     </varlistentry>
 
     <varlistentry>
-      <term><emphasis><xref linkend="geom">, GEOM</emphasis></term>
+      <term><emphasis><xref linkend="GEOM"/>, GEOM</emphasis></term>
       <listitem>
 	<para>������������ � ���������� GEOM � FreeBSD � ��������� ���������
 	  �������������� ������ RAID.</para>
@@ -419,7 +420,7 @@
     </varlistentry>
 
     <varlistentry>
-      <term><emphasis><xref linkend="filesystems">, ��������� ��������
+      <term><emphasis><xref linkend="filesystems"/>, ��������� ��������
 	������</emphasis></term>
       <listitem>
 	<para>��������� ��������� ���������� �������� ������ �� FreeBSD,
@@ -428,7 +429,7 @@
     </varlistentry>
 
     <varlistentry>
-      <term><emphasis><xref linkend="vinum-vinum">, �������� ���������
+      <term><emphasis><xref linkend="vinum-vinum"/>, �������� ���������
 	 ������������ Vinum</emphasis></term>
       <listitem>
 	<para>������������ ��� ������������ Vinum, �������� ����������
@@ -439,7 +440,7 @@
     </varlistentry>
 
     <varlistentry>
-      <term><emphasis><xref linkend="l10n">, ����������� &mdash; I18N/L10N
+      <term><emphasis><xref linkend="l10n"/>, ����������� &mdash; I18N/L10N
 	 ������������� � ���������</emphasis></term>
       <listitem>
 	<para>��������� ������������� FreeBSD � �������, ��������� ��
@@ -449,7 +450,7 @@
     </varlistentry>
 
     <varlistentry>
-      <term><emphasis><xref linkend="cutting-edge">, �� �������� ���� ����������</emphasis></term>
+      <term><emphasis><xref linkend="cutting-edge"/>, �� �������� ���� ����������</emphasis></term>
       <listitem>
 	<para>��������� �������� ����� FreeBSD-STABLE, FreeBSD-CURRENT �
 	  FreeBSD-RELEASE.  ������������, ���� �� ������������� ����� �������
@@ -461,7 +462,7 @@
 <!-- Part IV - Network Communications -->
 
     <varlistentry>
-      <term><emphasis><xref linkend="serialcomms">, ���������������� ����������</emphasis></term>
+      <term><emphasis><xref linkend="serialcomms"/>, ���������������� ����������</emphasis></term>
       <listitem>
 	<para>���������, ��� ���������� ��������� � ������ � �����
 	  ������� FreeBSD, ��� �
@@ -470,7 +471,7 @@
     </varlistentry>
 
     <varlistentry>
-      <term><emphasis><xref linkend="ppp-and-slip">, PPP � SLIP</emphasis></term>
+      <term><emphasis><xref linkend="ppp-and-slip"/>, PPP � SLIP</emphasis></term>
       <listitem>
 	<para>��������� ������������� PPP, SLIP ��� PPP ����� Ethernet ���
 	  ���������� � ���̣����� ��������� ��� ������ FreeBSD.</para>
@@ -478,7 +479,7 @@
     </varlistentry>
 
     <varlistentry>
-      <term><emphasis><xref linkend="mail">, ����������� �����</emphasis></term>
+      <term><emphasis><xref linkend="mail"/>, ����������� �����</emphasis></term>
       <listitem>
 	<para>��������� ������������� ��������� ����������� ��������� ������� �
 	  ����� �����̣��� ������������� ������� ������� ������������ ���
@@ -488,7 +489,7 @@
     </varlistentry>
 
     <varlistentry>
-      <term><emphasis><xref linkend="network-servers">, ������� �������</emphasis></term>
+      <term><emphasis><xref linkend="network-servers"/>, ������� �������</emphasis></term>
       <listitem>
 	<para>������������� ��������� ���������� � ������� ������ ���������
 	  ��� ������������� ���������� � FreeBSD � �������� ���������
@@ -499,7 +500,7 @@
     </varlistentry>
 
     <varlistentry>
-      <term><emphasis><xref linkend="firewalls">, �����������</emphasis></term>
+      <term><emphasis><xref linkend="firewalls"/>, �����������</emphasis></term>
       <listitem>
 	<para>��������� ��������, �� ������� �������� �����������
 	  �����������, � �������� ������ ���������������� ���������
@@ -508,7 +509,7 @@
     </varlistentry>
 
     <varlistentry>
-      <term><emphasis><xref linkend="advanced-networking">, ������� ������� ������ � ����</emphasis></term>
+      <term><emphasis><xref linkend="advanced-networking"/>, ������� ������� ������ � ����</emphasis></term>
       <listitem>
 	<para>������������� ��������� �������� ������ � �����, �������
 	  ���������� ������ ����������� ����� ��������� ���� � ��������,
@@ -520,7 +521,7 @@
 <!-- Part V - Appendices -->
 
     <varlistentry>
-      <term><emphasis><xref linkend="mirrors">, ��������� FreeBSD </emphasis></term>
+      <term><emphasis><xref linkend="mirrors"/>, ��������� FreeBSD </emphasis></term>
       <listitem>
 	<para>����������� ��������� ���������, �� ������� ����� ��������
 	  FreeBSD �� CDROM ��� DVD, ����� ��� � ��������� ����� � ��������, �
@@ -529,7 +530,7 @@
     </varlistentry>
 
     <varlistentry>
-      <term><emphasis><xref linkend="bibliography">, ������������ </emphasis></term>
+      <term><emphasis><xref linkend="bibliography"/>, ������������ </emphasis></term>
       <listitem>
 	<para>��� ����� �������� ������ ��������� ���, ������� �����
 	  ����������� ��� �� ����� ��������� ��������.  ������������
@@ -539,7 +540,7 @@
     </varlistentry>
 
     <varlistentry>
-      <term><emphasis><xref linkend="eresources">, ������� � ��������</emphasis></term>
+      <term><emphasis><xref linkend="eresources"/>, ������� � ��������</emphasis></term>
       <listitem>
 	<para>��������� ��������� �������, ��������� ��� ������������� FreeBSD,
 	  ��� ����� ������ ������� � ������������� � �����������
@@ -548,20 +549,20 @@
     </varlistentry>
 
     <varlistentry>
-      <term><emphasis><xref linkend="pgpkeys">, ����� PGP</emphasis></term>
+      <term><emphasis><xref linkend="pgpkeys"/>, ����� PGP</emphasis></term>
       <listitem>
 	<para>�������� ����� PGP ��������� ������������� FreeBSD.</para>
       </listitem>
     </varlistentry>
   </variablelist>
 
-  <bridgehead id="preface-conv" renderas=sect1>��������������, ������������ �
+  <bridgehead id="preface-conv" renderas="sect1">��������������, ������������ �
     ���� �����</bridgehead>
 
     <para>��� ���� ����� ���������� ����������� � �������� ������ ������ �
       ������ �����, �� ��������� ��������� ������ң������.</para>
 
-  <bridgehead id="preface-conv-typographic" renderas=sect2>���������������
+  <bridgehead id="preface-conv-typographic" renderas="sect2">���������������
     ������ң������</bridgehead>
 
   <variablelist>
@@ -594,7 +595,7 @@
 
 <!-- Var list -->
   <bridgehead id="preface-conv-commands"
-  renderas=sect2>���������������� ����</bridgehead>
+  renderas="sect2">���������������� ����</bridgehead>
 
   <para>������� �������������� � ���� <keycap>����������� ������</keycap> ���
     ����, ����� ���������� ����� ���������� ������.  ���������� ������, �������
@@ -633,7 +634,7 @@
 
 <!-- How to type in key stokes, etc..  -->
   <bridgehead id="preface-conv-examples"
-  renderas=sect2>�������</bridgehead>
+  renderas="sect2">�������</bridgehead>
 
   <para>�������, ������� ���������� � <devicename>E:\&gt;</devicename>
     ���������� ������� &ms-dos;.  ���� �� ������� ���������, ��� ������� �����
@@ -658,7 +659,7 @@
   <screen>&prompt.user; <userinput>top</userinput></screen>
 
   <bridgehead id="preface-acknowledgements"
-  renderas=sect1>�������������</bridgehead>
+  renderas="sect1">�������������</bridgehead>
 
   <para>�����, ������� �� ������� � ����� ������ ����� ��������� ����� ������
     ����� ����� �� ����� ����.  �� ����� ��������, ��������� �� ��� �����������
diff --git a/ru_RU.KOI8-R/books/handbook/printing/chapter.sgml b/ru_RU.KOI8-R/books/handbook/printing/chapter.sgml
index 4d9f93826c..8825040fd4 100644
--- a/ru_RU.KOI8-R/books/handbook/printing/chapter.sgml
+++ b/ru_RU.KOI8-R/books/handbook/printing/chapter.sgml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -98,7 +99,7 @@
     <itemizedlist>
       <listitem>
 	<para>�����, ��� ���������������� � ���������� ����� ����
-	  (<xref linkend="kernelconfig">).</para>
+	  (<xref linkend="kernelconfig"/>).</para>
       </listitem>
     </itemizedlist>
   </sect1>
@@ -126,8 +127,9 @@
 	  ���������, ������������ � ������ ������ � ����.</para>
       </listitem>
 
-      <indexterm><primary>������� ������</primary></indexterm>
       <listitem>
+	<indexterm><primary>������� ������</primary></indexterm>
+
 	<para>��� ��������� ������������� �������� ����� �� ������; ���
 	  ������
 	  �������� <emphasis>���������</emphasis>.</para>
@@ -188,8 +190,9 @@
 	    ��� �� �������� �����, ���� ������ ����� ����������� �� �������.</para>
 	</listitem>
 
-	<indexterm><primary>&tex;</primary></indexterm>
 	<listitem>
+	  <indexterm><primary>&tex;</primary></indexterm>
+
 	  <para><application>LPD</application> ��������� ����� ����������
 	    ������� ������ ����� ������� ��� ���������� ���������� �
 	    �����/�������� ��� �������������� ������������ ������� ������
@@ -294,11 +297,12 @@
 	    �����������:</para>
 
 	  <itemizedlist>
-	    <indexterm>
-	      <primary>��������</primary>
-	      <secondary>����������������</secondary>
-	    </indexterm>
 	    <listitem>
+	      <indexterm>
+		<primary>��������</primary>
+		<secondary>����������������</secondary>
+	      </indexterm>
+
 	      <para><emphasis>����������������</emphasis> ����������, �����
 	        ��������� ��� RS-232, ��� COM-�����, ����������
 		��� ������� ������ �� ������� ���������������� ���� 
@@ -313,11 +317,12 @@
 		��������.</para>
 	    </listitem>
 
-	    <indexterm>
-	      <primary>��������</primary>
-	      <secondary>������������</secondary>
-	    </indexterm>
 	    <listitem>
+	      <indexterm>
+		<primary>��������</primary>
+		<secondary>������������</secondary>
+	      </indexterm>
+
 	      <para><emphasis>������������</emphasis> ���������� ����������
 		������������ ���� ���������� ��� ������� ������ �� �������.
 		������������ ���������� ������ �������������� �� ����� ��
@@ -336,12 +341,12 @@
 		������� �� ��������.</para>
 	    </listitem>
 
+	    <listitem>
 	      <indexterm>
 		<primary>��������</primary>
 		<secondary>USB</secondary>
 	      </indexterm>
 
-	    <listitem>
 	      <para>���������� USB (���������� �� Universal Serial
 		Bus &mdash; ������������� ���������������� ����), ����� ��������
 		�� ��� ������� ���������, ��� ������������ ��� 
@@ -422,8 +427,9 @@
 		������� <quote>DTE-to-DCE</quote>.</para>
 	    </listitem>
 
-	    <indexterm><primary>����-�������� ������</primary></indexterm>
 	    <listitem>
+	      <indexterm><primary>����-�������� ������</primary></indexterm>
+
 	      <para><emphasis>����-��������</emphasis> ������ ��������� �����
 		�������� ��������, ������ &mdash; ������ (��������� ������ �� ��ɣ�
 		������, ��������), � ��������� &mdash; ������������ �� ������ �������.
@@ -897,8 +903,9 @@ showpage</programlisting>
 	      <link linkend="printing-naming">���������� ��������</link>.</para>
 	  </step>
 
-	  <indexterm><primary>��������� ��������</primary></indexterm>
 	  <step>
+	    <indexterm><primary>��������� ��������</primary></indexterm>
+
 	    <para>��������� ������ ��������� ������� (������� �� ��������� ��������),
 	      ������� �������������� <literal>sh</literal>; ��������� ��
 	      ���� ��. � �������
@@ -1630,11 +1637,12 @@ $%&amp;'()*+,-./01234567
 	    </para>
 	  </listitem>
 
-      <indexterm>
-      <primary>������</primary>
-      <secondary>�������</secondary>
-    </indexterm>
 	  <listitem>
+	    <indexterm>
+	      <primary>������</primary>
+	      <secondary>�������</secondary>
+	    </indexterm>
+
 	    <para><emphasis>������ ��������������</emphasis> �����������
 	      ����������� ������ ����� � ��, ��� ������� ����� �������������
 	      �� ������. ��������, ������ ������� ������ ditroff ������ ��������
@@ -4520,8 +4528,9 @@ cfA013rose dequeued
       <varlistentry>
 	<term>LPRng</term>
 
-	 <indexterm><primary>LPRng</primary></indexterm>
 	 <listitem>
+	  <indexterm><primary>LPRng</primary></indexterm>
+
 	  <para>������� <application>LPRng</application>, ��� ������� ��������
 	    <quote>LPR: the Next Generation</quote> (LPR: ��������� ���������) &mdash;
 	    ��� ��������� ������������ ������� PLP. ������ ����� (Patrick Powell)
@@ -4535,8 +4544,9 @@ cfA013rose dequeued
       <varlistentry>
 	<term>CUPS</term>
 
-	<indexterm><primary>CUPS</primary></indexterm>
 	<listitem>
+	  <indexterm><primary>CUPS</primary></indexterm>
+
 	  <para>������� <application>CUPS</application> (���������� �� Common
 	    UNIX Printing System) ������������� ����������� �������� ������ ���
 	    ������������ ������, ���������� �� &unix;. ��� ���� �����������
diff --git a/ru_RU.KOI8-R/books/handbook/security/chapter.sgml b/ru_RU.KOI8-R/books/handbook/security/chapter.sgml
index 65afe1ba4a..15f1941926 100644
--- a/ru_RU.KOI8-R/books/handbook/security/chapter.sgml
+++ b/ru_RU.KOI8-R/books/handbook/security/chapter.sgml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
 <!--
      The FreeBSD Documentation Project
 
@@ -116,8 +117,8 @@
     <para>� ���� ����� ����������� � ������ ������� ������������.
       ��������, �������������� �������� ������� (Mandatory Access
       Control) ��������������� � <xref
-      linkend="mac">, � ����������� � <xref
-      linkend="firewalls">.</para>
+      linkend="mac"/>, � ����������� � <xref
+      linkend="firewalls"/>.</para>
 
   </sect1>
 
@@ -943,7 +944,7 @@
 	����� ������� �� ������������ � ������ � ��������� ��������.
 	� ���� ��, �� ��������� Kerberos �� ������� ������, ���� �� ��
 	����������� �������� <option>-x</option>.
-	<application>ssh</application> ������� ��� �� ���������.
+	<application>ssh</application> ������� ��� �� ���������.</para>
 
       <para>ssh �������� ����� ������ �� ���� ���������, �� ����������
 	����� �� ���������.  ��� ��������, ��� ���� �� ��������� �
@@ -1319,10 +1320,10 @@ Enter secret pass phrase: <userinput>&lt;secret password&gt;</userinput>
       </authorgroup>
     </sect1info>
 
-    <indexterm><primary>TCP Wrappers</primary></indexterm>
-
     <title>TCP Wrappers</title>
 
+    <indexterm><primary>TCP Wrappers</primary></indexterm>
+
     <para>������, ��� ������ � &man.inetd.8;, �������� �����-�� ������
       � <acronym>TCP</acronym> Wrappers.  �� �������� ���������
       �������� �� ���������� � ������� �����: �����������
@@ -1973,7 +1974,7 @@ May  2 20:43:12  May  3 04:43:12  krbtgt.EXAMPLE.COM@EXAMPLE.COM</screen>
 	��������� ������������ &man.su.1; ��� ������� �
 	<username>root</username>, ���� ��������������� ������ ���������
 	� ����� <filename>.klogin</filename> ��������� ��������
-	<username>root</username>:
+	<username>root</username>:</para>
 
       <screen>&prompt.root; <userinput>cat /root/.klogin</userinput>
 jane.root@EXAMPLE.COM</screen>
@@ -2526,7 +2527,7 @@ jdoe@example.org</screen>
 	  <listitem>
 	    <para>��� �� ���������� � �������� ������� realm
 	      ���������������� �� �������?  ���� ���, �������������� �����
-	      ����������� ��������.  <xref linkend="network-ntp"> ���������
+	      ����������� ��������.  <xref linkend="network-ntp"/> ���������
 	      ��� ���������������� ���� � ��������������
 	      <acronym>NTP</acronym>.</para>
 	  </listitem>
@@ -3045,12 +3046,12 @@ Connection closed by foreign host.</screen>
       </authorgroup>
     </sect1info>
 
+    <title>VPN ����� IPsec</title>
+
     <indexterm>
       <primary>IPsec</primary>
     </indexterm>
 
-    <title>VPN ����� IPsec</title>
-
     <para>�������� VPN ����� ����� ������, ������������ ����� ��������,
       � �������������� ������ FreeBSD.</para>
 
@@ -3074,7 +3075,7 @@ Connection closed by foreign host.</screen>
 	������������� � ����� FreeBSD � <application>&microsoft.windows;
 	2000/XP</application>, ����������� ���������� ��������.
 	��� ��������� IPsec ���������� ������������ � ���������
-	������ ���� (<xref linkend="kernelconfig">).</para>
+	������ ���� (<xref linkend="kernelconfig"/>).</para>
 
       <para><emphasis>IPsec</emphasis> ��� ��������, ������������� ������
 	���� Internet Protocol (IP).  �� ��������� ���� ��� ����� ������
@@ -3265,7 +3266,7 @@ options   IPSEC_DEBUG  #debug for IP security
 
       <mediaobject>
 	<imageobject>
-	  <imagedata fileref="security/ipsec-network" align="center">
+	  <imagedata fileref="security/ipsec-network" align="center"/>
 	</imageobject>
 
 	<textobject>
@@ -3754,7 +3755,7 @@ ipfw add 1 allow udp from W.X.Y.Z to A.B.C.D isakmp
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="security/ipsec-out-pkt" align="center">
+	    <imagedata fileref="security/ipsec-out-pkt" align="center"/>
 	  </imageobject>
 
 	  <textobject>
@@ -3774,7 +3775,7 @@ ipfw add 1 allow udp from W.X.Y.Z to A.B.C.D isakmp
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="security/ipsec-encap-pkt" align="center">
+	    <imagedata fileref="security/ipsec-encap-pkt" align="center"/>
 	  </imageobject>
 
 	  <textobject>
@@ -3904,13 +3905,13 @@ ipfw add 1 allow ipencap from W.X.Y.Z to A.B.C.D
       </programlisting>
 
       <para>��������� ������� �����������, ����� ������������ �� ���
-	��������� �� ����� ������
+	��������� �� ����� ������</para>
 
       <para>��������� ������ ������ ����� ��������� �������� ���:</para>
 
 	<mediaobject>
 	  <imageobject>
-	    <imagedata fileref="security/ipsec-crypt-pkt" align="center">
+	    <imagedata fileref="security/ipsec-crypt-pkt" align="center"/>
 	  </imageobject>
 
 	  <textobject>
@@ -4226,7 +4227,7 @@ bb:48:db:f2:93:57:80:b6:aa:bc:f5:d5:ba:8f:79:17 user@host.example.com
 	��� ��� ������������� ���������� ����� �� ����� �������������
 	� ������������.  ��� ����, ����� �������� ������������ ������
 	������� �����, ����� ������������ ������� &man.ssh-agent.1;,
-	��� ������� � ������� <xref linkend="security-ssh-agent">
+	��� ������� � ������� <xref linkend="security-ssh-agent"/>
 	����.</para>
 
       <warning><para>��������� � ����� ������ ����� ����������� ��� ������
@@ -4500,10 +4501,12 @@ user@unfirewalled-system.example.org's password: <userinput>*******</userinput><
 	</author>
       </authorgroup>
     </sect1info>
+
+    <title>������ �������� ������� �������� ������� (ACL)</title>
+
     <indexterm>
       <primary>ACL</primary>
     </indexterm>
-    <title>������ �������� ������� �������� ������� (ACL)</title>
 
     <para>� ���������� � ������ ����������� �������� �������, ����� ���
       ������ (snapshots), FreeBSD 5.0 � ����� ������� ������ �������
@@ -4646,13 +4649,13 @@ drwxr-xr-x  2 robert  robert  512 Nov 10 11:54 public_html</programlisting>
       </authorgroup>
     </sect1info>
 
+    <title>���������� �������� ������������ � �� ���������
+      �������������</title>
+
     <indexterm>
       <primary>Portaudit</primary>
     </indexterm>
 
-    <title>���������� �������� ������������ � �� ���������
-      �������������</title>
-
     <para>� ��������� ���� � ������� �������������� ������������ ���������
       ����� ���������, ���������� ��������� ������ ����������.  ������
       ������������� � ������� ������������� ������ � ���������� � ����������
@@ -4738,10 +4741,12 @@ You are advised to update or deinstall the affected package(s) immediately.</pro
 	</author>
       </authorgroup>
     </sect1info>
+
+    <title>��������� ������������ &os;</title>
+
     <indexterm>
       <primary>��������� ������������ FreeBSD</primary>
     </indexterm>
-    <title>��������� ������������ &os;</title>
 
     <para>��� ������ � ������������������ ������������ �������, &os;
       ��������� <quote>��������� ������������</quote> (<quote>Security
@@ -4761,13 +4766,13 @@ You are advised to update or deinstall the affected package(s) immediately.</pro
 &os;-SA-XX:XX.UTIL                                     Security Advisory
                                                           The &os; Project
 
-Topic:          denial of service due to some problem<co id="co-topic">
+Topic:          denial of service due to some problem<co id="co-topic"/>
 
-Category:       core<co id="co-category">
-Module:         sys<co id="co-module">
-Announced:      2003-09-23<co id="co-announce">
-Credits:        Person@EMAIL-ADDRESS<co id="co-credit">
-Affects:        All releases of &os;<co id="co-affects">
+Category:       core<co id="co-category"/>
+Module:         sys<co id="co-module"/>
+Announced:      2003-09-23<co id="co-announce"/>
+Credits:        Person@EMAIL-ADDRESS<co id="co-credit"/>
+Affects:        All releases of &os;<co id="co-affects"/>
                 &os; 4-STABLE prior to the correction date
 Corrected:      2003-09-23 16:42:59 UTC (RELENG_4, 4.9-PRERELEASE)
                 2003-09-23 20:08:42 UTC (RELENG_5_1, 5.1-RELEASE-p6)
@@ -4777,33 +4782,33 @@ Corrected:      2003-09-23 16:42:59 UTC (RELENG_4, 4.9-PRERELEASE)
                 2003-09-23 16:49:46 UTC (RELENG_4_6, 4.6-RELEASE-p21)
                 2003-09-23 16:51:24 UTC (RELENG_4_5, 4.5-RELEASE-p33)
                 2003-09-23 16:52:45 UTC (RELENG_4_4, 4.4-RELEASE-p43)
-                2003-09-23 16:54:39 UTC (RELENG_4_3, 4.3-RELEASE-p39)<co id="co-corrected">
-<acronym>CVE</acronym> Name:   CVE-XXXX-XXXX<co id="co-cve">
+                2003-09-23 16:54:39 UTC (RELENG_4_3, 4.3-RELEASE-p39)<co id="co-corrected"/>
+<acronym>CVE</acronym> Name:   CVE-XXXX-XXXX<co id="co-cve"/>
 
 For general information regarding FreeBSD Security Advisories,
 including descriptions of the fields above, security branches, and the
 following sections, please visit
 http://www.FreeBSD.org/security/.
 
-I.   Background<co id="co-backround">
+I.   Background<co id="co-backround"/>
 
 
-II.  Problem Description<co id="co-descript">
+II.  Problem Description<co id="co-descript"/>
 
 
-III. Impact<co id="co-impact">
+III. Impact<co id="co-impact"/>
 
 
-IV.  Workaround<co id="co-workaround">
+IV.  Workaround<co id="co-workaround"/>
 
 
-V.   Solution<co id="co-solution">
+V.   Solution<co id="co-solution"/>
 
 
-VI.  Correction details<co id="co-details">
+VI.  Correction details<co id="co-details"/>
 
 
-VII. References<co id="co-ref"></programlisting>
+VII. References<co id="co-ref"/></programlisting>
 
 
       <calloutlist>
@@ -4869,6 +4874,7 @@ VII. References<co id="co-ref"></programlisting>
 	<callout arearefs="co-cve">
 	  <para>��������������� ��� ������������� ���������� � ����� ����
 	    ������ CVD (Common Vulnerabilities Database).</para>
+	</callout>
 
 	<callout arearefs="co-backround">
 	  <para>���� <literal>Background</literal> ���� ���������� ������
@@ -4939,12 +4945,12 @@ VII. References<co id="co-ref"></programlisting>
       </authorgroup>
     </sect1info>
 
+    <title>�ޣ� ������������ ��������</title>
+
     <indexterm>
       <primary>�ޣ� ������������ ��������</primary>
     </indexterm>
 
-    <title>�ޣ� ������������ ��������</title>
-
     <para>�ޣ� ������������ ���������� �������� ������������ ����� �����
       ������, ��� ������� ������������� ����� ����������� �������������
       ��������� �������� � �� ������������� ����� �������������� ��� ����
diff --git a/ru_RU.KOI8-R/books/handbook/serialcomms/chapter.sgml b/ru_RU.KOI8-R/books/handbook/serialcomms/chapter.sgml
index caaa06cc73..c9571aa078 100644
--- a/ru_RU.KOI8-R/books/handbook/serialcomms/chapter.sgml
+++ b/ru_RU.KOI8-R/books/handbook/serialcomms/chapter.sgml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -46,9 +47,9 @@
     <para>����� ���������� ���� ����� ��� �����������:</para>
     <itemizedlist>
       <listitem><para>������ ��� ����������� � ������������� ����� ���� (<xref
-	linkend="kernelconfig">).</para></listitem>
+	linkend="kernelconfig"/>).</para></listitem>
       <listitem><para>������, ��� ����� ����� ������� � �������� &unix; (<xref
-	linkend="basics">).</para></listitem>
+	linkend="basics"/>).</para></listitem>
       <listitem><para>����� ����� ��� ����������� ����������� ����������� ��
 	���������������� ������������ (����� ��� �������������� �����),
 	������� �� ������ ������������ � FreeBSD.</para></listitem>
@@ -76,8 +77,8 @@
 
 	<varlistentry>
 	  <term>DTE</term>
-	  <indexterm><primary>DTE</primary></indexterm>
 	  <listitem>
+	    <indexterm><primary>DTE</primary></indexterm>
 	    <para>������������ ������������ (Data Terminal Equipment)
 	      &mdash; ��������, ��� ���������</para>
 	  </listitem>
@@ -85,8 +86,8 @@
 
 	<varlistentry>
 	  <term>DCE</term>
-	  <indexterm><primary>DCE</primary></indexterm>
 	  <listitem>
+	    <indexterm><primary>DCE</primary></indexterm>
 	    <para>������������ ����� (Data Communications Equipment)
 	      &mdash; ��� �����</para>
 	  </listitem>
@@ -94,8 +95,8 @@
 
 	<varlistentry>
 	  <term>RS-232</term>
-	  <indexterm><primary>������ RS-232C</primary></indexterm>
 	  <listitem>
+	    <indexterm><primary>������ RS-232C</primary></indexterm>
 	    <para>�������� EIA ��� ���������� ����������������
 	      ����������</para>
 	  </listitem>
@@ -804,7 +805,7 @@ sio3: type 16550A</screen>
 	��� ��������� ��������� ����������������� �����, � �������� ��
 	���������.</para>
 
-      <para>���������� � ����� <xref linkend="boot"> �� ����������� �
+      <para>���������� � ����� <xref linkend="boot"/> �� ����������� �
 	�������� <command>init</command>, ���������� �� �������� ���
 	����� ���������� � �� ������������� ������� �� ����� ��������.
 	���� �� �����, ����������� <command>init</command> &mdash;
@@ -891,11 +892,11 @@ sio3: type 16550A</screen>
 	    ���:</para>
 
 	  <programlisting>ttyd1<co
-	      id="co-ttys-line1col1">  "/usr/libexec/getty std.38400"<co
-	      id="co-ttys-line1col2">  wy50<co
-	      id="co-ttys-line1col3">  on<co
-	      id="co-ttys-line1col4">  insecure<co
-	      id="co-ttys-line1col5">
+	      id="co-ttys-line1col1"/>  "/usr/libexec/getty std.38400"<co
+	      id="co-ttys-line1col2"/>  wy50<co
+	      id="co-ttys-line1col3"/>  on<co
+	      id="co-ttys-line1col4"/>  insecure<co
+	      id="co-ttys-line1col5"/>
 ttyd5   "/usr/libexec/getty std.19200"  vt100  on  insecure
 	  </programlisting>
 
@@ -1438,7 +1439,7 @@ vq|VH57600|Very High Speed Modem at 57600,8-bit:\
 	</indexterm>
 
 	<para>��������� ����� <filename>/etc/ttys</filename>
-	  ���� ������� � <xref linkend="ex-etc-ttys">.
+	  ���� ������� � <xref linkend="ex-etc-ttys"/>.
 	  ��������� ������� ������, �� ����������� ����������
 	  <command>getty</command> ��������� ��������� �
 	  ��������� ��������� ���� ����������.  ����� ������
@@ -1531,7 +1532,7 @@ vq|VH57600|Very High Speed Modem at 57600,8-bit:\
 	  (<literal>RTS/CTS</literal>).  �� ������ �������� �������
 	  <command>stty</command> � ����� <filename>/etc/rc.d/serial</filename>
 	  ��� ��������� ����� ����������� �������� �������� � ����
-	  FreeBSD ��� �������� ������.
+	  FreeBSD ��� �������� ������.</para>
 
 	<para>��������, ��� ��������� ����� <literal>termios</literal>
 	  <varname>crtscts</varname> �� ���������������� ����� ����� 1
@@ -2142,7 +2143,7 @@ raisechar=^^</programlisting>
 	��� ��������, � ��� �������������, ������������ ������� ���� ���
 	��������� ���������.</para>
 
-      <para>��� ������� � <xref linkend="boot">, ������� �������� FreeBSD
+      <para>��� ������� � <xref linkend="boot"/>, ������� �������� FreeBSD
 	������� �� ���� ������.  ������ ��� ������ ����������� � �����
 	��������, ����������� � ������ ������ FreeBSD �� �����������
 	�����.  �� ������ ������ ����������� ���� ��������� ���������
@@ -2193,7 +2194,7 @@ raisechar=^^</programlisting>
 
       <para>���� ��� ��������� ���� ������������, ���������� � �����
 	���������� �������� � �������
-	<xref linkend="serialconsole-howto">.</para>
+	<xref linkend="serialconsole-howto"/>.</para>
     </sect2>
 
     <sect2 id="serialconsole-howto">
@@ -2206,7 +2207,7 @@ raisechar=^^</programlisting>
 	  <indexterm><primary>����-�������� ������</primary></indexterm>
 	  <para>��� ����������� ����-�������� ��� �����������
 	    ���������������� ������ � ����-�������� �������.  ���������� �
-	    <xref linkend="serial-cables-ports">, ��� ���������������
+	    <xref linkend="serial-cables-ports"/>, ��� ���������������
 	    ���������������� ������.</para>
 	</step>
 
@@ -2518,7 +2519,7 @@ boot:</screen>
 	�������� �� ��� ��� ������ ������������� ����� ���������� ��������
 	� ���������������� �������� ����� ��������� ���������������
 	���������� ��������� � ����������.  ����������� � �������
-	<xref linkend="serialconsole-loader">.</para>
+	<xref linkend="serialconsole-loader"/>.</para>
     </sect2>
 
   <sect2 id="serialconsole-summary">
@@ -2672,7 +2673,7 @@ boot:</screen>
 
 	<programlisting>BOOT_COMCONSOLE_SPEED=19200</programlisting>
 
-	<para>���������� � <xref linkend="serialconsole-com2"> ��
+	<para>���������� � <xref linkend="serialconsole-com2"/> ��
 	  ���������� ������������ �� ������ � ��������� ����� �����������
 	  ������.</para>
 
@@ -2698,7 +2699,7 @@ boot:</screen>
 	<procedure>
 	  <step>
 	    <para>�������� �������� ������ ���� (�����
-	      <xref linkend="cutting-edge">)</para>
+	      <xref linkend="cutting-edge"/>)</para>
 	  </step>
 
 	  <step>
@@ -2868,7 +2869,7 @@ start</programlisting>
 	<para>��� ����������� ����������������� ��������� ��� �������������
 	  ��������� �� <devicename>sio0</devicename> ����������������� �����
 	  � �������� �������.  �������� ���������, ��������� � �������
-	  <xref linkend="serialconsole-com2">.</para>
+	  <xref linkend="serialconsole-com2"/>.</para>
       </sect3>
     </sect2>
 
diff --git a/ru_RU.KOI8-R/books/handbook/txtfiles.ent b/ru_RU.KOI8-R/books/handbook/txtfiles.ent
index e720dcdc7a..0781b8a360 100644
--- a/ru_RU.KOI8-R/books/handbook/txtfiles.ent
+++ b/ru_RU.KOI8-R/books/handbook/txtfiles.ent
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="koi8-r"?>
 <!--
      The FreeBSD Russian Documentation Project
 
diff --git a/ru_RU.KOI8-R/books/handbook/users/chapter.sgml b/ru_RU.KOI8-R/books/handbook/users/chapter.sgml
index 36eb38f618..7be3de460e 100644
--- a/ru_RU.KOI8-R/books/handbook/users/chapter.sgml
+++ b/ru_RU.KOI8-R/books/handbook/users/chapter.sgml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -36,7 +37,7 @@
       �� ����������� � ����� ������� � ���� ������ �������
       <footnote>
 	<para>�������, ���� �� ������������ ��������� ����������, �� ��
-	  ������� ��� ���� ��� <xref linkend="serialcomms">.</para>
+	  ������� ��� ���� ��� <xref linkend="serialcomms"/>.</para>
       </footnote>, �� ����� ���������� ������������� ����� ��������� ������
       ����� ����.  ��� ������������� ������� � ������� ������������ ������
       ���� ������� ������.</para>
@@ -79,7 +80,7 @@
     <itemizedlist>
       <listitem>
 	<para>��������� ����� &unix; � FreeBSD (<xref
-	  linkend="basics">).</para>
+	  linkend="basics"/>).</para>
       </listitem>
     </itemizedlist>
   </sect1>
@@ -150,7 +151,7 @@
 
 	<listitem>
 	  <para>GID ��� �����, ����������� �� 0 ��
-	    65535<footnoteref linkend="users-largeuidgid">, ������������
+	    65535<footnoteref linkend="users-largeuidgid"/>, ������������
 	    ��� ����������� ������������� ������� ������, � �������
 	    ����������� ������������.  ������ ��� �������� ��� ��������
 	    ������� � �������� �� ������ GID ������������ ������ ��� UID.
@@ -359,8 +360,8 @@
 
     <informaltable frame="none" pgwide="1">
       <tgroup cols="2">
-	<colspec colwidth="1*">
-	<colspec colwidth="2*">
+	<colspec colwidth="1*"/>
+	<colspec colwidth="2*"/>
 	<thead>
 	  <row>
 	    <entry>�������</entry>
@@ -606,7 +607,7 @@ Other information:</screen>
 	  &man.ypchsh.1;.  NIS �������������� �������������, ��� ���
 	  �������� <literal>yp</literal> ����� �������� �� �����������.
 	  ���� ��� ���������, �� ������������, NIS ����� ���������� �
-	  <xref linkend="network-servers">.</para>
+	  <xref linkend="network-servers"/>.</para>
       </note>
     </sect2>
     <sect2 id="users-passwd">
@@ -695,7 +696,7 @@ passwd: done</screen>
     <para>�������� ����� ������������ ����� ������������, �����������
       ��������������, ��� ������ ������� �������� ������ ��� ����������
       ��� ������ ���.  ����� ����������� � <xref
-      linkend="quotas">.</para>
+      linkend="quotas"/>.</para>
 
     <para>������ ����������� �������� �������� ������� �����������
       ������������� CPU, ������ � ������ ��������, ������� ����� ������������
diff --git a/ru_RU.KOI8-R/books/handbook/vinum/chapter.sgml b/ru_RU.KOI8-R/books/handbook/vinum/chapter.sgml
index 41e4896d57..f86bb4f31f 100644
--- a/ru_RU.KOI8-R/books/handbook/vinum/chapter.sgml
+++ b/ru_RU.KOI8-R/books/handbook/vinum/chapter.sgml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
 <!--
 	The FreeBSD Russian Documentation Project
 
@@ -74,7 +75,7 @@
 
     <note><para>������� � ������ 5 &os;, ���������� Vinum ���� ���������� ���
       ����, ����� ����� ����������� � ������������ GEOM (��.
-      <xref linkend="GEOM">), ��� ���������� �������� ����, ������������
+      <xref linkend="GEOM"/>), ��� ���������� �������� ����, ������������
       � ������� �������� �� ����� ����������.  ����� ���������� ����������
       <emphasis>gvinum</emphasis> (���������� �� <emphasis>GEOM
       vinum</emphasis>).  ���������� ����� ������ ���������� ������
@@ -135,7 +136,7 @@
       ��������� ���������.  ������ �������� ����� ��������������� ���
       ���������: ��� �������� ������ �� ���������.</para>
 
-    <para><anchor id="vinum-latency">
+    <para><anchor id="vinum-latency"/>
       ���������� �������� ������ �� �������� 10&nbsp;kB ����������.  �����������
       ���������������������� ����� �������� ������� � ������ ������� � �������
       �� 3.5&nbsp;������������.  ����� ������� ����� ��������� �� ���������
@@ -182,12 +183,12 @@
       ����������.  � ������ ������������ �������� � ����� ������� �����
       ���������� ������������������ �� ����� �������.  ����������� �������� ��
       ���������� �������� �������� �������� �� <xref
-      linkend="vinum-concat">.</para>
+      linkend="vinum-concat"/>.</para>
 
     <para>
       <figure id="vinum-concat">
 	<title>����������� ���������� ������</title>
-	<graphic fileref="vinum/vinum-concat">
+	<graphic fileref="vinum/vinum-concat"/>
       </figure>
     </para>
 
@@ -225,12 +226,12 @@
       ������� �� ������ �����), ���� ������������ ����� �����������
       ������������� �������� �� ���������� ������.  ������������� ������ ��
       ���������� ������ � ������ striping ��������������
-      <xref linkend="vinum-striped">.</para>
+      <xref linkend="vinum-striped"/>.</para>
 
     <para>
       <figure id="vinum-striped">
 	<title>����������� � ������������</title>
-	<graphic fileref="vinum/vinum-striped">
+	<graphic fileref="vinum/vinum-striped"/>
       </figure>
     </para>
   </sect1>
@@ -296,7 +297,7 @@
       <para>
 	<figure id="vinum-raid5-org">
 	  <title>����������� RAID-5</title>
-	  <graphic fileref="vinum/vinum-raid5-org">
+	  <graphic fileref="vinum/vinum-raid5-org"/>
 	</figure>
       </para>
 
@@ -439,7 +440,7 @@
       </itemizedlist>
 
       <para>������������ � ���������� ��������� ������� ����������� �������
-	������� � <xref linkend="vinum-comparison">.</para>
+	������� � <xref linkend="vinum-comparison"/>.</para>
 
       <table id="vinum-comparison" frame="none">
 	<title>������ ����������� ������� Vinum</title>
@@ -562,12 +563,12 @@
 
       <para>�� ���� ������� �������� ������� ������ ������ &man.gvinum.8;.
         ���������� ��������� ���� ��� ����������� ��
-	<xref linkend="vinum-simple-vol">.</para>
+	<xref linkend="vinum-simple-vol"/>.</para>
 
       <para>
 	<figure id="vinum-simple-vol">
 	  <title>������� ��� Vinum</title>
-	  <graphic fileref="vinum/vinum-simple-vol">
+	  <graphic fileref="vinum/vinum-simple-vol"/>
 	</figure>
       </para>
 
@@ -626,13 +627,13 @@
 	S mirror.p0.s0          State: up       PO:        0  B Size:        512 MB
 	S mirror.p1.s0          State: empty    PO:        0  B Size:        512 MB</programlisting>
 
-      <para><xref linkend="vinum-mirrored-vol"> ������������ ���������
+      <para><xref linkend="vinum-mirrored-vol"/> ������������ ���������
 	����������� ����.</para>
 
       <para>
 	<figure id="vinum-mirrored-vol">
 	  <title>��������������� ��� Vinum</title>
-	  <graphic fileref="vinum/vinum-mirrored-vol">
+	  <graphic fileref="vinum/vinum-mirrored-vol"/>
 	</figure>
       </para>
 
@@ -698,12 +699,12 @@
       <para>
 	<figure id="vinum-striped-vol">
 	  <title>��� � ������������</title>
-	  <graphic fileref="vinum/vinum-striped-vol">
+	  <graphic fileref="vinum/vinum-striped-vol"/>
 	</figure>
       </para>
 
       <para>������������� ��� ����������� ��
-	<xref linkend="vinum-striped-vol">.  ��������� �������������� ��������
+	<xref linkend="vinum-striped-vol"/>.  ��������� �������������� ��������
 	���������� ������������ �������� � �������� ������������ ������ (��
 	������� � ������).</para>
     </sect2>
@@ -711,7 +712,7 @@
     <sect2>
       <title>������������������ � ������������������ ������������</title>
 
-      <para><anchor id="vinum-resilience">
+      <para><anchor id="vinum-resilience"/>
 	��� ������� ������������ ���������� ������ ����� ������� ���,
 	���������� ���������� ������������������ � ������� ������������������
 	�� ��������� �� ������������ ��������� ��������� &unix;.  ��������
@@ -737,13 +738,13 @@
 	�� ������, ������������ ������� �������, �� ��������� ���� ��������� �
 	������ ����������� �����.</para>
 
-      <para><xref linkend="vinum-raid10-vol"> �������� ��������� ������
+      <para><xref linkend="vinum-raid10-vol"/> �������� ��������� ������
 	����.</para>
 
       <para>
 	<figure id="vinum-raid10-vol">
 	  <title>��������������� ��� � ������������</title>
-	  <graphic fileref="vinum/vinum-raid10-vol">
+	  <graphic fileref="vinum/vinum-raid10-vol"/>
 	</figure>
       </para>
     </sect2>
@@ -1009,13 +1010,13 @@ sd name bigraid.p0.s4 drive e plex bigraid.p0 state initializing len 4194304b dr
       <itemizedlist>
 	<listitem>
 	  <para>Vinum ������ ���� �������� ���� ��� �� ����� ��������.
-	    �����, ��������� � <xref linkend="vinum-rc-startup">,
+	    �����, ��������� � <xref linkend="vinum-rc-startup"/>,
 	    ����������; �� ����� ����, �������� <literal>start_vinum</literal>
 	    <emphasis>��</emphasis> ������ ���� ����������.  ����� �� ���������
 	    �������� ������ ���� � ���������� Vinum, ��� ��������, ��, ���
 	    �������, ������������.  ����� ������� �������&nbsp;&mdash; ��������
 	    ������ ���� Vinum ��� ������ <filename>/boot/loader</filename>
-	    (<xref linkend="boot-loader">), ��� ���� � ����
+	    (<xref linkend="boot-loader"/>), ��� ���� � ����
 	    <filename>/boot/loader.conf</filename> ������� ��������
 	    ������</para>
 
@@ -1037,7 +1038,7 @@ sd name bigraid.p0.s4 drive e plex bigraid.p0 state initializing len 4194304b dr
 
 	  <note><para>������ ������ ��������� ����������� �������� ��� FreeBSD
 	    ������ 5.X � ������.  ����, ����������� � ������ FreeBSD ������ 4.X,
-	    ������� ����: <xref linkend="vinum-root-4x">.</para></note>
+	    ������� ����: <xref linkend="vinum-root-4x"/>.</para></note>
 
 	  <para>������</para>
 
@@ -1230,7 +1231,7 @@ Subdisk root.p1.s0:
 	�������� �������� ������ ������� Vinum (<literal>"h"</literal>) �
 	�������� ������ ����� ������� ������������ ������ ����� (������).  ���
 	�� �������� �������, ��������� ���� (<xref
-	linkend="vinum-root-panic">).  ������� �����, ��� ������
+	linkend="vinum-root-panic"/>).  ������� �����, ��� ������
 	<literal>"a"</literal> ������� �������� ������ �������
 	<literal>"h"</literal>, ������������ ��� ������ Vinum �� ����
 	�����.</para>
@@ -1302,7 +1303,7 @@ Subdisk root.p1.s0:
 	  ������ �������� �������� ���������� ��������� ����� � ������ ������� ������),
 	  ����� ���������� �������� �������� ��������� �������� ������� � ����
 	  ������.  ��� ���� �������� ����� ����������� �� ������ ������
-	  (��. <xref linkend="boot-boot1">).  �����
+	  (��. <xref linkend="boot-boot1"/>).  �����
 	  ����������� ����������� � ������� �������, ��������, �����������
 	  ���������� ����� �������� �������� ������� (������ ������
 	  <literal>"a"</literal>, ��. ����).</para>
@@ -1321,7 +1322,7 @@ Subdisk root.p1.s0:
 	<para>��� ����, ������� ��������� ��������� �������� �����������
 	  �������� � ����� <quote>Fixit</quote> � ���������� ����������
 	  ���������� ��� ������ ������� <command>bsdlabel -B</command> (���
-	  ������� � <xref linkend="boot-boot1">) �������� � ����, ���
+	  ������� � <xref linkend="boot-boot1"/>) �������� � ����, ���
 	  ��������� ������ ����������� ��������� Vinum, � ��� �� ������ �����
 	  ���� ����.  ���� ���������� ������������ Vinum ��� ���� ��
 	  ����������, � ��� ������ ����� ���� ������������� �����������
diff --git a/ru_RU.KOI8-R/books/handbook/x11/chapter.sgml b/ru_RU.KOI8-R/books/handbook/x11/chapter.sgml
index 6aebb52230..479110327a 100644
--- a/ru_RU.KOI8-R/books/handbook/x11/chapter.sgml
+++ b/ru_RU.KOI8-R/books/handbook/x11/chapter.sgml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -92,7 +93,7 @@
     <itemizedlist>
       <listitem>
 	<para>������, ��� ������������� �������������� ����������� �����������
-	  ��������� ������������� (<xref linkend="ports">).</para>
+	  ��������� ������������� (<xref linkend="ports"/>).</para>
       </listitem>
     </itemizedlist>
   </sect1>
@@ -366,6 +367,7 @@
 
     <para>� ���������� ����� ����� ����� ���������� � ���, ��� ����������������
       X11 � ��������� ������� ���������.</para>
+  </sect1>
 
   <sect1 id="x-config">
     <sect1info>
@@ -540,7 +542,7 @@ dbus_enable="YES"</programlisting>
 
       
 	<para>���� ���� �� ��������, �� ���������� ���������.
-	  ���������� � <xref linkend="mouse"> � ����� �� ���������
+	  ���������� � <xref linkend="mouse"/> � ����� �� ���������
 	  &os;. �������������, ������� � ������ 
 	  7.4, ������ <literal>InputDevice</literal> � 
 	  <filename>xorg.conf</filename> ������������ � ������ 
@@ -1159,7 +1161,7 @@ EndSection</programlisting>
 	GTK+ � <application>GNOME</application>
 	����� ����� ��������� ������������ ������������ ����������� ��������
 	<quote>Font</quote> (���������� � <xref
-	linkend="x11-wm-gnome-antialias"> ��� ��������� ���� ������������).
+	linkend="x11-wm-gnome-antialias"/> ��� ��������� ���� ������������).
 	�� ��������� <application>Mozilla</application> ������ 1.2 � ����
 	����� ������������� ������������ ������������.  ��� ������
 	������������� �������������
@@ -1206,7 +1208,7 @@ EndSection</programlisting>
       <para><application>XDM</application> ����� ������������� ��� ������
 	��������� &man.getty.8;, ��������������� ����� �� �����������
 	��� �������������
-	(�������� <xref linkend="term-config"> ��� ��������� ����������).
+	(�������� <xref linkend="term-config"/> ��� ��������� ����������).
 	� ��� ������ ���, <application>XDM</application> ���������� ���� �
 	������� ��� �������������
 	������������ � ��������� ����������� ������ ��� ������������ (������
@@ -1231,7 +1233,7 @@ EndSection</programlisting>
 	���������� ������ &mdash; ��� �������� ����� ������ �
 	<filename>/etc/ttys</filename>. ��� ����� ��������� ���������� �
 	������� � ������������� ����� ����� �������� <xref
-	linkend="term-etcttys">.  ��� ������, ������� ���������� ��������
+	linkend="term-etcttys"/>.  ��� ������, ������� ���������� ��������
 	� ���� <filename>/etc/ttys</filename> ��� ����, ����� ���������
 	������ <application>XDM</application> �� ����������� ���������:</para>
 
@@ -1240,7 +1242,7 @@ EndSection</programlisting>
       <para>�� ��������� ��� ������ ���������; ��� ţ ���������
 	����� �������� ����� ���� � <literal>off</literal> ��
 	<literal>on</literal> � ������������� &man.init.8;, ��������� �����,
-	��������� � <xref linkend="term-hup">.  ������ ���� ��� ��������
+	��������� � <xref linkend="term-hup"/>.  ������ ���� ��� ��������
 	���������, ������� ����� ��������� ���������, <literal>ttyv8</literal>.
 	��� ��������, ��� <application>XDM</application> ����� ������� �� 9��
 	����������� ���������.</para>    </sect2>
@@ -1562,7 +1564,7 @@ DisplayManager.requestPort:     0</screen>
 	  ���������������� �����, ������������
 	  <application>GNOME</application>) ����� ������������ �����
 	  ����������������.  ��������� ������������� ������� �
-	  <xref linkend="antialias">.  ����� �������, ��� ������� ������������
+	  <xref linkend="antialias"/>.  ����� �������, ��� ������� ������������
 	  <application>GNOME</application>, �������� �������������
 	  �������������.  ������ ��������� �
 	  <menuchoice>
diff --git a/ru_RU.KOI8-R/books/porters-handbook/book.sgml b/ru_RU.KOI8-R/books/porters-handbook/book.sgml
index 3f539f5ad1..16d00ffc77 100644
--- a/ru_RU.KOI8-R/books/porters-handbook/book.sgml
+++ b/ru_RU.KOI8-R/books/porters-handbook/book.sgml
@@ -1,3 +1,10 @@
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
+<!DOCTYPE book PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
+	"../../../share/sgml/freebsd42.dtd" [
+<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//RU" "../../share/sgml/entities.ent">
+%entities;
+]>
+
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -7,11 +14,6 @@
      Original revision: r38283
 -->
 
-<!DOCTYPE BOOK PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
-<!ENTITY % books.ent PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Books Entity Set//EN">
-%books.ent;
-]>
-
 <book lang="ru">
   <bookinfo>
     <title>����������� FreeBSD �� �������� ������</title>
@@ -40,9 +42,11 @@
         The FreeBSD Documentation Project</holder>
     </copyright>
 
-    &bookinfo.trademarks;
+    &trademarks;
 
-    &bookinfo.legalnotice;
+    &legalnotice;
+
+    <releaseinfo>$FreeBSD$</releaseinfo>
   </bookinfo>
 
   <chapter id="why-port">
@@ -68,7 +72,7 @@
 
     <para>���� ��������� ��������� �������� �� �������� ������ ����� ���
       FreeBSD.	���� �� ������ �������� ������������ ����, �� ������
-      �������� ��, � ����� <xref linkend="port-upgrading">.</para>
+      �������� ��, � ����� <xref linkend="port-upgrading"/>.</para>
 
     <para>���� ���� �������� ������������ ��������, �� ������ ���������� �
       ����� <filename>/usr/ports/Mk/bsd.port.mk</filename>, �������
@@ -1152,6 +1156,7 @@ PORTEPOCH=      1</programlisting>
 	  ������� �� ����� ������������ ����� �����������; �� ����� ����
 	  �������� ���, ��� ��������� ������ ������ ������ ����� ����, ���
 	  �� ������� <quote>�������</quote>.</para>
+      </sect2>
 
       <sect2 id="porting-pkgname">
         <title>���������� �� ���������� �������</title>
@@ -2694,7 +2699,7 @@ EXTRACT_ONLY=  source.tar.gz</programlisting>
 	    <filename>source2.tar.gz</filename>, ������� ������ ���� �������� �
             ���� ��������� ����������.  ���� <filename>Makefile</filename>
             ����� ����� ��������� ������� ���� <xref
-	    linkend="ports-master-sites-n-example-simple-use-one-file-per-site">.</para>
+	    linkend="ports-master-sites-n-example-simple-use-one-file-per-site"/>.</para>
 
 	  <example
 	    id="ports-master-sites-n-example-simple-use-one-file-per-site">
@@ -2713,7 +2718,7 @@ DISTFILES=      source1.tar.gz:source1 \
             �������������� ����, <filename>source3.tar.gz</filename>, �������
             ������ ���� ������� � <hostid>ftp.example2.com</hostid>.  �����
             ���� <filename>Makefile</filename> ����� ������� ��� <xref
-            linkend="ports-master-sites-n-example-simple-use-more-than-one-file-per-site">.</para>
+            linkend="ports-master-sites-n-example-simple-use-more-than-one-file-per-site"/>.</para>
 
 	  <example
 	    id="ports-master-sites-n-example-simple-use-more-than-one-file-per-site">
@@ -2753,10 +2758,10 @@ DISTFILES=      source1.tar.gz:source1 \
                 ����, ��� ��� ��� ����� ������ ��������:
 		<literal>default</literal>, <literal>all</literal> �
 		<literal>ALL</literal> (��� ������������ ��� ����� ���� � <xref
-	        linkend="porting-master-sites-n-what-changes-in-port-targets">).
+	        linkend="porting-master-sites-n-what-changes-in-port-targets"/>).
 		����� ����, <literal>DEFAULT</literal> �������� �����������
                 �������� ������ (���������� <xref
-		linkend="porting-master-sites-n-DEFAULT-group">).</para>
+		linkend="porting-master-sites-n-DEFAULT-group"/>).</para>
 	    </listitem>
 
 	    <listitem>
@@ -2774,7 +2779,7 @@ DISTFILES=      source1.tar.gz:source1 \
                 �������� ������, ���� ������ �� �� ������ ��������� ��������
                 ��� � ������ <literal>DEFAULT</literal>, ��� � �����-�� ������
                 � ���� � �� �� ����� (���������� �� ����� <xref
-		linkend="porting-master-sites-n-comma-operator">).</para>
+		linkend="porting-master-sites-n-comma-operator"/>).</para>
 
 	      <para>��������� ������� �����������, �� ������ �����
                 ��������������:</para>
@@ -2858,9 +2863,9 @@ DISTFILES=      source1.tar.gz:source1 \
                     ��������� ���������� ������ ��������, � �� ����������
                     ������, ���� ���� �� ��������� �������
                     <literal>:n</literal>.  ���������� <xref
-		    linkend="ports-master-sites-n-example-detailed-use-master-site-subdir">
+		    linkend="ports-master-sites-n-example-detailed-use-master-site-subdir"/>
 		    � <xref
-		    linkend="ports-master-sites-n-example-detailed-use-complete-example-master-sites">.</para>
+		    linkend="ports-master-sites-n-example-detailed-use-complete-example-master-sites"/>.</para>
 
 		  <example id="ports-master-sites-n-example-detailed-use-master-site-subdir">
 		    <title>��������� �������������
@@ -3075,7 +3080,7 @@ MASTER_SITE_SUBDIR=     directory-trial:1 directory-n/:groupn \
 		<makevar>MASTER_SITE_SOURCEFORGE</makevar>?</para>
 
 	      <para>���������� <xref
-		linkend="ports-master-sites-n-example-detailed-use-master-site-sourceforge">.</para>
+		linkend="ports-master-sites-n-example-detailed-use-master-site-sourceforge"/>.</para>
 
 	      <example
 		id="ports-master-sites-n-example-detailed-use-master-site-sourceforge">
@@ -3099,7 +3104,7 @@ DISTFILES=      something.tar.gz:sourceforge</programlisting>
 	      <para>��� ������� ����������� � �����������
 		<makevar>MASTER*</makevar>, � ��� �������� ����� ����� � ���
                 <makevar>PATCH*</makevar>, ��� ��� ����� ������ � <xref
-	        linkend="ports-master-sites-n-example-detailed-use-patch-sites">.</para>
+	        linkend="ports-master-sites-n-example-detailed-use-patch-sites"/>.</para>
 
 	      <example
 		id="ports-master-sites-n-example-detailed-use-patch-sites">
@@ -3125,7 +3130,7 @@ PATCHFILES=     patch1:test</programlisting>
 		<literal>:<replaceable>n</replaceable></literal>, ��� �
                 �������� � ������������ � ������������� �����������, ��������
                 ��� ��� �������� � ������ <xref
-		linkend="porting-master-sites-n-group-semantics">.</para>
+		linkend="porting-master-sites-n-group-semantics"/>.</para>
 	    </listitem>
 
 	    <listitem id="porting-master-sites-n-what-changes-in-port-targets">
@@ -3149,7 +3154,7 @@ PATCHFILES=     patch1:test</programlisting>
 		    <makevar>PATCH_SITES</makevar>, ������� ���������� ������
                     �� <makevar>MASTER_SITE_SUBDIR</makevar> �
 		    <makevar>PATCH_SITE_SUBDIR</makevar>.  ���������� <xref
-		    linkend="ports-master-sites-n-example-detailed-use-complete-example-master-sites">.</para>
+		    linkend="ports-master-sites-n-example-detailed-use-complete-example-master-sites"/>.</para>
 		</listitem>
 
 		<listitem>
@@ -3177,7 +3182,7 @@ PATCHFILES=     patch1:test</programlisting>
 		    <maketarget>PATCH_SITES</maketarget>.  ����� ������ ������
                     �������� � ����������� ������� �� �������������.
                     ���������� <xref
-		    linkend="porting-master-sites-n-new-port-targets-master-sites-all">
+		    linkend="porting-master-sites-n-new-port-targets-master-sites-all"/>
 		    ��� ��������� ����� �������������� ���������� �� ���� �����
 		    �����.</para>
 		</listitem>
@@ -3561,7 +3566,7 @@ ALWAYS_KEEP_DISTFILES=  yes
             �������� (�� ��������� �������������� �������������
             <command>gzip</command>) � ��� �� ������������ ��� ������
             <makevar>USE_ZIP</makevar> ��� <makevar>USE_BZIP2</makevar>,
-            ������� ������� � <xref linkend="use-vars">.</para>
+            ������� ������� � <xref linkend="use-vars"/>.</para>
         </note>
       </sect2>
 
@@ -3677,23 +3682,23 @@ ALWAYS_KEEP_DISTFILES=  yes
 
 	<para>����������, ����������� � <application>gmake</application>
 	  � �������� <filename>configure</filename>, ������� �
-	  <xref linkend="building">, � <application>autoconf</application>,
+	  <xref linkend="building"/>, � <application>autoconf</application>,
 	  <application>automake</application> �
 	  <application>libtool</application> ������� �
-	  <xref linkend="using-autotools">.  ����������, ��������� �
+	  <xref linkend="using-autotools"/>.  ����������, ��������� �
 	  <application>Perl</application>, ������� � <xref
-	  linkend="using-perl">.  ���������� X11 ����������� � <xref
-	  linkend="using-x11">.  <xref linkend="using-gnome">
-	  �������� � ����������� GNOME � <xref linkend="using-kde"> � KDE.
-	  <xref linkend="using-java"> ��������� ���������� Java, � <xref
-	  linkend="using-php"> �������� ���������� ��
+	  linkend="using-perl"/>.  ���������� X11 ����������� � <xref
+	  linkend="using-x11"/>.  <xref linkend="using-gnome"/>
+	  �������� � ����������� GNOME � <xref linkend="using-kde"/> � KDE.
+	  <xref linkend="using-java"/> ��������� ���������� Java, � <xref
+	  linkend="using-php"/> �������� ���������� ��
 	  <application>Apache</application>, <application>PHP</application>
 	  � ������� PEAR.  <application>Python</application> ����������� �
-	  <xref linkend="using-python">, � <application>Ruby</application>
-	  � <xref linkend="using-ruby">.  <xref linkend="using-sdl">
+	  <xref linkend="using-python"/>, � <application>Ruby</application>
+	  � <xref linkend="using-ruby"/>.  <xref linkend="using-sdl"/>
 	  ������������� ����������, ������������ ��� ����������
 	  <application>SDL</application>, �, �������,
-	  <xref linkend="using-xfce"> �������� ���������� � ����������
+	  <xref linkend="using-xfce"/> �������� ���������� � ����������
 	  <application>Xfce</application>.</para>
       </sect2>
 
@@ -4270,7 +4275,7 @@ PORTVERSION=   1.0</programlisting>
       <note>
 	<para>���������� ����������� ��������� ������������� ����������
 	  ���������� <makevar>IGNORE</makevar>, ������� ����� ��������
-	  ������� � <xref linkend="dads-noinstall">.</para>
+	  ������� � <xref linkend="dads-noinstall"/>.</para>
       </note>
 
       <para>��� �������� ������ �� ������������� ������ �������������
@@ -5763,7 +5768,7 @@ USE_XORG=      x11 xpm</programlisting>
 	    <filename>pkg-plist</filename> � ������������� �� � �������
 	    <filename><makevar>&dollar;LOCALBASE</makevar>/share/applications</filename>.
 	    ��� ��������� ���� ������ ������������ <link
-	    linkend="INSTALL-MACROS">������ <makevar>INSTALL_DATA</makevar></link>.</para>
+	    linkend="install-macros">������ <makevar>INSTALL_DATA</makevar></link>.</para>
 	</sect3>
 
 	<sect3 id="desktop-entries-macro">
@@ -6623,7 +6628,7 @@ QT_COMPONENTS= qmake_build moc_build rcc_build uic_build</programlisting>
 
       <para>��������������� ������ ������������ � ����� ����������
 	<makevar>PLIST_SUB</makevar> (������� � <xref
-	linkend="plist-sub">) � <makevar>SUB_LIST</makevar>.</para>
+	linkend="plist-sub"/>) � <makevar>SUB_LIST</makevar>.</para>
 
       </sect2>
 
@@ -6638,7 +6643,7 @@ QT_COMPONENTS= qmake_build moc_build rcc_build uic_build</programlisting>
 	  <makevar>MAKE_ENV</makevar>, <makevar>MAKE_ARGS</makevar> �
 	  <makevar>ALL_TARGET</makevar>.  ��� ������ �� ��������
 	  <makevar>USE_GMAKE</makevar>, ������� ������ �
-	  <xref linkend="building">.</para>
+	  <xref linkend="building"/>.</para>
 
       </sect2>
 
@@ -6688,7 +6693,7 @@ QT_COMPONENTS= qmake_build moc_build rcc_build uic_build</programlisting>
           <filename>${JAVASHAREDIR}/${PORTNAME}</filename>.  �� ����� ����
           <makevar>DATADIR</makevar> ������������� ����������� �
           <makevar>PLIST_SUB</makevar> (��� ������� � <xref
-          linkend="plist-sub">), ��� ��� �� �������
+          linkend="plist-sub"/>), ��� ��� �� �������
           ������������ <literal>%%DATADIR%%</literal> ��������������� �
           <filename>pkg-plist</filename>.</para>
 
@@ -6720,7 +6725,7 @@ QT_COMPONENTS= qmake_build moc_build rcc_build uic_build</programlisting>
 
 	<para>������� ������� ���������� �������� �� ��������� �
 	  <makevar>CATEGORIES</makevar> ����� Java, ������� �������� �������
-	  � <xref linkend="makefile-categories">.</para>
+	  � <xref linkend="makefile-categories"/>.</para>
 
       </sect2>
     </sect1>
@@ -7621,10 +7626,10 @@ USE_SDL+=   mixer
 	    � Unicode � ��������������� ����������� ������ � ��������� ���
 	    ��� � ��������, �� � ��������� <literal>-unicode</literal>, ��
 	    ���� ����� ��������� ��� ������ ���������� (�������� <xref
-	      linkend="wx-unicode">).</para>
+	      linkend="wx-unicode"/>).</para>
 	</note>
 
-	<para>���������� � <xref linkend="wx-ver-sel-table"> ����� ����������
+	<para>���������� � <xref linkend="wx-ver-sel-table"/> ����� ����������
 	  � ���� ��� ����� ��������� ����������, ����������� ���������:</para>
 
 	<table frame="none">
@@ -7773,7 +7778,7 @@ USE_SDL+=   mixer
 	<para>��� ����������� ����������� ��� ������ ������� ����������
 	  ����� ���� ������ ������� ����� ���������� ��������, �����������
 	  ������ � �������.  ���� ������� �����������, �� ����� ������������
-	  �������� �� ��������� (�������� <xref linkend="wx-def-dep-types">).
+	  �������� �� ��������� (�������� <xref linkend="wx-def-dep-types"/>).
 	  ��������� ���� �����������:</para>
 
 	<table frame="none">
@@ -7994,7 +7999,7 @@ CONFIGURE_ARGS+=--enable-wxpython
 	<title>���������� ��� �����������</title>
 
 	<para>��������� ���������� �������� � ����� (����� ����������� �����
-	  �� ���������� �� <xref linkend="wx-ver-sel-table">).</para>
+	  �� ���������� �� <xref linkend="wx-ver-sel-table"/>).</para>
 
 	<table frame="none">
 	  <title>����������, ������������ ��� ������, ������������
@@ -8229,7 +8234,7 @@ PLIST_SUB+=     VERSION="${VER_STR}"
 	  </tgroup>
 	</table>
 
-	<para>���������� �� <xref linkend="lua-ver-sel-table"> ����� �����
+	<para>���������� �� <xref linkend="lua-ver-sel-table"/> ����� �����
 	  ���������� �� ������ ��� ���������� ��������, �����������
 	  ��������:</para>
 
@@ -8382,7 +8387,7 @@ WANT_LUA_VER= 5.0</programlisting>
 	<para>��� ����������� ����� ������� ��� ������� ���������� �����
 	  ���������� ��������, ����������� ������ � �������.  � ������
 	  ���������� ����� ����������� ��� �� ��������� (��������
-	  <xref linkend="lua-def-dep-types">).  ��������� ���������
+	  <xref linkend="lua-def-dep-types"/>).  ��������� ���������
 	  ����:</para>
 
 	<table frame="none">
@@ -8524,7 +8529,7 @@ CONFIGURE_ARGS+=--enable-tolua
 	<title>���������� ��� �����������</title>
 
 	<para>��������� ���������� �������� � ����� (����� ����������� �����
-	  �� ���������� �� <xref linkend="lua-ver-sel-table">).</para>
+	  �� ���������� �� <xref linkend="lua-ver-sel-table"/>).</para>
 
 	<table frame="none">
 	  <title>����������, ������������ ��� ������, ������������
@@ -9803,7 +9808,7 @@ as .putsy.conf and edit it.</programlisting>
           ����� �����, ��� ������������� ����������
           <literal>.error</literal>, ����� (� �������) ���������� �
           ����������� �� ���� �������������.  (��������
-	  <xref linkend="dads-dot-error">.)</para>
+	  <xref linkend="dads-dot-error"/>.)</para>
       </note>
 
       <para>���� ������� <command>make describe</command> ������ �������, �
@@ -10009,7 +10014,7 @@ as .putsy.conf and edit it.</programlisting>
     </informalexample>
 
     <para>� ��������� ������, ��� ������� ��������������� �������
-      <command>cvs diff</command> (<xref linkend="cvs-diff">), ����
+      <command>cvs diff</command> (<xref linkend="cvs-diff"/>), ����
       ����������� ���������� ����� � ������
       ��������� ������� � ��������� ��������� ����������� ������� &man.diff.1;
       ����� ����� � ������ ���������� ����� (��������, ���� ������� �
@@ -10078,7 +10083,7 @@ as .putsy.conf and edit it.</programlisting>
 
     <para>������, ����� �� ��������� �ӣ ���, ��� ����� ������������
       �������� � ���, ��� ������������ ���������� ���������, � <xref
-      linkend="keeping-up">.</para>
+      linkend="keeping-up"/>.</para>
 
     <sect1 id="cvs-diff">
       <title>������������� <literal>CVS</literal> ��� �������� ������</title>
@@ -10091,8 +10096,8 @@ as .putsy.conf and edit it.</programlisting>
 	�� ��������� ���� ���������, ���� ���� ��������� �������� ���
 	��������� ���-�� ���.</para>
 
-      <screen>&prompt.user; <userinput>cd ~/my_wrkdir</userinput> <co id="my-wrkdir">
-&prompt.user; <userinput>cvs -d R_CVSROOT co pdnsd</userinput> <co id="R-CVSROOT"> <co id="module-name">
+      <screen>&prompt.user; <userinput>cd ~/my_wrkdir</userinput> <co id="my-wrkdir"/>
+&prompt.user; <userinput>cvs -d R_CVSROOT co pdnsd</userinput> <co id="R-CVSROOT"/> <co id="module-name"/>
 &prompt.user; <userinput>cd ~/my_wrkdir/pdnsd</userinput></screen>
 
       <calloutlist>
@@ -10130,11 +10135,11 @@ as .putsy.conf and edit it.</programlisting>
 &prompt.user; <userinput>cvs remove deleted_file</userinput></screen>
 
       <para>���������, ��� �� ���������� ���� � ������������ � �������������
-	�������� ��������, ��������� � <xref linkend="porting-testing"> �
-	<xref linkend="porting-portlint">.</para>
+	�������� ��������, ��������� � <xref linkend="porting-testing"/> �
+	<xref linkend="porting-portlint"/>.</para>
 
       <screen>&prompt.user; <userinput>cvs status</userinput>
-&prompt.user; <userinput>cvs update</userinput> <co id="cvs-update"></screen>
+&prompt.user; <userinput>cvs update</userinput> <co id="cvs-update"/></screen>
 
       <calloutlist>
 	<callout arearefs="cvs-update">
@@ -10142,7 +10147,7 @@ as .putsy.conf and edit it.</programlisting>
 	    ����� ������ � ������� ���������� � CVS; ����������� ���������
 	    ���������� �����.  ����� ����� ��������� ������� ����� ��������
 	    ��� ���������, ���������� � ���� ������.  ��� ��������� �������
-	    ������ �������� <xref linkend="table-cvs-up">.</para>
+	    ������ �������� <xref linkend="table-cvs-up"/>.</para>
 	</callout>
       </calloutlist>
 
@@ -10204,7 +10209,7 @@ as .putsy.conf and edit it.</programlisting>
       </note>
 
       <para>���������� ���� ����� � ������������ � ������������, ��������� �
-	<xref linkend="port-upgrading">.</para>
+	<xref linkend="port-upgrading"/>.</para>
     </sect1>
 
     <sect1 id="moved-and-updating-files">
@@ -10385,26 +10390,26 @@ as .putsy.conf and edit it.</programlisting>
 
 	<para>������ ������� ������� ��������� ������ VuXML:</para>
 
-	<programlisting>&lt;vuln vid="f4bc80f4-da62-11d8-90ea-0004ac98a7b9"&gt; <co id="co-vx-vid">
-  &lt;topic&gt;Several vulnerabilities found in Foo&lt;/topic&gt; <co id="co-vx-top">
+	<programlisting>&lt;vuln vid="f4bc80f4-da62-11d8-90ea-0004ac98a7b9"&gt; <co id="co-vx-vid"/>
+  &lt;topic&gt;Several vulnerabilities found in Foo&lt;/topic&gt; <co id="co-vx-top"/>
   &lt;affects&gt;
     &lt;package&gt;
-      &lt;name&gt;foo&lt;/name&gt; <co id="co-vx-nam">
+      &lt;name&gt;foo&lt;/name&gt; <co id="co-vx-nam"/>
       &lt;name&gt;foo-devel&lt;/name&gt;
       &lt;name&gt;ja-foo&lt;/name&gt;
-      &lt;range&gt;&lt;ge&gt;1.6&lt;/ge&gt;&lt;lt&gt;1.9&lt;/lt&gt;&lt;/range&gt; <co id="co-vx-rng">
+      &lt;range&gt;&lt;ge&gt;1.6&lt;/ge&gt;&lt;lt&gt;1.9&lt;/lt&gt;&lt;/range&gt; <co id="co-vx-rng"/>
       &lt;range&gt;&lt;ge&gt;2.*&lt;/ge&gt;&lt;lt&gt;2.4_1&lt;/lt&gt;&lt;/range&gt;
       &lt;range&gt;&lt;eq&gt;3.0b1&lt;/eq&gt;&lt;/range&gt;
     &lt;/package&gt;
     &lt;package&gt;
-      &lt;name&gt;openfoo&lt;/name&gt; <co id="co-vx-nm2">
-      &lt;range&gt;&lt;lt&gt;1.10_7&lt;/lt&gt;&lt;/range&gt; <co id="co-vx-epo">
+      &lt;name&gt;openfoo&lt;/name&gt; <co id="co-vx-nm2"/>
+      &lt;range&gt;&lt;lt&gt;1.10_7&lt;/lt&gt;&lt;/range&gt; <co id="co-vx-epo"/>
       &lt;range&gt;&lt;ge&gt;1.2,1&lt;/ge&gt;&lt;lt&gt;1.3_1,1&lt;/lt&gt;&lt;/range&gt;
     &lt;/package&gt;
   &lt;/affects&gt;
   &lt;description&gt;
     &lt;body xmlns="http://www.w3.org/1999/xhtml"&gt;
-      &lt;p&gt;J. Random Hacker reports:&lt;/p&gt; <co id="co-vx-bdy">
+      &lt;p&gt;J. Random Hacker reports:&lt;/p&gt; <co id="co-vx-bdy"/>
       &lt;blockquote
         cite="http://j.r.hacker.com/advisories/1"&gt;
         &lt;p&gt;Several issues in the Foo software may be exploited
@@ -10414,23 +10419,23 @@ as .putsy.conf and edit it.</programlisting>
       &lt;/blockquote&gt;
     &lt;/body&gt;
   &lt;/description&gt;
-  &lt;references&gt; <co id="co-vx-ref">
-    &lt;freebsdsa&gt;SA-10:75.foo&lt;/freebsdsa&gt; <co id="co-vx-fsa">
-    &lt;freebsdpr&gt;ports/987654&lt;/freebsdpr&gt; <co id="co-vx-fpr">
-    &lt;cvename&gt;CAN-2010-0201&lt;/cvename&gt; <co id="co-vx-cve">
+  &lt;references&gt; <co id="co-vx-ref"/>
+    &lt;freebsdsa&gt;SA-10:75.foo&lt;/freebsdsa&gt; <co id="co-vx-fsa"/>
+    &lt;freebsdpr&gt;ports/987654&lt;/freebsdpr&gt; <co id="co-vx-fpr"/>
+    &lt;cvename&gt;CAN-2010-0201&lt;/cvename&gt; <co id="co-vx-cve"/>
     &lt;cvename&gt;CAN-2010-0466&lt;/cvename&gt;
-    &lt;bid&gt;96298&lt;/bid&gt; <co id="co-vx-bid">
-    &lt;certsa&gt;CA-2010-99&lt;/certsa&gt; <co id="co-vx-cts">
-    &lt;certvu&gt;740169&lt;/certvu&gt; <co id="co-vx-ctv">
-    &lt;uscertsa&gt;SA10-99A&lt;/uscertsa&gt; <co id="co-vx-ucs">
-    &lt;uscertta&gt;SA10-99A&lt;/uscertta&gt; <co id="co-vx-uct">
-    &lt;mlist msgid="201075606@hacker.com"&gt;http://marc.theaimsgroup.com/?l=bugtraq&amp;amp;m=203886607825605&lt;/mlist&gt; <co id="co-vx-mls">
-    &lt;url&gt;http://j.r.hacker.com/advisories/1&lt;/url&gt; <co id="co-vx-url">
+    &lt;bid&gt;96298&lt;/bid&gt; <co id="co-vx-bid"/>
+    &lt;certsa&gt;CA-2010-99&lt;/certsa&gt; <co id="co-vx-cts"/>
+    &lt;certvu&gt;740169&lt;/certvu&gt; <co id="co-vx-ctv"/>
+    &lt;uscertsa&gt;SA10-99A&lt;/uscertsa&gt; <co id="co-vx-ucs"/>
+    &lt;uscertta&gt;SA10-99A&lt;/uscertta&gt; <co id="co-vx-uct"/>
+    &lt;mlist msgid="201075606@hacker.com"&gt;http://marc.theaimsgroup.com/?l=bugtraq&amp;amp;m=203886607825605&lt;/mlist&gt; <co id="co-vx-mls"/>
+    &lt;url&gt;http://j.r.hacker.com/advisories/1&lt;/url&gt; <co id="co-vx-url"/>
   &lt;/references&gt;
   &lt;dates&gt;
-    &lt;discovery&gt;2010-05-25&lt;/discovery&gt; <co id="co-vx-dsc">
-    &lt;entry&gt;2010-07-13&lt;/entry&gt; <co id="co-vx-ent">
-    &lt;modified&gt;2010-09-17&lt;/modified&gt; <co id="co-vx-mod">
+    &lt;discovery&gt;2010-05-25&lt;/discovery&gt; <co id="co-vx-dsc"/>
+    &lt;entry&gt;2010-07-13&lt;/entry&gt; <co id="co-vx-ent"/>
+    &lt;modified&gt;2010-09-17&lt;/modified&gt; <co id="co-vx-mod"/>
   &lt;/dates&gt;
 &lt;/vuln&gt;</programlisting>
 
@@ -10546,6 +10551,7 @@ as .putsy.conf and edit it.</programlisting>
 	      ����� ���� ������������ ����� ������� ��������, �� ������ �
 	      ����� ������������ � �������:  ��� ���������, ����������.
 	    </para>
+	  </callout>
 
 	  <callout arearefs="co-vx-ref">
 	    <para>���� ������ �������� ������ �� ������� ��������� ���������.
@@ -15421,7 +15427,7 @@ CFLAGS= -Wall -Werror
 	����� ���������� ������ ����������� �������������, ���������� �
 	������� ������.  ���������� ������� ��� �������������� ��� �������
 	��������� <filename>/usr/ports/INDEX</filename> (�������� <xref
-	linkend="make-describe">).  ��� �� �����, ���� ����� ������� �������,
+	linkend="make-describe"/>).  ��� �� �����, ���� ����� ������� �������,
 	����� ��� <command>make maintainer</command>, � ���� ������ �����
 	������ ������.  ��� �� �������� ����������.</para>
 
diff --git a/ru_RU.KOI8-R/books/ppp-primer/book.sgml b/ru_RU.KOI8-R/books/ppp-primer/book.sgml
index 52874fee29..d6b38d0732 100644
--- a/ru_RU.KOI8-R/books/ppp-primer/book.sgml
+++ b/ru_RU.KOI8-R/books/ppp-primer/book.sgml
@@ -1,3 +1,10 @@
+<?xml version="1.0" encoding="KOI8-R" standalone="no"?>
+<!DOCTYPE book PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
+	"../../../share/sgml/freebsd42.dtd" [
+<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//RU" "../../share/sgml/entities.ent">
+%entities;
+]>
+
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -7,11 +14,6 @@
      Original revision: 1.11
 -->
 
-<!DOCTYPE BOOK PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
-<!ENTITY % man PUBLIC "-//FreeBSD//ENTITIES DocBook Manual Page Entities//EN">
-%man;
-]>
-
 <book lang="ru">
   <bookinfo>
     <title>��������� ����������� �� PPP</title>
@@ -26,7 +28,7 @@
       </author>
     </authorgroup>
 
-    <pubdate>$FreeBSD$</pubdate>
+    <releaseinfo>$FreeBSD$</releaseinfo>
 
     <abstract>
       <para>��� ��������� ����������� �� ���������������� FreeBSD-������,
@@ -41,11 +43,11 @@
     <title>������� �����:</title>
 
     <para>�� ������ ������ ������������� ������������� PPP-���������� ������
-      FreeBSD 2.2 (����� ��������� ��� <emphasis remap=it>"IIJ-PPP"</emphasis>)
+      FreeBSD 2.2 (����� ��������� ��� <emphasis remap="it">"IIJ-PPP"</emphasis>)
       ������������ ���������� ������� ��� ������������� ���������� � ��������.
       ��� �����������, ��������� ����� ��� "<emphasis
-      remap=it>��������</emphasis>", "<emphasis
-      remap=it>IP-����������</emphasis>" ��� "<emphasis remap=it>����������
+      remap="it">��������</emphasis>", "<emphasis
+      remap="it">IP-����������</emphasis>" ��� "<emphasis remap="it">����������
       ������� ������� (NA�)</emphasis>", ��������� FreeBSD-�������
       ��������������� ��� ������������� ������������� ����� ��������� ����� ��
       ���� Ethernet � ��������-����������� (ISP).  ������� � ��������� ����
@@ -158,7 +160,7 @@
         ���������.  IP-������ ������������ ���:</para>
 
       <informaltable>
-      <tgroup cols=3>
+      <tgroup cols="3">
       <thead>
         <row>
           <entry>���</entry>
@@ -197,7 +199,7 @@
       <para>� ������ ����������� ���������, ��� ����� �� FreeBSD-�������
         ��������� � ������� ����������������� ����������
         ('<filename>/dev/cuaa0</filename>' ��� '<emphasis
-        remap=tt>COM1:</emphasis>' ��� ������� � DOS-������������).</para>
+        remap="tt">COM1:</emphasis>' ��� ������� � DOS-������������).</para>
 
       <para>� �������, �� ����� �������, ��� ��� ��������-���������
         ������������� ������������� IP-������ ��� ��� ����� ������ �
@@ -259,7 +261,7 @@
 
       <para>�������� ��� ���� FreeBSD-�������.  ���� ��� �������� ����������
         (� ��� ����� ����������� :-) ���������� � <xref
-        linkend="verify-ether-if-config">.</para>
+        linkend="verify-ether-if-config"/>.</para>
 
       <para>��������, ��� ����� ��������� ����, � ���������� ������ �������
         `hostname`, �� �� ������� 'curly.my.domain', ���� �� ��� ���� ����
@@ -276,11 +278,11 @@
       <sect2>
         <title>���������������� ����� ���� FreeBSD-�������</title>
 
-        <para><emphasis><emphasis remap=bf>�������: �� ������ ����
+        <para><emphasis><emphasis remap="bf">�������: �� ������ ����
           ���������������� � ������� ��� ������������ 'root' ��� ��������������
           ��������� ���������������� ������!</emphasis></emphasis></para>
 
-        <para><emphasis><emphasis remap=bf>��������������: ���� �� ���������
+        <para><emphasis><emphasis remap="bf">��������������: ���� �� ���������
           ������ ��� �������������� ��������� ���������������� ������, �����
           ��������� ���, ��� ������� �� ������ ����������� ���������!  ������
           ��������� ���������!</emphasis></emphasis></para>
@@ -288,7 +290,7 @@
         <para>���������������� ����, � ������� ������������ ��� ����
           FreeBSD-������� ��� �������� ����������
           <filename>/etc/rc.conf</filename>.  ����������� ������� ���������
-          �������� ('<emphasis remap=tt>ee</emphasis>') ��� ��������������
+          �������� ('<emphasis remap="tt">ee</emphasis>') ��� ��������������
           ����� �����.</para>
 
         <para>����� ����, ��� �� ����������������� � ������� ��� ������������
@@ -335,7 +337,7 @@ hostname="curly.my.domain"	# Set this!
 
       <para>������� ���, ��� � ������ ����������� ���������������, ���
         Ethernet-��������� � ������� FreeBSD ���������� '<emphasis
-        remap=tt>ed0</emphasis>'.  ��� ����������� �������� ��� �����������
+        remap="tt">ed0</emphasis>'.  ��� ����������� �������� ��� �����������
         NE-1000, NE-2000, WD/SMC (������� 8003, 8013) � ������� ���������
         Elite Ultra (8216).</para>
 
@@ -345,7 +347,7 @@ hostname="curly.my.domain"	# Set this!
         ��������� ��� ����������� ����� ���������� ��� ������ ��������
         ��������, ���������� � FAQ �� FreeBSD, ������� ����������� ���
         ���������� � �������� ��� � ������ ������������� (�.e. ��: '<emphasis
-        remap=tt>de0</emphasis>', '<emphasis remap=tt>zp0</emphasis>'
+        remap="tt">de0</emphasis>', '<emphasis remap="tt">zp0</emphasis>'
         � �.�.).</para>
 
       <para>��� � � ������ � ������ ����, Ethernet-��������� FreeBSD-�������
@@ -359,8 +361,8 @@ hostname="curly.my.domain"	# Set this!
           </screen>
         </informalexample>
 
-(��� ������� ������������ ������:  "������ ��� <emphasis remap=bf>�</emphasis>
-����<emphasis remap=bf>�</emphasis>��� <acronym>������</acronym>������
+(��� ������� ������������ ������:  "������ ��� <emphasis remap="bf">�</emphasis>
+����<emphasis remap="bf">�</emphasis>��� <acronym>������</acronym>������
 ��� ���� ������� ���������.") </para>
 
 <para>������:
@@ -381,21 +383,21 @@ hostname="curly.my.domain"	# Set this!
 
 <para>� ���� �������, �������� ��������� ����������:</para>
 
-<para><emphasis remap=tt>ed0:</emphasis>  ��������� Ethernet</para>
+<para><emphasis remap="tt">ed0:</emphasis>  ��������� Ethernet</para>
 
-<para><emphasis remap=tt>lp0:</emphasis>  ��������� ������������� ����� (�
+<para><emphasis remap="tt">lp0:</emphasis>  ��������� ������������� ����� (�
 ������ ����������� �� ���������������)</para>
 
-<para><emphasis remap=tt>tun0:</emphasis> "����������" ����������;
+<para><emphasis remap="tt">tun0:</emphasis> "����������" ����������;
 <emphasis>��� ���� �� ������� ������������� ppp!</emphasis></para>
 
-<para><emphasis remap=tt>sl0:</emphasis>  SL/IP ���������� (� ������
+<para><emphasis remap="tt">sl0:</emphasis>  SL/IP ���������� (� ������
 ����������� �� ���������������)</para>
 
-<para><emphasis remap=tt>ppp0:</emphasis> ��� ���� ���������� PPP (��� ����
+<para><emphasis remap="tt">ppp0:</emphasis> ��� ���� ���������� PPP (��� ����
 ppp; � ������ ����������� �� ���������������)</para>
 
-<para><emphasis remap=tt>lo0:</emphasis>  ���������� "��������� �����" (�
+<para><emphasis remap="tt">lo0:</emphasis>  ���������� "��������� �����" (�
 ������ ����������� �� ���������������)</para>
 
 <para>��� ����� �� �������, ���������� 'ed0' � �������� ��������� � ��������.
@@ -407,7 +409,7 @@ ppp; 
 </listitem>
 
 <listitem>
-<para>����� ��������- ("<emphasis remap=tt>inet</emphasis>") �����, (� ������
+<para>����� ��������- ("<emphasis remap="tt">inet</emphasis>") �����, (� ������
 ������ 192.168.1.1)</para>
 </listitem>
 
@@ -433,17 +435,17 @@ ppp; 
 �� ��� (�����) ��� �� ���� ���������������.</para>
 
 <para>���� ������������ Ethernet-���������� �����, �� �� ������ ������� �
-<xref linkend="list-lan-hosts">.</para>
+<xref linkend="list-lan-hosts"/>.</para>
 
 <sect2 >
 <title>���������������� Ethernet-����������</title>
 
-<para><emphasis><emphasis remap=bf>�������: �� ������ ���� ���������������� �
+<para><emphasis><emphasis remap="bf">�������: �� ������ ���� ���������������� �
 ������� ��� ������������ 'root' ��� �������������� ��������� ����������������
 ������!</emphasis>
 </emphasis></para>
 
-<para><emphasis><emphasis remap=bf>��������������: ���� �� ��������� ������
+<para><emphasis><emphasis remap="bf">��������������: ���� �� ��������� ������
 ��� �������������� ��������� ���������������� ������, ����� ��� ���������, ���
 ������� �� ������ ����������� ���������!  ������ ���������!</emphasis></emphasis></para>
 
@@ -469,7 +471,7 @@ ppp; 
 </para>
 
 <para>��� ���������� ��������� ��� ������, ����� �������� FreeBSD � ���, ��� ��
-������� �������� ������ ����������, ������� ��� '<emphasis remap=tt>ed0</emphasis>'.
+������� �������� ������ ����������, ������� ��� '<emphasis remap="tt">ed0</emphasis>'.
 �������� ��� ������ ���, ��� �������� ����:</para>
 
 <para>
@@ -479,11 +481,11 @@ ppp; 
 </para>
 
 <para>(�������� �������� �� ������ ����� ������������� ���������� ���������
-����� ("<emphasis remap=tt>lo0</emphasis>") � ����������� Ethernet
-("<emphasis remap=tt>ed0</emphasis>")! </para>
+����� ("<emphasis remap="tt">lo0</emphasis>") � ����������� Ethernet
+("<emphasis remap="tt">ed0</emphasis>")! </para>
 
-<para><emphasis><emphasis remap=bf> �������: ���� ���� Ethernet-����� ����� ���,
-�������� �� '<emphasis remap=tt>ed0</emphasis>', �� ������ ���� ������� ���,
+<para><emphasis><emphasis remap="bf"> �������: ���� ���� Ethernet-����� ����� ���,
+�������� �� '<emphasis remap="tt">ed0</emphasis>', �� ������ ���� ������� ���,
 ������� ������������� ������ ����������.</emphasis></emphasis></para>
 
 <para>���� �� ������������� FreeBSD, ��������� ������� ����������, �� ������
@@ -491,7 +493,7 @@ ppp; 
 ������� ��������.  � ���� ��� ���, �� ��� ��� ��������� ������������ ���������
 ����� ����������.</para>
 
-<para>���������� ��������� ��� Ethernet-���������� ('<emphasis remap=tt>ed0</emphasis>'):</para>
+<para>���������� ��������� ��� Ethernet-���������� ('<emphasis remap="tt">ed0</emphasis>'):</para>
 
 <para>��� �������, ������������ �������� ����������, ��������� ������, �������
 ���������� ������� ��������� ��� ������� ����������.  � ����������� �����
@@ -505,7 +507,7 @@ ppp; 
 </para>
 
 <para>��� ���������� �������� ������ ������, ����� ���, ����� ���������� ���������
-��� ���������� '<emphasis remap=tt>ed0</emphasis>'.</para>
+��� ���������� '<emphasis remap="tt">ed0</emphasis>'.</para>
 
 <para>���� �� ������������� FreeBSD, ��������� ������� ����������, �� ������
 '<literal>ifconfig_ed0=</literal>' ��� ������ �������������� ����� �����������
@@ -552,7 +554,7 @@ ifconfig_ed1="inet 192.168.1.1  netmask 255.255.255.0"
 <para>���� �� ������������� ������������ FreeBSD-������� ��� ���������������
 ������� ������� ��������, �� �� ��� ���� ����� ������ ��������� ���� �
 ����� ��������-����������� , �� ������ ���������� ���� ������ � ������� �
-<xref linkend="list-lan-hosts">.</para>
+<xref linkend="list-lan-hosts"/>.</para>
 
 <para>���� �� �� ������������� ������������ ��������� PPP �� FreeBSD-������ ���
 ������������� ��� ������� ������� ����� ��������� ����, �� ��� ����������
@@ -574,7 +576,7 @@ ifconfig_ed1="inet 192.168.1.1  netmask 255.255.255.0"
 
       <para><filename>/etc/rc.conf</filename>.</para>
 
-<para><emphasis><emphasis remap=bf>����������: ������ ����� ��� ��������� ���
+<para><emphasis><emphasis remap="bf">����������: ������ ����� ��� ��������� ���
 '<literal>gateway_enable="YES"</literal>', ���� ����� �������� IP-������� ���
 ������� ��� ��������� FreeBSD-�������.</emphasis></emphasis></para>
 
@@ -590,7 +592,7 @@ ifconfig_ed1="inet 192.168.1.1  netmask 255.255.255.0"
 <para>����������� ������ ����� ����� �������� ������ ���� ������ � ���� ���.
 ��� ��� � ����� ���������� ��������� ����� ('lo0').  �� ������� �����������
 �������, ��� ��� ���������� ����� ��� "localhost" � ������ ����� IP-�����
-127.0.0.1. <xref linkend="verify-ether-if-config">.</para>
+127.0.0.1. <xref linkend="verify-ether-if-config"/>.</para>
 
 	
 <para>����� ��������������� ���� <filename>/etc/hosts</filename> �������
@@ -612,7 +614,7 @@ ifconfig_ed1="inet 192.168.1.1  netmask 255.255.255.0"
 </informalexample>
 </para>
 
-<para>(������ '<emphasis remap=tt>127.0.0.1	localhost</emphasis>' ��
+<para>(������ '<emphasis remap="tt">127.0.0.1	localhost</emphasis>' ��
 ��������� � ����������.)</para>
 
 <para>��� ������ ��� ����������� ��������� � ���� <filename>/etc/hosts</filename>
@@ -702,13 +704,13 @@ PING curly.my.domain. (192.168.1.1): 56 data bytes
 
 <para>���� �� IP-����� ���� "curly" �� ������������� �������� 192.168.1.1 ���
 IP-����� ���� "localhost" �� ������������� �������� 127.0.0.1, ��������� �
-<xref linkend="list-lan-hosts"> � ��������� ������ � �����
+<xref linkend="list-lan-hosts"/> � ��������� ������ � �����
 '<filename>/etc/hosts</filename>'.</para>
 
 <para>���� ����� � ������, ���������� � ���������� ���������� ������� PING,
 ������������� ����������������, �� �������� �����-�� ������ ��-�� ����, ���
 ���-�� ������� � ������������ ����������, �� ��������� �
-<xref linkend="system-config"> � ��������� ��� � ������ ������.</para>
+<xref linkend="system-config"/> � ��������� ��� � ������ ������.</para>
 
 <para>����� ����, ��� ��� ����� ������������ ���������, ������ ���������� �
 ���������� �������.</para>
@@ -771,14 +773,14 @@ IP-
 
 <para>������� � ������� '<filename>/etc</filename>:</para>
 
-<para><emphasis remap=tt># cd /etc</emphasis></para>
+<para><emphasis remap="tt"># cd /etc</emphasis></para>
 
 <para>�������� ����� ������������ ������ � �������� 'ppp':</para>
 
-<para><emphasis remap=tt># cp -R ppp ppp.ORIGINAL</emphasis></para>
+<para><emphasis remap="tt"># cp -R ppp ppp.ORIGINAL</emphasis></para>
 
 <para>����� ���� � �������� '<filename>/etc</filename>' �� ������ ������� ���
-����������� '<emphasis remap=tt>ppp</emphasis>' �
+����������� '<emphasis remap="tt">ppp</emphasis>' �
 '<filename>ppp.ORIGINAL</filename>' .</para>
 
 </sect1>
@@ -893,9 +895,9 @@ demand:
 ��������������� ���������������� ������:</para>
 
 <sect3>
-<title>"<emphasis remap=tt>�����������</emphasis>" ������</title>
+<title>"<emphasis remap="tt">�����������</emphasis>" ������</title>
 
-<para>'<emphasis remap=tt>�����������</emphasis>'������ �������� ��������� �
+<para>'<emphasis remap="tt">�����������</emphasis>'������ �������� ��������� �
 ���������, ������������ �� ���� ��������� ������� ����� �����.  ��� ������
 ������ ����������� � ������ ������.</para>
 
@@ -912,12 +914,12 @@ demand:
 
 ��� ������ �������� ��������� PPP, ��� �� ���������� ������������ ������
 ���������������� ����.  � ������� FreeBSD ���������� '<filename>/dev/cuaa0</filename>'
-- ��� ��� �� ����� ����, ������� �������� ��� ������ "<emphasis remap=tt>COM1:</emphasis>"
+- ��� ��� �� ����� ����, ������� �������� ��� ������ "<emphasis remap="tt">COM1:</emphasis>"
 � �������� DOS, Windows, Windows 95 � �.�...</para>
 
-<para>���� ��� ����� ��������� � ����� <emphasis remap=tt>COM2:</emphasis>, ��
+<para>���� ��� ����� ��������� � ����� <emphasis remap="tt">COM2:</emphasis>, ��
 ���������� ������� �������� '<filename>/dev/cuaa1</filename>,
-���� <emphasis remap=tt>COM3:</emphasis> - '<filename>/dev/cuaa2</filename>'.
+���� <emphasis remap="tt">COM3:</emphasis> - '<filename>/dev/cuaa2</filename>'.
 </para>
 
 <para>
@@ -1057,9 +1059,9 @@ OK-AT-OK\\dATDT\\T TIMEOUT 40 CONNECT"</screen>
 </sect3>
 
 <sect3>
-<title>"<emphasis remap=tt>�������������</emphasis>" ������</title>
+<title>"<emphasis remap="tt">�������������</emphasis>" ������</title>
 
-<para>'<emphasis remap=tt>�������������:</emphasis>' ������ �������� ��������� �
+<para>'<emphasis remap="tt">�������������:</emphasis>' ������ �������� ��������� �
 ���������, ������������ ��� ��������� "�������������" PPP-������ � �������������
 ���������� ���������.  � ��������� ���� ������ ����� ������������� ���������
 ������, ����������� � "�����������" ������.</para>
@@ -1095,15 +1097,15 @@ OK-AT-OK\\dATDT\\T TIMEOUT 40 CONNECT"</screen>
 </listitem>
 
 <listitem>
-<para>IBM Network (<ulink URL="http://www.ibm.net">http://www.ibm.net</ulink>)</para>
+<para>IBM Network (<ulink url="http://www.ibm.net">http://www.ibm.net</ulink>)</para>
 </listitem>
 
 <listitem>
-<para>AT&amp;T WorldNet (<ulink URL="http://att.com/worldnet">http://att.com/worldnet</ulink>)</para>
+<para>AT&amp;T WorldNet (<ulink url="http://att.com/worldnet">http://att.com/worldnet</ulink>)</para>
 </listitem>
 
 <listitem>
-<para>Erol's (<ulink URL="http://www.erols.com">http://www.erols.com</ulink>)</para>
+<para>Erol's (<ulink url="http://www.erols.com">http://www.erols.com</ulink>)</para>
 </listitem>
 
 </itemizedlist>
@@ -1134,7 +1136,7 @@ OK-AT-OK\\dATDT\\T TIMEOUT 40 CONNECT"</screen>
 
 ��� ������ ���������� ����� ��������, �� �������� ����� ������������� �����
 ��������� �������.  ���� � ��� ����������� ���� ����-��� ����� ������� ��������
-���������� ������� ����� '<emphasis remap=tt>9</emphasis>'.</para>
+���������� ������� ����� '<emphasis remap="tt">9</emphasis>'.</para>
 
 <para>
 <informalexample>
@@ -1168,9 +1170,9 @@ Authentication Protocol" ("
 </sect3>
 
 <sect3>
-<title>������ "<emphasis remap=tt>������</emphasis>"</title>
+<title>������ "<emphasis remap="tt">������</emphasis>"</title>
 
-<para>"<emphasis remap=tt>Demand</emphasis>"-������ �������� ��������� �
+<para>"<emphasis remap="tt">Demand</emphasis>"-������ �������� ��������� �
 ���������, ������������ ��� ��������� PPP-���������� "� ������� �� ����������"
 � ������������ ��������� ��������. ��������� ���� ������ ����� ����� ��������
 ������ �� "�����������" ������, ������� ����� �������� ���� �������������.
@@ -1253,7 +1255,7 @@ Authentication Protocol" ("
 
 <para>��� ������� ������������� ���� "���������" IP-������� ��� ��������� �
 ��������� ������ PPP-����������.  ��� ������������� ��������� PPP �������
-IP-����� 127.1.1.1 ��� ��������� ������� '<emphasis remap=tt>tun0</emphasis>'
+IP-����� 127.1.1.1 ��� ��������� ������� '<emphasis remap="tt">tun0</emphasis>'
 (�����������) ���������� � 127.2.2.2 ��� ��������� �������.  ����������
 '<filename>/0</filename>' � ������� ������ �������� ��������� PPP, ��� � ����
 ������� ��� �������� ����� � ��� ����� (� ���������� ������!) ����
@@ -1264,12 +1266,12 @@ IP-
 <para>���������, �� �������, ��� ��� ��������-��������� ����������� ���
 IP-������ ��� ����� ������ ����������!  ���� ��� ��������-��������� �������� ���
 ������������ IP-�����, �� �� ������� ��� ������������ ����� ������� ������ ���
-����� <emphasis>������</emphasis> ������ <emphasis remap=tt>127.1.1.1
+����� <emphasis>������</emphasis> ������ <emphasis remap="tt">127.1.1.1
 </emphasis>.</para>
 
 <para>� �����, ���� ��� ��������-��������� ������� ��� ������������ IP-�����,
 ������� �� ���������� �� ����� �������, �� ������� ������ ���� ����� �����
-<emphasis>������</emphasis> ������ <emphasis remap=tt>127.2.2.2</emphasis>.
+<emphasis>������</emphasis> ������ <emphasis remap="tt">127.2.2.2</emphasis>.
 </para>
 
 <para>� ����� �������, �������� ������� ����� ����� �������� �������
@@ -1287,10 +1289,10 @@ IP-
 ������� �� ��������� ��� IP-�������, ������� ��������� �� (���������) IP-�����
 ������� ��������-����������.</para>
 
-<para><emphasis><emphasis remap=bf>����������: ���� �� ����������� ������������
-����� ��������-����������� ����� ������ <emphasis remap=tt>127.2.2.2</emphasis>
+<para><emphasis><emphasis remap="bf">����������: ���� �� ����������� ������������
+����� ��������-����������� ����� ������ <emphasis remap="tt">127.2.2.2</emphasis>
 � ���������� ������, ����������� ���� �� ����� � �����, ������
-<emphasis remap=tt>127.2.2.2</emphasis></emphasis></emphasis>.</para>
+<emphasis remap="tt">127.2.2.2</emphasis></emphasis></emphasis>.</para>
 
 <para>������� ���� "���������" ������� ��� IP-�������, ��������� PPP ��������
 ����������� � ������ �������:
@@ -1398,12 +1400,12 @@ PPP</para>
 
 <para>��������� �������� �������� ��, ��� �� ������������ � �����
 '<filename>/etc/ppp/ppp.conf</filename>', ������� �������� ���������
-'<emphasis remap=tt>set ifaddr</emphasis>' �
-'<emphasis remap=tt>add 0 0</emphasis>' (�.e. ���������, ������������ ���
+'<emphasis remap="tt">set ifaddr</emphasis>' �
+'<emphasis remap="tt">add 0 0</emphasis>' (�.e. ���������, ������������ ���
 ������������ "������ ��� �������������") ��������� ������� "delete ALL" �
 "add 0 0 HISADDR" � ����� <filename>/etc/ppp/ppp.linkup</filename>.</para>
 
-<para><emphasis><emphasis remap=bf>��� ��������, ������� ���������
+<para><emphasis><emphasis remap="bf">��� ��������, ������� ���������
 �������������� ������������� ����������.</emphasis></emphasis></para>
 
 <para>��� ������������ ���� �� ��������� � �����
@@ -1425,7 +1427,7 @@ PPP</para>
 
 <para>����, ����� ��� �����������, �� ����������� ���� ������������ ���� -
 ���������� ���� FreeBSD-������� � ���������, ��������� ppp, �� ������ �������
-���� <xref linkend="testing-the-network">.</para>
+���� <xref linkend="testing-the-network"/>.</para>
 
 <para>���� �� ������������� ������������ ��������� PPP � ������ "������� ���
 �������������" ��� �� ����������� ���������������� IP-������ ����� �������
@@ -1444,12 +1446,12 @@ FreeBSD-
 <para>��������, ���� ��������� ����������� ����� �� ��������� ���� ������:
 </para>
 
-<para><emphasis remap=tt># ppp interactive   (������������� �����)</emphasis>
+<para><emphasis remap="tt"># ppp interactive   (������������� �����)</emphasis>
 </para>
 
 <para> ���</para>
 
-<para><emphasis remap=tt># ppp -auto demand  (����� ������� ��� �������������),
+<para><emphasis remap="tt"># ppp -auto demand  (����� ������� ��� �������������),
 </emphasis></para>
 
 <para>�� ������� ����� ��������������� ��� ������� ������� Internet
@@ -1458,21 +1460,21 @@ FreeBSD-
 <para>��� ������� ��������� PPP ��� ����� ����� ��������� ��������� ���� �
 ��������, ������ ���� ������������ ���� �� ���� ����������� ������:</para>
 
-<para><emphasis remap=tt># ppp -alias interactive   (������������� �����)
+<para><emphasis remap="tt"># ppp -alias interactive   (������������� �����)
 </emphasis></para>
 
 <para> ���</para>
 
-<para><emphasis remap=tt># ppp -auto -alias demand  (����� ������� ���
+<para><emphasis remap="tt"># ppp -auto -alias demand  (����� ������� ���
 �������������)</emphasis></para>
 
 <para>��� �� �� ������ ������������ �������
-<emphasis remap=tt>``alias enable yes''</emphasis> � ����������������
+<emphasis remap="tt">``alias enable yes''</emphasis> � ����������������
 ����� ��������� PPP. (�� ����� ��������� ����������� ���������� � man-��������
 ����������� �����������).</para>
 
 <para>������ ��� � ����, ���� �� ����������� ������� �
-<xref linkend="config-window-system">.</para>
+<xref linkend="config-window-system"/>.</para>
 
 </sect1>
 </chapter>
@@ -1488,7 +1490,7 @@ FreeBSD-
 ��� ���� ������ �� ��������� ��� ��������������� ������� ������� Windows ���
 �������������� �������� ��������������.  ���� ��� ���������� ����� ���������
 ���������� ���� ���������, � ���������� ��� ���������� �
-<ulink URL="http://www.aladdin.co.uk/techweb">http://www.aladdin.co.uk/techweb</ulink>.
+<ulink url="http://www.aladdin.co.uk/techweb">http://www.aladdin.co.uk/techweb</ulink>.
 </para>
 
 <sect1>
@@ -1500,13 +1502,13 @@ Windows '95 
 �������� ����� �� ��������� � ������ ��������-����������.  ��� ����� ���������
 ��������� ��������:</para>
 
-<para><emphasis remap=bf>�������� ���� "hosts" ��� Windows '95:</emphasis>
+<para><emphasis remap="bf">�������� ���� "hosts" ��� Windows '95:</emphasis>
 </para>
 
 <para>��� ����, ����� ���� ����������� ����������� � ������� ��������� ��
 ��������� TCP/IP ������ ����� ��������� ����, ���������� ������� ����������
 ����� ����� "hosts", ������� ��� ���������� �� FreeBSD-������� �
-<xref linkend="list-lan-hosts">.
+<xref linkend="list-lan-hosts"/>.
 <itemizedlist>
 
 <listitem>
@@ -1516,7 +1518,7 @@ Windows '95 
 
 <listitem>
 <para>� ��������� ������� ������ � ����� ������ �� ����� "hosts", ���������� �
-<xref linkend="list-lan-hosts">.</para>
+<xref linkend="list-lan-hosts"/>.</para>
 </listitem>
 
 <listitem>
@@ -1527,7 +1529,7 @@ Windows '95 
 </itemizedlist>
 </para>
 
-<para><emphasis remap=bf>���������������� ������� �������� TCP/IP
+<para><emphasis remap="bf">���������������� ������� �������� TCP/IP
 Windows '95</emphasis>:
 <itemizedlist>
 
@@ -1564,7 +1566,7 @@ Ethernet-
 </itemizedlist>
 </para>
 
-<para><emphasis remap=bf>������������ IP-������:</emphasis>
+<para><emphasis remap="bf">������������ IP-������:</emphasis>
 <itemizedlist>
 
 <listitem>
@@ -1589,7 +1591,7 @@ Ethernet-
 </itemizedlist>
 </para>
 
-<para><emphasis remap=bf>���������������� �����:</emphasis>
+<para><emphasis remap="bf">���������������� �����:</emphasis>
 <itemizedlist>
 
 <listitem>
@@ -1607,7 +1609,7 @@ FreeBSD-
 </itemizedlist>
 </para>
 
-<para><emphasis remap=bf>���������������� DNS:</emphasis></para>
+<para><emphasis remap="bf">���������������� DNS:</emphasis></para>
 
 <para>� ������ ����������� ���������������, ��� ��� ��������-���������
 ����������� ��� ������ �������� �������� ���� (��� DNS-��������), ������� ��
@@ -1651,17 +1653,17 @@ DNS-
 </itemizedlist>
 </para>
 
-<para><emphasis remap=bf>������ ��������� TCP/IP � Windows '95:</emphasis></para>
+<para><emphasis remap="bf">������ ��������� TCP/IP � Windows '95:</emphasis></para>
 
 <para>� ����� ������ ��������� �� ��������� "�������������", "������������ WINS"
 � "��������" �� ������������.</para>
 
 <para>���� �� ��������� ������������ ������ WINS, ���������� �
-<ulink URL="http://www.localnet.org">http://www.localnet.org</ulink> ���
+<ulink url="http://www.localnet.org">http://www.localnet.org</ulink> ���
 ��������� ����� ��������� ���������� � ��������� ���� ������, �������� �
 ��������� � ���������� ������ ��������� ����� ��������.</para>
 
-<para><emphasis remap=bf>���������� �������� ����������������:</emphasis>
+<para><emphasis remap="bf">���������� �������� ����������������:</emphasis>
 <itemizedlist>
 
 <listitem>
@@ -1694,12 +1696,12 @@ DNS-
 <para>��������, ��������� � ���� ������, ��������� � Windows NT 4.0 Workstation,
 �� �������� �� �� �����, ��� � � NT 3.5x.  �� ������ ���������� � �������
 "���������������� Windows for Workgroups", ���� �� ��������������
-Windows NT 3.5<emphasis remap=it>x</emphasis>, ��� ��� ����������������
+Windows NT 3.5<emphasis remap="it">x</emphasis>, ��� ��� ����������������
 ��������� NT 3.5 � Windows for Workgroups ���� � ��� ��.</para>
 
 <para>��������� ��������� ��������: </para>
 
-<para><emphasis remap=bf>�������� ���� "hosts" ��� Windows NT:</emphasis></para>
+<para><emphasis remap="bf">�������� ���� "hosts" ��� Windows NT:</emphasis></para>
 
 <para>��� ����, ����� ���� ����������� ����������� � ������� ��������� TCP/IP
 ������ ����� ��������� ����, ���������� ������� ���������� ����� ����� "hosts",
@@ -1725,7 +1727,7 @@ Windows NT 3.5<emphasis remap=it>x</emphasis>, 
 </itemizedlist>
 </para>
 
-<para><emphasis remap=bf>���������������� ������� �������� TCP/IP ���
+<para><emphasis remap="bf">���������������� ������� �������� TCP/IP ���
 Windows NT</emphasis>:
 <itemizedlist>
 
@@ -1770,7 +1772,7 @@ Windows NT</emphasis>:
 </itemizedlist>
 </para>
 
-<para><emphasis remap=bf>���������������� IP-������:</emphasis></para>
+<para><emphasis remap="bf">���������������� IP-������:</emphasis></para>
 
 <para>���������, ��� Ethernet-��������� ������ � ������ "�������". ���� ��� ��
 ���, �� "���������" ������, ������� ����������� ������ ���������� �� ��������.
@@ -1795,7 +1797,7 @@ Windows NT</emphasis>:
 </itemizedlist>
 </para>
 
-<para><emphasis remap=bf>���������������� �����:</emphasis></para>
+<para><emphasis remap="bf">���������������� �����:</emphasis></para>
 
 <para>� ����� ��������� ���� FreeBSD-�������  ����� ��������������� ��� ���� �
 ��������, ������� ����� ���������������� ������ ����� ��������� ����� Ethernet
@@ -1814,7 +1816,7 @@ Windows NT</emphasis>:
 </itemizedlist>
 </para>
 
-<para><emphasis remap=bf>���������������� DNS:</emphasis></para>
+<para><emphasis remap="bf">���������������� DNS:</emphasis></para>
 
 <para>� ������ ����������� ���������������, ��� ��� ��������-���������
 ����������� ��� ������ �������� �������� ���� (��� DNS-��������), ������� ��
@@ -1848,17 +1850,17 @@ DNS-
 </itemizedlist>
 </para>
 
-<para><emphasis remap=bf>������ ��������� TCP/IP � Windows NT:</emphasis></para>
+<para><emphasis remap="bf">������ ��������� TCP/IP � Windows NT:</emphasis></para>
 
 <para>� ����� ������� ������������� ���������� "����� WINS" � "�������������"
 �� �����������������.</para>
 
 <para>���� �� ������� ������������ ������ WINS, ���������� �� ������
-<ulink URL="http://www.localnet.org">http://www.localnet.org</ulink> ��� �����
+<ulink url="http://www.localnet.org">http://www.localnet.org</ulink> ��� �����
 ��������� ���������� � ��������� ���� ������, �������� � ��������� ����������
 ������ ��������� ����� ��������.</para>
 
-<para><emphasis remap=bf>���������� �������� ����������������:</emphasis>
+<para><emphasis remap="bf">���������� �������� ����������������:</emphasis>
 <itemizedlist>
 
 <listitem>
@@ -1888,12 +1890,12 @@ DNS-
 TCP/IP-32, ������������� �� ������� �������.  �������� TCP/IP ��� Windows
 for Workgroups �� ������������ �� ������������ �������-������ ��� �� ��������.
 �������, ���� ��� ��� ����������, ����������� �� �� ������ �� ������
-<ulink URL="ftp://ftp.microsoft.com:/peropsys/windows/public/tcpip">ftp://ftp.microsoft.com:/peropsys/windows/public/tcpip</ulink>.</para>
+<ulink url="ftp://ftp.microsoft.com:/peropsys/windows/public/tcpip">ftp://ftp.microsoft.com:/peropsys/windows/public/tcpip</ulink>.</para>
 
 <para>��� ������ �������� TCP/IP ����� ���������, ��������� ��������� ��������:
 </para>
 
-<para><emphasis remap=bf>�������� ���� "hosts" ��� Windows for Workgroups:
+<para><emphasis remap="bf">�������� ���� "hosts" ��� Windows for Workgroups:
 </emphasis></para>
 
 <para>��� ����, ����� ���� ����������� ����������� � ������� ��������� TCP/IP
@@ -1920,7 +1922,7 @@ for Workgroups 
 </itemizedlist>
 </para>
 
-<para><emphasis remap=bf>���������������� ���� TCP/IP ��� Windows for
+<para><emphasis remap="bf">���������������� ���� TCP/IP ��� Windows for
 Workgroups</emphasis>
 <itemizedlist>
 
@@ -1941,7 +1943,7 @@ Workgroups</emphasis>
 </itemizedlist>
 </para>
 
-<para><emphasis remap=bf>���������������� IP-������ ������� Windows for
+<para><emphasis remap="bf">���������������� IP-������ ������� Windows for
 Workgroups:</emphasis> </para>
 
 <para>���������, ��� � ������ "�������" ������ ���������� Ethernet-���������,
@@ -1965,7 +1967,7 @@ Workgroups:</emphasis> </para>
 </itemizedlist>
 </para>
 
-<para><emphasis remap=bf>���������������� �����:</emphasis></para>
+<para><emphasis remap="bf">���������������� �����:</emphasis></para>
 
 <para>� ����� ��������� ���� FreeBSD-�������  ����� ��������������� ��� ���� �
 ��������, ������� ����� ���������������� ������ ����� ��������� ����� Ethernet
@@ -1980,7 +1982,7 @@ Workgroups:</emphasis> </para>
 </itemizedlist>
 </para>
 
-<para><emphasis remap=bf>���������������� DNS:</emphasis></para>
+<para><emphasis remap="bf">���������������� DNS:</emphasis></para>
 
 <para>� ������ ����������� ���������������, ��� ��� ��������-���������
 ����������� ��� ������ �������� �������� ���� (��� DNS-��������), ������� ��
@@ -2018,7 +2020,7 @@ DNS-
 </itemizedlist>
 </para>
 
-<para><emphasis remap=bf>���������� �������� ����������������:</emphasis>
+<para><emphasis remap="bf">���������� �������� ����������������:</emphasis>
 <itemizedlist>
 
 <listitem>
@@ -2118,7 +2120,7 @@ FreeBSD-
 </orderedlist>
 </para>
 
-<para>��������� �������� '<emphasis remap=tt>ee</emphasis>', �������� ����
+<para>��������� �������� '<emphasis remap="tt">ee</emphasis>', �������� ����
 <filename>/etc/namedb/named.boot</filename> ���������� ���������:
 <informalexample>
 <screen>; ����������� ���� ��� ����-������� ����
@@ -2146,7 +2148,7 @@ primary   my.domain.		mydomain.db</screen>
 </listitem>
 
 <listitem>
-<para><emphasis remap=tt>cache . named.root</emphasis>
+<para><emphasis remap="tt">cache . named.root</emphasis>
 </para>
 
 <para>�������� ������� ���� � ���, ��� ������ �������� DNS-�������� ��������
@@ -2156,7 +2158,7 @@ primary   my.domain.		mydomain.db</screen>
 </listitem>
 
 <listitem>
-<para><emphasis remap=tt>primary my.domain. mydomain.db</emphasis>
+<para><emphasis remap="tt">primary my.domain. mydomain.db</emphasis>
 </para>
 
 <para>�������� ������� ���� � ���, ��� �� �������� "������������" ��� ������
@@ -2181,7 +2183,7 @@ IP-
 
 <para><emphasis>�� ����� ��������� ����������� �� ����������, ������������ �
 ���� ����� ����������� � man-�������� ����������� ����������� ��
-<emphasis remap=tt>named</emphasis>.</emphasis></para>
+<emphasis remap="tt">named</emphasis>.</emphasis></para>
 
 <para>���� <filename>/etc/namedb/mydomain.db</filename> ��� ������ ����������
 DNS-������� �������� ���������:
@@ -2247,7 +2249,7 @@ $ORIGIN 0.0.127.IN-ADDR.ARPA
 ��������� DNS-������, ������� ���� ������������ ������ � �����
 '<filename>/etc/rc.conf</filename>':</para>
 
-<para>��������� �������� '<emphasis remap=tt>ee</emphasis>', ��������� ����
+<para>��������� �������� '<emphasis remap="tt">ee</emphasis>', ��������� ����
 <filename>/etc/rc.conf</filename>.  �������� ������ �������� �� 40 ����� ���� �
 �� �������� ������, ������� �������� ��� �������� ����:
 <informalexample>
@@ -2294,7 +2296,7 @@ named_flags="-b /etc/namedb/named.boot" # Flags to named (if enabled).
 ��������� ������ �� ��� ��� ������� ����������, ��� ������������ ���������
 �������� ������� �� ���� ����, ��� ������������ ����������.</para>
 
-<para>(����������� '<emphasis remap=tt>man ipfw</emphasis>' ��� ��������� �����
+<para>(����������� '<emphasis remap="tt">man ipfw</emphasis>' ��� ��������� �����
 ��������� ���������� �� ��������� ������� ������������ ��� FreeBSD-������.)
 </para>
 
diff --git a/ru_RU.KOI8-R/share/sgml/articles.ent b/ru_RU.KOI8-R/share/sgml/articles.ent
deleted file mode 100644
index 67e8c7f446..0000000000
--- a/ru_RU.KOI8-R/share/sgml/articles.ent
+++ /dev/null
@@ -1,33 +0,0 @@
-<!--
-     The FreeBSD Russian Documentation Project
-
-     $FreeBSD$
-     $FreeBSDru: frdp/doc/ru_RU.KOI8-R/share/sgml/articles.ent,v 1.4 2004/08/13 07:07:53 den Exp $
-
-     Original revision: 1.1 (doc/share/sgml)
--->
-
-<!ENTITY % man PUBLIC "-//FreeBSD//ENTITIES DocBook Manual Page Entities//EN">
-%man;
-<!ENTITY % freebsd PUBLIC "-//FreeBSD//ENTITIES DocBook Miscellaneous FreeBSD Entities//EN">
-%freebsd;
-<!ENTITY % authors PUBLIC "-//FreeBSD//ENTITIES DocBook Author Entities//EN">
-%authors;
-<!ENTITY % teams PUBLIC "-//FreeBSD//ENTITIES DocBook Team Entities//RU">
-%teams;
-<!ENTITY % mailing-lists PUBLIC "-//FreeBSD//ENTITIES DocBook Mailing List Entities//RU">
-%mailing-lists;
-<!ENTITY % newsgroups PUBLIC "-//FreeBSD//ENTITIES DocBook Newsgroup Entities//RU">
-%newsgroups;
-<!ENTITY % trademarks PUBLIC "-//FreeBSD//ENTITIES DocBook Trademark Entities//RU">
-%trademarks;
-<!ENTITY % l10n PUBLIC "-//FreeBSD//ENTITIES DocBook Language Specific Entities//EN">
-%l10n;
-<!ENTITY % l10n-common PUBLIC "-//FreeBSD//ENTITIES DocBook Language Neutral Entities//EN">
-%l10n-common;
-
-<!ENTITY % urls-ru PUBLIC "-//FreeBSD//ENTITIES DocBook URL Entities//RU">
-%urls-ru;
-
-<!ENTITY % urls PUBLIC "-//FreeBSD//ENTITIES DocBook URL Entities//EN">
-%urls;
diff --git a/ru_RU.KOI8-R/share/sgml/bookinfo.ent b/ru_RU.KOI8-R/share/sgml/bookinfo.ent
deleted file mode 100644
index 186f3abf8a..0000000000
--- a/ru_RU.KOI8-R/share/sgml/bookinfo.ent
+++ /dev/null
@@ -1,22 +0,0 @@
-<!--
-     The FreeBSD Russian Documentation Project
-
-     $FreeBSD$
-     $FreeBSDru: frdp/doc/ru_RU.KOI8-R/share/sgml/bookinfo.ent,v 1.8 2003/11/08 03:02:46 phantom Exp $
-
-     Original revision: r18152
--->
-<!--
-     ������ �� ������ �����, ������� ����� ���� �������� � ������� DocBook
-     BookInfo.
-
-     ����� ��������� ������ ���� ������������ � ����� "bookinfo.<�������>",
-     ��� <�������> �������� ������ �������� �������� ��������. ���������
-     ����� ������� "bookinfo.legalnotice" � "bootinfo.preface".
--->
-
-<!ENTITY bookinfo.legalnotice SYSTEM "legalnotice.sgml">
-
-<!ENTITY bookinfo.trademarks SYSTEM "trademarks.sgml">
-
-<!ENTITY bookinfo.freebsd-glossary SYSTEM "glossary/freebsd-glossary.sgml">
diff --git a/ru_RU.KOI8-R/share/sgml/catalog b/ru_RU.KOI8-R/share/sgml/catalog
index 2b432d39e8..a3110cd3d4 100644
--- a/ru_RU.KOI8-R/share/sgml/catalog
+++ b/ru_RU.KOI8-R/share/sgml/catalog
@@ -13,24 +13,18 @@
   -- Original revision: r17819
   -- ...................................................................... --
 
+PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//RU"
+	"entities.ent"
+
 PUBLIC "-//FreeBSD//DOCUMENT DocBook Stylesheet//EN"
 	"freebsd.dsl"
 
-PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Articles Entity Set//EN"
-       "articles.ent"
-
-PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Books Entity Set//EN"
-       "books.ent"
-
 PUBLIC "-//FreeBSD//ENTITIES DocBook Mailing List Entities//RU"
 	"mailing-lists.ent"
 
 PUBLIC "-//FreeBSD//ENTITIES DocBook Language Specific Entities//EN"
 	"l10n.ent"
 
-PUBLIC  "-//FreeBSD//ENTITIES DocBook BookInfo Entities//RU"
-	"bookinfo.ent"
-
 PUBLIC "-//FreeBSD//ENTITIES DocBook Newsgroup Entities//RU"
 	"newsgroups.ent"
 
@@ -46,6 +40,9 @@ PUBLIC "-//FreeBSD//ENTITIES DocBook Russian Translators Entities//RU"
 PUBLIC "-//FreeBSD//ENTITIES DocBook URL Entities//RU"
 	"urls.ent"
 
+PUBLIC "-//FreeBSD//ENTITIES DocBook Glossary Entities//RU"
+	"glossary.ent"
+
   -- ...................................................................... --
   -- HTML docs ............................................................ --
 
diff --git a/ru_RU.KOI8-R/share/sgml/books.ent b/ru_RU.KOI8-R/share/sgml/entities.ent
similarity index 93%
rename from ru_RU.KOI8-R/share/sgml/books.ent
rename to ru_RU.KOI8-R/share/sgml/entities.ent
index 9ea9ffbd4e..b2372ea54c 100644
--- a/ru_RU.KOI8-R/share/sgml/books.ent
+++ b/ru_RU.KOI8-R/share/sgml/entities.ent
@@ -9,8 +9,6 @@
 
 <!ENTITY % man PUBLIC "-//FreeBSD//ENTITIES DocBook Manual Page Entities//EN">
 %man;
-<!ENTITY % bookinfo PUBLIC "-//FreeBSD//ENTITIES DocBook BookInfo Entities//RU">
-%bookinfo;
 <!ENTITY % freebsd PUBLIC "-//FreeBSD//ENTITIES DocBook Miscellaneous FreeBSD Entities//EN">
 %freebsd;
 <!ENTITY % authors PUBLIC "-//FreeBSD//ENTITIES DocBook Author Entities//EN">
@@ -31,3 +29,5 @@
 %urls-ru;
 <!ENTITY % urls PUBLIC "-//FreeBSD//ENTITIES DocBook URL Entities//EN">
 %urls;
+<!ENTITY % glossary PUBLIC "-//FreeBSD//ENTITIES DocBook Glossary Entities//RU">
+%glossary;
diff --git a/ru_RU.KOI8-R/share/sgml/glossary/freebsd-glossary.sgml b/ru_RU.KOI8-R/share/sgml/glossary.ent
similarity index 87%
rename from ru_RU.KOI8-R/share/sgml/glossary/freebsd-glossary.sgml
rename to ru_RU.KOI8-R/share/sgml/glossary.ent
index c0c0ca931b..8bf0ed1984 100644
--- a/ru_RU.KOI8-R/share/sgml/glossary/freebsd-glossary.sgml
+++ b/ru_RU.KOI8-R/share/sgml/glossary.ent
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="koi8-r"?>
 <!--
      The FreeBSD Russian Documentation Project
 
@@ -13,6 +14,7 @@
 	Please keep this file sorted.
 -->
 
+<!ENTITY freebsd-glossary '
 <glossary status="draft" id="freebsd-glossary">
   <title>��������� &os;</title>
   <para>���� ��������� �������� ����������� ��� ������������ �	
@@ -23,52 +25,52 @@
 
     <glossentry>
       <glossterm>ACL</glossterm>
-      <glosssee otherterm="acl-glossary">
+      <glosssee otherterm="acl-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>ACPI</glossterm>
-     <glosssee otherterm="acpi-glossary">
+     <glosssee otherterm="acpi-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>AMD</glossterm>
-      <glosssee otherterm="amd-glossary">
+      <glosssee otherterm="amd-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>AML</glossterm>
-      <glosssee otherterm="aml-glossary">
+      <glosssee otherterm="aml-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>APIC</glossterm>
-      <glosssee otherterm="apic-glossary">
+      <glosssee otherterm="apic-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>APM</glossterm>
-      <glosssee otherterm="apm-glossary">
+      <glosssee otherterm="apm-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>APOP</glossterm>
-      <glosssee otherterm="apop-glossary">
+      <glosssee otherterm="apop-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>ASL</glossterm>
-      <glosssee otherterm="asl-glossary">
+      <glosssee otherterm="asl-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>ATA</glossterm>
-      <glosssee otherterm="ata-glossary">
+      <glosssee otherterm="ata-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>ATM</glossterm>
-      <glosssee otherterm="atm-glossary">
+      <glosssee otherterm="atm-glossary"/>
     </glossentry>
 
     <glossentry id="aml-glossary">
@@ -180,19 +182,19 @@
 	<para>��� ���, ������� � Computer Systems Research Group (CSRG)
 	  <ulink url="http://www.berkley.edu">���������������
 	  ������������ Berkeley</ulink> ���� ���������� � ���������� �
-	  AT&amp;T's 32V &unix;.  &os; �������� ����������� ������
+	  AT&amp;T&apos;s 32V &unix;.  &os; �������� ����������� ������
 	  CSRG.</para>
       </glossdef>
     </glossentry>
 
     <glossentry>
       <glossterm>BIOS</glossterm>
-      <glosssee otherterm="bios-glossary">
+      <glosssee otherterm="bios-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>BIND</glossterm>
-      <glosssee otherterm="bind-glossary">
+      <glosssee otherterm="bind-glossary"/>
    </glossentry>
 
     <glossentry id="bikeshed-glossary">
@@ -208,7 +210,7 @@
 
     <glossentry>
       <glossterm>BSD</glossterm>
-      <glosssee otherterm="bsd-glossary">
+      <glosssee otherterm="bsd-glossary"/>
     </glossentry>
   </glossdiv>
 
@@ -217,37 +219,37 @@
 
     <glossentry>
       <glossterm>CD</glossterm>
-      <glosssee otherterm="cd-glossary">
+      <glosssee otherterm="cd-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>CHAP</glossterm>
-      <glosssee otherterm="chap-glossary">
+      <glosssee otherterm="chap-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>CLIP</glossterm>
-      <glosssee otherterm="clip-glossary">
+      <glosssee otherterm="clip-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>COFF</glossterm>
-      <glosssee otherterm="coff-glossary">
+      <glosssee otherterm="coff-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>CPU</glossterm>
-      <glosssee otherterm="cpu-glossary">
+      <glosssee otherterm="cpu-glossary"/>
    </glossentry>
 
     <glossentry>
       <glossterm>CTS</glossterm>
-      <glosssee otherterm="cts-glossary">
+      <glosssee otherterm="cts-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>CVS</glossterm>
-      <glosssee otherterm="cvs-glossary">
+      <glosssee otherterm="cvs-glossary"/>
     </glossentry>
 
     <glossentry id="cd-glossary">
@@ -313,42 +315,42 @@
     <title>D</title>
     <glossentry>
       <glossterm>DAC</glossterm>
-      <glosssee otherterm="dac-glossary">
+      <glosssee otherterm="dac-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>DDB</glossterm>
-      <glosssee otherterm="ddb-glossary">
+      <glosssee otherterm="ddb-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>DHCP</glossterm>
-      <glosssee otherterm="dhcp-glossary">
+      <glosssee otherterm="dhcp-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>DNS</glossterm>
-      <glosssee otherterm="dns-glossary">
+      <glosssee otherterm="dns-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>DSDT</glossterm>
-      <glosssee otherterm="dsdt-glossary">
+      <glosssee otherterm="dsdt-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>DSR</glossterm>
-      <glosssee otherterm="dsr-glossary">
+      <glosssee otherterm="dsr-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>DTR</glossterm>
-      <glosssee otherterm="dtr-glossary">
+      <glosssee otherterm="dtr-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>DVMRP</glossterm>
-      <glosssee otherterm="dvmrp-glossary">
+      <glosssee otherterm="dvmrp-glossary"/>
     </glossentry>
 
     <glossentry id="dac-glossary">
@@ -429,17 +431,17 @@
 
     <glossentry>
       <glossterm>ECOFF</glossterm>
-      <glosssee otherterm="ecoff-glossary">
+      <glosssee otherterm="ecoff-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>ELF</glossterm>
-      <glosssee otherterm="elf-glossary">
+      <glosssee otherterm="elf-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>ESP</glossterm>
-      <glosssee otherterm="esp-glossary">
+      <glosssee otherterm="esp-glossary"/>
     </glossentry>
 
     <glossentry id="esp-glossary">
@@ -472,22 +474,22 @@
 
     <glossentry>
       <glossterm>FADT</glossterm>
-      <glosssee otherterm="fadt-glossary">
+      <glosssee otherterm="fadt-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>FAT</glossterm>
-      <glosssee otherterm="fat-glossary">
+      <glosssee otherterm="fat-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>FAT16</glossterm>
-      <glosssee otherterm="fat16-glossary">
+      <glosssee otherterm="fat16-glossary"/>
    </glossentry>
 
     <glossentry>
       <glossterm>FTP</glossterm>
-      <glosssee otherterm="ftp-glossary">
+      <glosssee otherterm="ftp-glossary"/>
     </glossentry>
 
     <glossentry id="fat-glossary">
@@ -520,6 +522,7 @@
       <glossdef>
 	<para></para>
       </glossdef>
+    </glossentry>
   </glossdiv>
 
   <glossdiv>
@@ -527,7 +530,7 @@
 
     <glossentry>
       <glossterm>GUI</glossterm>
-      <glosssee otherterm="gui-glossary">
+      <glosssee otherterm="gui-glossary"/>
     </glossentry>
 
     <glossentry id="giant-glossary">
@@ -561,12 +564,12 @@
 
     <glossentry>
       <glossterm>HTML</glossterm>
-      <glosssee otherterm="html-glossary">
+      <glosssee otherterm="html-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>HUP</glossterm>
-      <glosssee otherterm="hup-glossary">
+      <glosssee otherterm="hup-glossary"/>
     </glossentry>
 
     <glossentry id="hup-glossary">
@@ -591,47 +594,47 @@
 
     <glossentry>
       <glossterm>I/O</glossterm>
-      <glosssee otherterm="io-glossary">
+      <glosssee otherterm="io-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>IASL</glossterm>
-      <glosssee otherterm="iasl-glossary">
+      <glosssee otherterm="iasl-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>IMAP</glossterm>
-      <glosssee otherterm="imap-glossary">
+      <glosssee otherterm="imap-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>IP</glossterm>
-     <glosssee otherterm="ip-glossary">
+     <glosssee otherterm="ip-glossary"/>
     </glossentry>
 
     <glossentry>
      <glossterm>IPFW</glossterm>
-      <glosssee otherterm="ipfw-glossary">
+      <glosssee otherterm="ipfw-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>IPP</glossterm>
-      <glosssee otherterm="ipp-glossary">
+      <glosssee otherterm="ipp-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>IPv4</glossterm>
-      <glosssee otherterm="ipv4-glossary">
+      <glosssee otherterm="ipv4-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>IPv6</glossterm>
-      <glosssee otherterm="ipv6-glossary">
+      <glosssee otherterm="ipv6-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>ISP</glossterm>
-      <glosssee otherterm="isp-glossary">
+      <glosssee otherterm="isp-glossary"/>
     </glossentry>
 
     <glossentry id="ipfw-glossary">
@@ -705,6 +708,7 @@
       <glossdef>
 	<para></para>
       </glossdef>
+    </glossentry>
   </glossdiv>
 
   <glossdiv>
@@ -722,27 +726,27 @@
 
     <glossentry>
       <glossterm>KDC</glossterm>
-      <glosssee otherterm="kdc-glossary">
+      <glosssee otherterm="kdc-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>KLD</glossterm>
-      <glosssee otherterm="kld-glossary">
+      <glosssee otherterm="kld-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>KSE</glossterm>
-      <glosssee otherterm="kse-glossary">
+      <glosssee otherterm="kse-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>KVA</glossterm>
-      <glosssee otherterm="kva-glossary">
+      <glosssee otherterm="kva-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>Kbps</glossterm>
-      <glosssee otherterm="kbps-glossary">
+      <glosssee otherterm="kbps-glossary"/>
     </glossentry>
 
     <glossentry id="kld-glossary">
@@ -793,17 +797,17 @@
 
     <glossentry>
       <glossterm>LAN</glossterm>
-      <glosssee otherterm="lan-glossary">
+      <glosssee otherterm="lan-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>LOR</glossterm>
-      <glosssee otherterm="lor-glossary">
+      <glosssee otherterm="lor-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>LPD</glossterm>
-      <glosssee otherterm="lpd-glossary">
+      <glosssee otherterm="lpd-glossary"/>
     </glossentry>
 
     <glossentry id="lpd-glossary">
@@ -852,42 +856,42 @@
 
     <glossentry>
       <glossterm>MAC</glossterm>
-      <glosssee otherterm="mac-glossary">
+      <glosssee otherterm="mac-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>MADT</glossterm>
-      <glosssee otherterm="madt-glossary">
+      <glosssee otherterm="madt-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>MFC</glossterm>
-      <glosssee otherterm="mfc-glossary">
+      <glosssee otherterm="mfc-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>MFS</glossterm>
-      <glosssee otherterm="mfs-glossary">
+      <glosssee otherterm="mfs-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>MIT</glossterm>
-      <glosssee otherterm="mit-glossary">
+      <glosssee otherterm="mit-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>MLS</glossterm>
-     <glosssee otherterm="mls-glossary">
+     <glosssee otherterm="mls-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>MOTD</glossterm>
-      <glosssee otherterm="motd-glossary">
+      <glosssee otherterm="motd-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>MTA</glossterm>
-      <glosssee otherterm="mta-glossary">
+      <glosssee otherterm="mta-glossary"/>
     </glossentry>
 
     <glossentry id="mta-glossary">
@@ -942,7 +946,7 @@
 
 	<para>���� ������ ����� ������������, ����� ����������� �����������
 	  �� -STABLE � ����� ����������� ������������.</para>
-	<glossseealso otherterm="mfc-glossary">
+	<glossseealso otherterm="mfc-glossary"/>
       </glossdef>
     </glossentry>
 
@@ -976,27 +980,27 @@
 
     <glossentry>
       <glossterm>NAT</glossterm>
-      <glosssee otherterm="nat-glossary">
+      <glosssee otherterm="nat-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>NDISulator</glossterm>
-      <glosssee otherterm="projectevil-glossary">
+      <glosssee otherterm="projectevil-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>NFS</glossterm>
-      <glosssee otherterm="nfs-glossary">
+      <glosssee otherterm="nfs-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>NTFS</glossterm>
-      <glosssee otherterm="ntfs-glossary">
+      <glosssee otherterm="ntfs-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>NTP</glossterm>
-      <glosssee otherterm="ntp-glossary">
+      <glosssee otherterm="ntp-glossary"/>
     </glossentry>
 
     <glossentry id="nat-glossary">
@@ -1039,17 +1043,17 @@
 
     <glossentry>
       <glossterm>OBE</glossterm>
-      <glosssee otherterm="obe-glossary">
+      <glosssee otherterm="obe-glossary"/>
     </glossentry>
 
     <glossentry>
      <glossterm>ODMR</glossterm>
-      <glosssee otherterm="odmr-glossary">
+      <glosssee otherterm="odmr-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>OS</glossterm>
-      <glosssee otherterm="os-glossary">
+      <glosssee otherterm="os-glossary"/>
     </glossentry>
 
     <glossentry id="odmr-glossary">
@@ -1088,72 +1092,72 @@
 
     <glossentry>
       <glossterm>PAE</glossterm>
-      <glosssee otherterm="pae-glossary">
+      <glosssee otherterm="pae-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>PAM</glossterm>
-      <glosssee otherterm="pam-glossary">
+      <glosssee otherterm="pam-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>PAP</glossterm>
-      <glosssee otherterm="pap-glossary">
+      <glosssee otherterm="pap-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>PC</glossterm>
-      <glosssee otherterm="pc-glossary">
+      <glosssee otherterm="pc-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>PCNSFD</glossterm>
-      <glosssee otherterm="pcnfsd-glossary">
+      <glosssee otherterm="pcnfsd-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>PDF</glossterm>
-      <glosssee otherterm="pdf-glossary">
+      <glosssee otherterm="pdf-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>PID</glossterm>
-      <glosssee otherterm="pid-glossary">
+      <glosssee otherterm="pid-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>POLA</glossterm>
-      <glosssee otherterm="pola-glossary">
+      <glosssee otherterm="pola-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>POP</glossterm>
-      <glosssee otherterm="pop-glossary">
+      <glosssee otherterm="pop-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>POP3</glossterm>
-      <glosssee otherterm="pop3-glossary">
+      <glosssee otherterm="pop3-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>PPD</glossterm>
-     <glosssee otherterm="ppd-glossary">
+     <glosssee otherterm="ppd-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>PPP</glossterm>
-      <glosssee otherterm="ppp-glossary">
+      <glosssee otherterm="ppp-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>PPPoA</glossterm>
-      <glosssee otherterm="pppoa-glossary">
+      <glosssee otherterm="pppoa-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>PPPoE</glossterm>
-      <glosssee otherterm="pppoe-glossary">
+      <glosssee otherterm="pppoe-glossary"/>
     </glossentry>
 
     <glossentry id="pppoa-glossary">
@@ -1174,12 +1178,12 @@
 
     <glossentry>
       <glossterm>PR</glossterm>
-      <glosssee otherterm="pr-glossary">
+      <glosssee otherterm="pr-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>PXE</glossterm>
-      <glosssee otherterm="pxe-glossary">
+      <glosssee otherterm="pxe-glossary"/>
     </glossentry>
 
     <glossentry id="pap-glossary">
@@ -1336,47 +1340,47 @@
 
     <glossentry>
       <glossterm>RA</glossterm>
-      <glosssee otherterm="ra-glossary">
+      <glosssee otherterm="ra-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>RAID</glossterm>
-      <glosssee otherterm="raid-glossary">
+      <glosssee otherterm="raid-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>RAM</glossterm>
-      <glosssee otherterm="ram-glossary">
+      <glosssee otherterm="ram-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>RD</glossterm>
-      <glosssee otherterm="rd-glossary">
+      <glosssee otherterm="rd-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>RFC</glossterm>
-      <glosssee otherterm="rfc-glossary">
+      <glosssee otherterm="rfc-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>RISC</glossterm>
-      <glosssee otherterm="risc-glossary">
+      <glosssee otherterm="risc-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>RPC</glossterm>
-      <glosssee otherterm="rpc-glossary">
+      <glosssee otherterm="rpc-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>RS232C</glossterm>
-      <glosssee otherterm="rs232c-glossary">
+      <glosssee otherterm="rs232c-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>RTS</glossterm>
-      <glosssee otherterm="rts-glossary">
+      <glosssee otherterm="rts-glossary"/>
     </glossentry>
 
     <glossentry id="ram-glossary">
@@ -1457,47 +1461,47 @@
 
     <glossentry>
       <glossterm>SCI</glossterm>
-      <glosssee otherterm="sci-glossary">
+      <glosssee otherterm="sci-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>SCSI</glossterm>
-      <glosssee otherterm="scsi-glossary">
+      <glosssee otherterm="scsi-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>SG</glossterm>
-      <glosssee otherterm="sg-glossary">
+      <glosssee otherterm="sg-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>SMB</glossterm>
-      <glosssee otherterm="smb-glossary">
+      <glosssee otherterm="smb-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>SMP</glossterm>
-      <glosssee otherterm="smp-glossary">
+      <glosssee otherterm="smp-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>SMTP</glossterm>
-      <glosssee otherterm="smtp-glossary">
+      <glosssee otherterm="smtp-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>SMTP AUTH</glossterm>
-      <glosssee otherterm="smtpauth-glossary">
+      <glosssee otherterm="smtpauth-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>SSH</glossterm>
-      <glosssee otherterm="ssh-glossary">
+      <glosssee otherterm="ssh-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>STR</glossterm>
-      <glosssee otherterm="str-glossary">
+      <glosssee otherterm="str-glossary"/>
     </glossentry>
 
     <glossentry id="smtpauth-glossary">
@@ -1579,22 +1583,22 @@
 
     <glossentry>
       <glossterm>TCP</glossterm>
-      <glosssee otherterm="tcp-glossary">
+      <glosssee otherterm="tcp-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>TD</glossterm>
-      <glosssee otherterm="td-glossary">
+      <glosssee otherterm="td-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>TFTP</glossterm>
-      <glosssee otherterm="tftp-glossary">
+      <glosssee otherterm="tftp-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>TGT</glossterm>
-      <glosssee otherterm="tgt-glossary">
+      <glosssee otherterm="tgt-glossary"/>
     </glossentry>
 
     <glossentry id="tgt-glossary">
@@ -1635,32 +1639,32 @@
 
     <glossentry>
       <glossterm>UDP</glossterm>
-      <glosssee otherterm="udp-glossary">
+      <glosssee otherterm="udp-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>UFS1</glossterm>
-      <glosssee otherterm="ufs1-glossary">
+      <glosssee otherterm="ufs1-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>UFS2</glossterm>
-      <glosssee otherterm="ufs2-glossary">
+      <glosssee otherterm="ufs2-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>UID</glossterm>
-      <glosssee otherterm="uid-glossary">
+      <glosssee otherterm="uid-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>URL</glossterm>
-      <glosssee otherterm="url-glossary">
+      <glosssee otherterm="url-glossary"/>
     </glossentry>
 
     <glossentry>
       <glossterm>USB</glossterm>
-      <glosssee otherterm="usb-glossary">
+      <glosssee otherterm="usb-glossary"/>
     </glossentry>
 
     <glossentry id="url-glossary">
@@ -1719,7 +1723,7 @@
 
     <glossentry>
       <glossterm>VPN</glossterm>
-      <glosssee otherterm="vpn-glossary">
+      <glosssee otherterm="vpn-glossary"/>
     </glossentry>
 
     <glossentry id="vpn-glossary">
@@ -1732,4 +1736,4 @@
   </glossdiv>
 
 </glossary>
-
+'>
diff --git a/ru_RU.KOI8-R/share/sgml/legalnotice.sgml b/ru_RU.KOI8-R/share/sgml/legalnotice.sgml
deleted file mode 100644
index 2afb418e94..0000000000
--- a/ru_RU.KOI8-R/share/sgml/legalnotice.sgml
+++ /dev/null
@@ -1,53 +0,0 @@
-<!--
-     The FreeBSD Russian Documentation Project
-
-     $FreeBSD$
-     $FreeBSDru: frdp/doc/ru_RU.KOI8-R/share/sgml/legalnotice.sgml,v 1.8 2004/12/20 13:56:46 den Exp $
-
-     Original revision: r15624
--->
-<!--
-     Standard FreeBSD Documentation Project Legal Notice.
--->
-
-<legalnotice id="legalnotice">
-  <para>��������������� � ������������� �������� (SGML DocBook) �
-    <quote>����������������</quote> ���� (SGML, HTML, PDF, PostScript,
-    RTF � ������)
-    � ������������ ��� ��� ����, ��������� ��� ���������� ���������
-    ����������:</para>
-
-  <orderedlist>
-    <listitem>
-      <para>���������������� ����� ��������� ���� (SGML DocBook) ������
-        ��������� �������������� ���������� copyright, ���� ������
-	��������� � ��������� ����� �� ��������������� � ������ �������
-	����� ����� � ���������� ����.</para>
-    </listitem>
-
-    <listitem>
-      <para>���������������� ����� ���������������� ���� (��������������� �
-        ������ DTD, ���������������� � PDF, PostScript, RTF � ������ �������)
-	������ ��������� �������������� ���������� copyright, ���� ������
-	��������� � ��������� ����� �� ��������������� � ������������
-	�/��� ������ ����������, ������������ � �������������.</para>
-    </listitem>
-  </orderedlist>
-
-  <important>
-    <para>��� ������������ ������������ �������� ������������ FREEBSD
-      "��� ����" � ����� ����� ��� ������� ��������, �������, �� ��
-      ������������� �������� ����������, ������������ �������� � �����������
-      ��� ���������� ���� ����������. �� ��� ����� �������� ������
-      ���������������� FREEBSD �� ����� ��������������� �� ����� ������, ���������,
-      ���������, �����������, ���������� ��� ����������� ������ (�������,
-      �� �� ������������� ��������� ������� ������ ��� �����; ������ ������
-      ��� �� ������������ �������� ��� ������; ��������������� �������),
-      � ��� �� ����� ��������� � � ����� ������ ���������������,
-      ���������� �� �����������, ������� ���������������, ���
-      �������������� (������� ���������� ��� ���� ��������), ���������
-      ����� ����� ��� ������������� ���� ������������, ���� ����
-      �� ���� �������� � ����������� ������ ������.</para>
-  </important>
-</legalnotice>
-
diff --git a/ru_RU.KOI8-R/share/sgml/trademarks.ent b/ru_RU.KOI8-R/share/sgml/trademarks.ent
index e9dfbf4c11..e1485a566a 100644
--- a/ru_RU.KOI8-R/share/sgml/trademarks.ent
+++ b/ru_RU.KOI8-R/share/sgml/trademarks.ent
@@ -401,3 +401,84 @@
   ���������, � ������� FreeBSD �������� � �������� �����, � �����������
   ����������� ���� <quote>&trade;</quote> ���
   <quote>&reg;</quote>.</para>">
+
+<!ENTITY legalnotice '
+<legalnotice id="legalnotice">
+  <para>��������������� � ������������� �������� (SGML DocBook) �
+    <quote>����������������</quote> ���� (SGML, HTML, PDF, PostScript,
+    RTF � ������)
+    � ������������ ��� ��� ����, ��������� ��� ���������� ���������
+    ����������:</para>
+
+  <orderedlist>
+    <listitem>
+      <para>���������������� ����� ��������� ���� (SGML DocBook) ������
+        ��������� �������������� ���������� copyright, ���� ������
+	��������� � ��������� ����� �� ��������������� � ������ �������
+	����� ����� � ���������� ����.</para>
+    </listitem>
+
+    <listitem>
+      <para>���������������� ����� ���������������� ���� (��������������� �
+        ������ DTD, ���������������� � PDF, PostScript, RTF � ������ �������)
+	������ ��������� �������������� ���������� copyright, ���� ������
+	��������� � ��������� ����� �� ��������������� � ������������
+	�/��� ������ ����������, ������������ � �������������.</para>
+    </listitem>
+  </orderedlist>
+
+  <important>
+    <para>��� ������������ ������������ �������� ������������ FREEBSD
+      "��� ����" � ����� ����� ��� ������� ��������, �������, �� ��
+      ������������� �������� ����������, ������������ �������� � �����������
+      ��� ���������� ���� ����������. �� ��� ����� �������� ������
+      ���������������� FREEBSD �� ����� ��������������� �� ����� ������, ���������,
+      ���������, �����������, ���������� ��� ����������� ������ (�������,
+      �� �� ������������� ��������� ������� ������ ��� �����; ������ ������
+      ��� �� ������������ �������� ��� ������; ��������������� �������),
+      � ��� �� ����� ��������� � � ����� ������ ���������������,
+      ���������� �� �����������, ������� ���������������, ���
+      �������������� (������� ���������� ��� ���� ��������), ���������
+      ����� ����� ��� ������������� ���� ������������, ���� ����
+      �� ���� �������� � ����������� ������ ������.</para>
+  </important>
+</legalnotice>
+'>
+
+<!ENTITY trademarks '
+<legalnotice id="trademarks" role="trademarks">
+
+  <para>FreeBSD ��� ������������������ �������� �����
+    The FreeBSD Foundation.</para>
+
+  <para>UNIX ��� ������������������ �������� ����� The Open Group � ��� �
+    ������ �������.</para>
+
+  <para>Sun, Sun Microsystems, SunOS, Solaris, � Java ��� �������� �����
+    ��� ������������������ �������� ����� Sun Microsystems, Inc. � �����������
+    ������ � ������ �������.</para>
+
+<!-- Product Trademarks -->
+
+  <para>Apple � QuickTime ��� �������� ����� Apple Computer, Inc.,
+    ������������������ � ��� � ������ �������.</para>
+
+  <para>Macromedia � Flash ��� �������� ����� ��� ������������������
+    �������� ����� Macromedia, Inc. � ����������� ������ �/��� ������
+    �������.</para>
+
+  <para>Microsoft, Windows, � Windows Media ��� ��� ������������������
+     �������� ����� ��� �������� ����� Microsoft Corporation � �����������
+     ������ �/��� ������ �������.</para>
+
+  <para>PartitionMagic ��� ������������������ �������� ����� PowerQuest
+    Corporation � ����������� ������ �/��� ������ �������.</para>
+
+  <para>������ �� �����������, ������������ ��������������� � ����������
+    ��� ����������� ����� ���������, ���������� ��� �������� �����.
+    ����� ����� ����������� ���������� � ���� �����, � ������� FreeBSD
+    �������� � �������� �����, � ����������� ����������� ����
+    &trade;.</para>
+
+</legalnotice>
+'>
diff --git a/ru_RU.KOI8-R/share/sgml/trademarks.sgml b/ru_RU.KOI8-R/share/sgml/trademarks.sgml
deleted file mode 100644
index 86029f4244..0000000000
--- a/ru_RU.KOI8-R/share/sgml/trademarks.sgml
+++ /dev/null
@@ -1,48 +0,0 @@
-<!-- 
-     The FreeBSD Russian Documentation Project
-
-     $FreeBSD$
-     $FreeBSDru: frdp/doc/ru_RU.KOI8-R/share/sgml/trademarks.sgml,v 1.4 2005/07/23 12:39:36 marck Exp $
-
-     Original revision: r24441
--->
-<!--
-     Trademark Legend, as required by The Open Group, Sun, etc..
--->
-
-
-<legalnotice id="trademarks" role="trademarks">
-
-  <para>FreeBSD ��� ������������������ �������� �����
-    The FreeBSD Foundation.</para>
-
-  <para>UNIX ��� ������������������ �������� ����� The Open Group � ��� �
-    ������ �������.</para>
-
-  <para>Sun, Sun Microsystems, SunOS, Solaris, � Java ��� �������� �����
-    ��� ������������������ �������� ����� Sun Microsystems, Inc. � �����������
-    ������ � ������ �������.</para>
-
-<!-- Product Trademarks -->
-
-  <para>Apple � QuickTime ��� �������� ����� Apple Computer, Inc.,
-    ������������������ � ��� � ������ �������.</para>
-
-  <para>Macromedia � Flash ��� �������� ����� ��� ������������������
-    �������� ����� Macromedia, Inc. � ����������� ������ �/��� ������
-    �������.</para>
-
-  <para>Microsoft, Windows, � Windows Media ��� ��� ������������������
-     �������� ����� ��� �������� ����� Microsoft Corporation � �����������
-     ������ �/��� ������ �������.</para>
-
-  <para>PartitionMagic ��� ������������������ �������� ����� PowerQuest
-    Corporation � ����������� ������ �/��� ������ �������.</para>
-
-  <para>������ �� �����������, ������������ ��������������� � ����������
-    ��� ����������� ����� ���������, ���������� ��� �������� �����.
-    ����� ����� ����������� ���������� � ���� �����, � ������� FreeBSD
-    �������� � �������� �����, � ����������� ����������� ����
-    '&trade;'.</para>
-
-</legalnotice>