Index: chapter03/packages.xml
===================================================================
--- chapter03/packages.xml	(revision 037ab68b10c11941e0bf9fc18ab66f34b8c574f1)
+++ chapter03/packages.xml	(revision 9b04fe8983efc7ad9aee6f0c277f3317392dc2ae)
@@ -582,5 +582,5 @@
   </variablelist>
 
-  <para>Total size of these packages: <returnvalue/></para>
+  <para>Total size of these packages: about <returnvalue/></para>
 
 </sect1>
Index: chapter03/patches.xml
===================================================================
--- chapter03/patches.xml	(revision 037ab68b10c11941e0bf9fc18ab66f34b8c574f1)
+++ chapter03/patches.xml	(revision 9b04fe8983efc7ad9aee6f0c277f3317392dc2ae)
@@ -20,5 +20,5 @@
 
     <varlistentry>
-      <term>Bash Upstream Fixes Patch - 23 KB:</term>
+      <term>Bash Upstream Fixes Patch - <token>&bash-fixes-patch-size;</token>:</term>
       <listitem>
         <para>Download: <ulink url="&patches-root;&bash-fixes-patch;"/></para>
@@ -28,5 +28,5 @@
 
     <varlistentry>
-      <term>Bzip2 Bzgrep Security Fixes Patch - 1.2 KB:</term>
+      <term>Bzip2 Bzgrep Security Fixes Patch - <token>&bzip2-bzgrep-patch-size;</token>:</term>
       <listitem>
         <para>Download: <ulink url="&patches-root;&bzip2-bzgrep-patch;"/></para>
@@ -36,5 +36,5 @@
 
     <varlistentry>
-      <term>Bzip2 Documentation Patch - 1.6 KB:</term>
+      <term>Bzip2 Documentation Patch - <token>&bzip2-docs-patch-size;</token>:</term>
       <listitem>
         <para>Download: <ulink url="&patches-root;&bzip2-docs-patch;"/></para>
@@ -44,5 +44,5 @@
 
     <varlistentry>
-      <term>Coreutils Internationalization Fixes Patch - 101 KB:</term>
+      <term>Coreutils Internationalization Fixes Patch - <token>&coreutils-i18n-patch-size;</token>:</term>
       <listitem>
         <para>Download: <ulink url="&patches-root;&coreutils-i18n-patch;"/></para>
@@ -52,5 +52,5 @@
 
     <varlistentry>
-      <term>Coreutils Suppress Uptime, Kill, Su Patch - 13 KB:</term>
+      <term>Coreutils Suppress Uptime, Kill, Su Patch - <token>&coreutils-suppress-patch-size;</token>:</term>
       <listitem>
         <para>Download: <ulink url="&patches-root;&coreutils-suppress-patch;"/></para>
@@ -60,5 +60,5 @@
 
     <varlistentry>
-      <term>Coreutils Uname Patch - 4.6 KB:</term>
+      <term>Coreutils Uname Patch - <token>&coreutils-uname-patch-size;</token>:</term>
       <listitem>
         <para>Download: <ulink url="&patches-root;&coreutils-uname-patch;"/></para>
@@ -68,5 +68,5 @@
 
     <varlistentry>
-      <term>Diffutils Internationalization Fixes Patch - 18 KB:</term>
+      <term>Diffutils Internationalization Fixes Patch - <token>&diffutils-i18n-patch-size;</token>:</term>
       <listitem>
         <para>Download: <ulink url="&patches-root;&diffutils-i18n-patch;"/></para>
@@ -76,5 +76,5 @@
 
     <varlistentry>
-      <term>Expect Spawn Patch - 6.8 KB:</term>
+      <term>Expect Spawn Patch - <token>&expect-spawn-patch-size;</token>:</term>
       <listitem>
         <para>Download: <ulink url="&patches-root;&expect-spawn-patch;"/></para>
@@ -84,5 +84,5 @@
 
     <varlistentry>
-      <term>Gawk Segfault Patch - 1.3 KB:</term>
+      <term>Gawk Segfault Patch - <token>&gawk-segfault-patch-size;</token>:</term>
       <listitem>
         <para>Download: <ulink url="&patches-root;&gawk-segfault-patch;"/></para>
@@ -92,5 +92,5 @@
 
     <varlistentry>
-      <term>GCC Specs Patch - 15 KB:</term>
+      <term>GCC Specs Patch - <token>&gcc-specs-patch-size;</token>:</term>
       <listitem>
         <para>Download: <ulink url="&patches-root;&gcc-specs-patch;"/></para>
@@ -100,5 +100,5 @@
 
     <varlistentry>
-      <term>Glibc Linux Types Patch - 1.1 KB:</term>
+      <term>Glibc Linux Types Patch - <token>&glibc-linux_types-patch-size;</token>:</term>
       <listitem>
         <para>Download: <ulink url="&patches-root;&glibc-linux_types-patch;"/></para>
@@ -108,5 +108,5 @@
 
     <varlistentry>
-      <term>Grep RedHat Fixes Patch - 55 KB:</term>
+      <term>Grep RedHat Fixes Patch - <token>&grep-fixes-patch-size;</token>:</term>
       <listitem>
         <para>Download: <ulink url="&patches-root;&grep-fixes-patch;"/></para>
@@ -116,5 +116,5 @@
 
     <varlistentry>
-      <term>Groff Debian Patch - 360 KB:</term>
+      <term>Groff Debian Patch - <token>&groff-debian-patch-size;</token>:</term>
       <listitem>
         <para>Download: <ulink url="&patches-root;&groff-debian-patch;"/></para>
@@ -124,5 +124,5 @@
 
     <varlistentry>
-      <term>Gzip Security Patch - 2 KB:</term>
+      <term>Gzip Security Patch - <token>&gzip-security_fix-patch-size;</token>:</term>
       <listitem>
         <para>Download: <ulink url="&patches-root;&gzip-security_fix-patch;"/></para>
@@ -132,5 +132,5 @@
 
     <varlistentry>
-      <term>Inetutils GCC-4.x Fix Patch - 1.3 KB:</term>
+      <term>Inetutils GCC-4.x Fix Patch - <token>&inetutils-gcc4_fixes-patch-size;</token>:</term>
       <listitem>
         <para>Download: <ulink url="&patches-root;&inetutils-gcc4_fixes-patch;"/></para>
@@ -140,5 +140,5 @@
 
     <varlistentry>
-      <term>Inetutils No-Server-Man-Pages Patch - 4.1 KB:</term>
+      <term>Inetutils No-Server-Man-Pages Patch - <token>&inetutils-man_pages-patch-size;</token>:</term>
       <listitem>
         <para>Download: <ulink url="&patches-root;&inetutils-man_pages-patch;"/></para>
@@ -148,5 +148,5 @@
 
     <varlistentry>
-      <term>Kbd Backspace/Delete Fix Patch - 11 KB:</term>
+      <term>Kbd Backspace/Delete Fix Patch - <token>&kbd-backspace-patch-size;</token>:</term>
       <listitem>
         <para>Download: <ulink url="&patches-root;&kbd-backspace-patch;"/></para>
@@ -156,5 +156,5 @@
 
     <varlistentry>
-      <term>Kbd GCC-4.x Fix Patch - 1.4 KB:</term>
+      <term>Kbd GCC-4.x Fix Patch - <token>&kbd-gcc4_fixes-patch-size;</token>:</term>
       <listitem>
         <para>Download: <ulink url="&patches-root;&kbd-gcc4_fixes-patch;"/></para>
@@ -164,5 +164,5 @@
 
     <varlistentry>
-      <term>Linux kernel UTF-8 Composing Patch - 11 KB:</term>
+      <term>Linux kernel UTF-8 Composing Patch - <token>&linux-utf8-patch-size;</token>:</term>
       <listitem>
         <para>Download: <ulink url="&patches-root;&linux-utf8-patch;"/></para>
@@ -172,5 +172,5 @@
 
     <varlistentry>
-      <term>Mktemp Tempfile Patch - 3.5 KB:</term>
+      <term>Mktemp Tempfile Patch - <token>&mktemp-tempfile-patch-size;</token>:</term>
       <listitem>
         <para>Download: <ulink url="&patches-root;&mktemp-tempfile-patch;"/></para>
@@ -180,5 +180,5 @@
 
     <varlistentry>
-      <term>Ncurses Fixes Patch - 8.2 KB:</term>
+      <term>Ncurses Fixes Patch - <token>&ncurses-fixes-patch-size;</token>:</term>
       <listitem>
         <para>Download: <ulink url="&patches-root;&ncurses-fixes-patch;"/></para>
@@ -188,5 +188,5 @@
 
     <varlistentry>
-      <term>Perl Libc Patch - 1.1 KB:</term>
+      <term>Perl Libc Patch - <token>&perl-libc-patch-size;</token>:</term>
       <listitem>
         <para>Download: <ulink url="&patches-root;&perl-libc-patch;"/></para>
@@ -196,5 +196,5 @@
 
     <varlistentry>
-      <term>Readline Upstream Fixes Patch - 3.8 KB:</term>
+      <term>Readline Upstream Fixes Patch - <token>&readline-fixes-patch-size;</token>:</term>
       <listitem>
         <para>Download: <ulink url="&patches-root;&readline-fixes-patch;"/></para>
@@ -204,5 +204,5 @@
 
     <varlistentry>
-      <term>Sysklogd 8-Bit Cleanness Patch - 0.9 KB:</term>
+      <term>Sysklogd 8-Bit Cleanness Patch - <token>&sysklogd-8bit-patch-size;</token>:</term>
       <listitem>
         <para>Download: <ulink url="&patches-root;&sysklogd-8bit-patch;"/></para>
@@ -212,5 +212,5 @@
 
     <varlistentry>
-      <term>Sysklogd Fixes Patch - 27 KB:</term>
+      <term>Sysklogd Fixes Patch - <token>&sysklogd-fixes-patch-size;</token>:</term>
       <listitem>
         <para>Download: <ulink url="&patches-root;&sysklogd-fixes-patch;"/></para>
@@ -220,5 +220,5 @@
 
     <varlistentry>
-      <term>Tar GCC-4.x Fix Patch - 1.2 KB:</term>
+      <term>Tar GCC-4.x Fix Patch - <token>&tar-gcc4_fix-patch-size;</token>:</term>
       <listitem>
         <para>Download: <ulink url="&patches-root;&tar-gcc4_fix-patch;"/></para>
@@ -228,5 +228,5 @@
 
     <varlistentry>
-      <term>Tar Security Fixes Patch - 3.9 KB:</term>
+      <term>Tar Security Fixes Patch - <token>&tar-security_fixes-patch-size;</token>:</term>
       <listitem>
         <para>Download: <ulink url="&patches-root;&tar-security_fixes-patch;"/></para>
@@ -236,5 +236,5 @@
 
     <varlistentry>
-      <term>Tar Sparse Fix Patch - 0.9 KB:</term>
+      <term>Tar Sparse Fix Patch - <token>&tar-sparse_fix-patch-size;</token>:</term>
       <listitem>
         <para>Download: <ulink url="&patches-root;&tar-sparse_fix-patch;"/></para>
@@ -244,5 +244,5 @@
 
     <varlistentry>
-      <term>Texinfo Multibyte Fixes Patch - 1.5 KB:</term>
+      <term>Texinfo Multibyte Fixes Patch - <token>&texinfo-multibyte-patch-size;</token>:</term>
       <listitem>
         <para>Download: <ulink url="&patches-root;&texinfo-multibyte-patch;"/></para>
@@ -253,5 +253,5 @@
 
     <varlistentry>
-      <term>Texinfo Tempfile Fix Patch - 2.2 KB:</term>
+      <term>Texinfo Tempfile Fix Patch - <token>&texinfo-tempfile_fix-patch-size;</token>:</term>
       <listitem>
         <para>Download: <ulink url="&patches-root;&texinfo-tempfile_fix-patch;"/></para>
@@ -261,5 +261,6 @@
 
     <varlistentry>
-      <term>Util-linux Cramfs Patch - 2.8 KB:</term> <listitem>
+      <term>Util-linux Cramfs Patch - <token>&util-linux-cramfs-patch-size;</token>:</term>
+      <listitem>
         <para>Download: <ulink url="&patches-root;&util-linux-cramfs-patch;"/></para>
         <para>MD5 sum: <literal>&util-linux-cramfs-patch-md5;</literal></para>
@@ -268,4 +269,6 @@
 
   </variablelist>
+
+  <para>Total size of these patches: about <returnvalue/></para>
 
   <para>In addition to the above required patches, there exist a number of
Index: patches.ent
===================================================================
--- patches.ent	(revision 037ab68b10c11941e0bf9fc18ab66f34b8c574f1)
+++ patches.ent	(revision 9b04fe8983efc7ad9aee6f0c277f3317392dc2ae)
@@ -4,84 +4,145 @@
 <!ENTITY bash-fixes-patch "bash-&bash-version;-fixes-8.patch">
 <!ENTITY bash-fixes-patch-md5 "bc337045fa4c5839babf0306cc9df6d0">
+<!ENTITY bash-fixes-patch-size "23 KB">
+
 
 <!ENTITY bzip2-bzgrep-patch "bzip2-&bzip2-version;-bzgrep_security-1.patch">
 <!ENTITY bzip2-bzgrep-patch-md5 "4eae50e4fd690498f23d3057dfad7066">
+<!ENTITY bzip2-bzgrep-patch-size "1.2 KB">
+
 <!ENTITY bzip2-docs-patch "bzip2-&bzip2-version;-install_docs-1.patch">
 <!ENTITY bzip2-docs-patch-md5 "9e5dfbf4814b71ef986b872c9af84488">
+<!ENTITY bzip2-docs-patch-size "1.6 KB">
+
 
 <!ENTITY coreutils-i18n-patch "coreutils-&coreutils-version;-i18n-1.patch">
 <!ENTITY coreutils-i18n-patch-md5 "3df2e6fdb1b5a5c13afedd3d3e05600f">
+<!ENTITY coreutils-i18n-patch-size "101 KB">
+
 <!ENTITY coreutils-suppress-patch "coreutils-&coreutils-version;-suppress_uptime_kill_su-2.patch">
 <!ENTITY coreutils-suppress-patch-md5 "227d41a6d0f13c31375153eae91e913d">
+<!ENTITY coreutils-suppress-patch-size "13 KB">
+
 <!ENTITY coreutils-uname-patch "coreutils-&coreutils-version;-uname-1.patch">
 <!ENTITY coreutils-uname-patch-md5 "c05b735710fbd62239588c07084852a0">
+<!ENTITY coreutils-uname-patch-size "4.6 KB">
+
 
 <!ENTITY diffutils-i18n-patch "diffutils-&diffutils-version;-i18n-1.patch">
 <!ENTITY diffutils-i18n-patch-md5 "c8d481223db274a33b121fb8c25af9f7">
+<!ENTITY diffutils-i18n-patch-size "18 KB">
+
 
 <!ENTITY expect-spawn-patch "expect-&expect-version;-spawn-1.patch">
 <!ENTITY expect-spawn-patch-md5 "ef6d0d0221c571fb420afb7033b3bbba">
+<!ENTITY expect-spawn-patch-size "6.8 KB">
+
 
 <!ENTITY gawk-segfault-patch "gawk-&gawk-version;-segfault_fix-1.patch">
 <!ENTITY gawk-segfault-patch-md5 "7679530d88bf3eb56c42eb6aba342ddb">
+<!ENTITY gawk-segfault-patch-size "1.3 KB">
+
 
 <!ENTITY gcc-specs-patch "gcc-&gcc-version;-specs-1.patch">
 <!ENTITY gcc-specs-patch-md5 "0aa7d4c6be50c3855fe812f6faabc306">
+<!ENTITY gcc-specs-patch-size "15 KB">
+
 
 <!ENTITY glibc-linux_types-patch "glibc-&glibc-version;-linux_types-1.patch">
 <!ENTITY glibc-linux_types-patch-md5 "30ea59ae747478aa9315455543b5bb43">
+<!ENTITY glibc-linux_types-patch-size "1.1 KB">
+
 
 <!ENTITY grep-fixes-patch "grep-&grep-version;-redhat_fixes-2.patch">
 <!ENTITY grep-fixes-patch-md5 "2c67910be2d0a54714f63ce350e6d8a6">
+<!ENTITY grep-fixes-patch-size "55 KB">
+
 
 <!ENTITY groff-debian-patch "groff-&groff-version;-debian_fixes-1.patch">
 <!ENTITY groff-debian-patch-md5 "a47c281afdda457ba4033498f973400d">
+<!ENTITY groff-debian-patch-size "360 KB">
+
 
 <!ENTITY gzip-security_fix-patch "gzip-&gzip-version;-security_fixes-1.patch">
 <!ENTITY gzip-security_fix-patch-md5 "f107844f01fc49446654ae4a8f8a0728">
+<!ENTITY gzip-security_fix-patch-size "2 KB">
+
 
 <!ENTITY inetutils-gcc4_fixes-patch "inetutils-&inetutils-version;-gcc4_fixes-3.patch">
 <!ENTITY inetutils-gcc4_fixes-patch-md5 "5204fbc503c9fb6a8e353583818db6b9">
+<!ENTITY inetutils-gcc4_fixes-patch-size "1.3 KB">
+
 <!ENTITY inetutils-man_pages-patch "inetutils-&inetutils-version;-no_server_man_pages-1.patch">
 <!ENTITY inetutils-man_pages-patch-md5 "eb477f532bc6d26e7025fcfc4452511d">
+<!ENTITY inetutils-man_pages-patch-size "4.1 KB">
+
 
 <!ENTITY kbd-backspace-patch "kbd-&kbd-version;-backspace-1.patch">
 <!ENTITY kbd-backspace-patch-md5 "692c88bb76906d99cc20446fadfb6499">
+<!ENTITY kbd-backspace-patch-size "11 KB">
+
 <!ENTITY kbd-gcc4_fixes-patch "kbd-&kbd-version;-gcc4_fixes-1.patch">
 <!ENTITY kbd-gcc4_fixes-patch-md5 "615bc1e381ab646f04d8045751ed1f69">
+<!ENTITY kbd-gcc4_fixes-patch-size "1.4 KB">
+
 
 <!ENTITY linux-utf8-patch "linux-&linux-version;-utf8_input-1.patch">
 <!ENTITY linux-utf8-patch-md5 "d67b53e1e99c782bd28d879e11ee16c3">
+<!ENTITY linux-utf8-patch-size "11 KB">
+
 
 <!ENTITY mktemp-tempfile-patch "mktemp-&mktemp-version;-add_tempfile-3.patch">
 <!ENTITY mktemp-tempfile-patch-md5 "65d73faabe3f637ad79853b460d30a19">
+<!ENTITY mktemp-tempfile-patch-size "3.5 KB">
+
 
 <!ENTITY ncurses-fixes-patch "ncurses-&ncurses-version;-fixes-1.patch">
 <!ENTITY ncurses-fixes-patch-md5 "0e033185008f21578c6e4c7249f92cbb">
+<!ENTITY ncurses-fixes-patch-size "8.2 KB">
 <!-- <!ENTITY ncurses-rollup-patch "ncurses-&ncurses-version;-&ncurses-date;-patch.sh.bz2"> -->
+
 
 <!ENTITY perl-libc-patch "perl-&perl-version;-libc-2.patch">
 <!ENTITY perl-libc-patch-md5 "3bf8aef1fb6eb6110405e699e4141f99">
+<!ENTITY perl-libc-patch-size "1.1 KB">
+
 
 <!ENTITY readline-fixes-patch "readline-&readline-version;-fixes-3.patch">
 <!ENTITY readline-fixes-patch-md5 "e30963cd5c6f6a11a23344af36cfa38c">
+<!ENTITY readline-fixes-patch-size "3.8 KB">
+
 
 <!ENTITY sysklogd-8bit-patch "sysklogd-&sysklogd-version;-8bit-1.patch">
 <!ENTITY sysklogd-8bit-patch-md5 "cc0d9c3bd67a6b6357e42807cf06073e">
+<!ENTITY sysklogd-8bit-patch-size "0.9 KB">
+
 <!ENTITY sysklogd-fixes-patch "sysklogd-&sysklogd-version;-fixes-1.patch">
 <!ENTITY sysklogd-fixes-patch-md5 "508104f058d1aef26b3bc8059821935f">
+<!ENTITY sysklogd-fixes-patch-size "27 KB">
+
 
 <!ENTITY tar-gcc4_fix-patch "tar-&tar-version;-gcc4_fix_tests-1.patch">
 <!ENTITY tar-gcc4_fix-patch-md5 "8e286a1394e6bcf2907f13801770a72a">
+<!ENTITY tar-gcc4_fix-patch-size "1.2 KB">
+
 <!ENTITY tar-security_fixes-patch "tar-&tar-version;-security_fixes-1.patch">
 <!ENTITY tar-security_fixes-patch-md5 "19876e726d9cec9ce1508e3af74dc22e">
+<!ENTITY tar-security_fixes-patch-size "3.9 KB">
+
 <!ENTITY tar-sparse_fix-patch "tar-&tar-version;-sparse_fix-1.patch">
 <!ENTITY tar-sparse_fix-patch-md5 "9e3623f7c88d8766878ecb27c980d86a">
+<!ENTITY tar-sparse_fix-patch-size "0.9 KB">
+
 
 <!ENTITY texinfo-multibyte-patch "texinfo-&texinfo-version;-multibyte-1.patch">
 <!ENTITY texinfo-multibyte-patch-md5 "6cb5b760cfdd2dd53a0430eb572a8aaa">
+<!ENTITY texinfo-multibyte-patch-size "1.5 KB">
+
 <!ENTITY texinfo-tempfile_fix-patch "texinfo-&texinfo-version;-tempfile_fix-2.patch">
 <!ENTITY texinfo-tempfile_fix-patch-md5 "559bda136a2ac7777ecb67511227af85">
+<!ENTITY texinfo-tempfile_fix-patch-size "2.2 KB">
+
 
 <!ENTITY util-linux-cramfs-patch "util-linux-&util-linux-version;-cramfs-1.patch">
 <!ENTITY util-linux-cramfs-patch-md5 "1c3f40b30e12738eb7b66a35b7374572">
+<!ENTITY util-linux-cramfs-patch-size "2.8 KB">
