Index: pst/typesetting/texlive-pass1.xml
===================================================================
--- pst/typesetting/texlive-pass1.xml	(revision e30a6f2cc2905d3b2a27ea7539ae51251bf8c161)
+++ pst/typesetting/texlive-pass1.xml	(revision d7f0b08fa17c7b1027b5b2741aa9a2cf276fc604)
@@ -108,37 +108,18 @@
       <xref linkend="x-window-system"/>
     </para>
-    <para role="recommended">
-      The source ships with its own versions of <emphasis>many</emphasis>
-      libraries, and will use them unless it is forced to use the system
-      versions.  The following are recommended so that the system version
-      will be used:
-      <xref linkend="fontconfig"/>,
-      <xref linkend="freetype2"/>,
-      <xref linkend="gc"/>,
-      <xref linkend="graphite2"/>,
-      <xref linkend="harfbuzz"/> (linked to graphite2),
-      <xref linkend="icu"/>,
-      <xref linkend="libpaper"/>,
-      <xref linkend="libpng"/>,
-      <xref linkend="poppler"/>
-    </para>
+
+    <!-- text for recommended libraries, shared with texlive itself -->
+    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+     href="../../xincludes/texrecommendlibs.xml"/>
 
     <bridgehead renderas="sect4">Optional</bridgehead>
-    <para role="optional">
-      The source ships with its own versions of several libraries which are either
-      not under active development, or only used for limited functionality.  If
-      you install these, as with some other optional dependencies in this book you
-      will need to tell <command>configure</command> to use the system versions.
-      <ulink url="http://libgd.bitbucket.org">GD</ulink>,
-      <ulink url="http://fossies.org/linux/misc/t1lib-5.1.2.tar.gz/">t1lib</ulink>,
-      <ulink url="http://sourceforge.net/projects/zziplib/">ZZIPlib</ulink>,
-      <ulink url="http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&amp;id=TECkitDownloads">TECkit</ulink>
-    </para>
+    <!-- text for optional deps, shared with texlive itself -->
+    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+     href="../../xincludes/texoptional.xml"/>
 
     <bridgehead renderas="sect4">Runtime dependencies</bridgehead>
-    <para role="recommended">
-      Some scripts will use
-      <xref linkend="python2"/> or <xref linkend="ruby"/>.
-    </para>
+    <!-- text for runtime deps, shared with tl-installer and pass 1 -->
+    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+     href="../../xincludes/texruntime.xml"/>
 
     <para condition="html" role="usernotes">User Notes:
@@ -154,4 +135,6 @@
     </para>
 
+<!-- the configure switches should be identical to those in the
+ first part of texlive itself -->
 <screen role="root"><userinput>export TEXARCH=$(uname -m | sed -e 's/i.86/i386/' -e 's/$/-linux/') &amp;&amp;
 mkdir texlive-build &amp;&amp;
@@ -208,40 +191,28 @@
     <title>Command Explanations</title>
 
-    <para>
-      <parameter>--prefix=, --bindir=, --datarootdir=, --infodir=, --mandir= ...
-      </parameter>: these switches ensure that the files installed from source
-      will overwrite the corresponding files previously installed by
-      <application>install-tl</application>.
-    </para>
-
-    <para>
-      <parameter>--includedir=, --libdir= ...</parameter> : these switches ensure
-      that the libraries will be found at runtime, and that programs can be
-      compiled against them.
-    </para>
+    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+     href="../../xincludes/tex-prefix.xml"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+     href="../../xincludes/tex-lib.xml"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
       href="../../xincludes/static-libraries.xml"/>
 
-    <para>
-      <parameter>--enable-shared</parameter>: Create shared versions of
-      <filename class="libraryfile">libkpathsea</filename> and
-      <filename class="libraryfile">libptexenc</filename>.
-    </para>
-
-    <para>
-      <parameter>--with-system-...</parameter>: Unless this parameter is used,
-      the included versions of these libraries  will be statically compiled
-      into the programs which need them.  If you decided not to install a
-      recommended library, omit the corresponding switches.
-    </para>
-
-    <para>
-      <parameter>--with-system-xpdf</parameter>: Uniquely, this parameter has
+    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+      href="../../xincludes/tex-shared.xml"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+      href="../../xincludes/tex-system.xml"/>
+
+<!--    <para>
+      <parameter>\-\-with-system-xpdf</parameter>: Uniquely, this parameter has
       a non-standard meaning, it tells <command>configure</command> to use the
       system-installed <application>poppler</application> headers and library.
       Again, omit this if you have not installed
       <application>poppler</application>.
-    </para>
+    </para> -->
+    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+      href="../../xincludes/tex-xpdf.xml"/>
 
     <para>
Index: pst/typesetting/texlive.xml
===================================================================
--- pst/typesetting/texlive.xml	(revision e30a6f2cc2905d3b2a27ea7539ae51251bf8c161)
+++ pst/typesetting/texlive.xml	(revision d7f0b08fa17c7b1027b5b2741aa9a2cf276fc604)
@@ -76,37 +76,19 @@
       <xref linkend="x-window-system"/>
     </para>
-    <para role="recommended">
-      The source ships with its own versions of <emphasis>many</emphasis>
-      libraries, and will use them unless it is forced to use the system
-      versions.  The following are recommended so that the system version
-      will be used:
-      <xref linkend="fontconfig"/>,
-      <xref linkend="freetype2"/>,
-      <xref linkend="gc"/>,
-      <xref linkend="graphite2"/>,
-      <xref linkend="harfbuzz"/> (linked to graphite2),
-      <xref linkend="icu"/>,
-      <xref linkend="libpaper"/>,
-      <xref linkend="libpng"/>,
-      <xref linkend="poppler"/>
-    </para>
+
+    <!-- text for recommended libraries, shared with pass 1 -->
+    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+     href="../../xincludes/texrecommendlibs.xml"/>
 
     <bridgehead renderas="sect4">Optional</bridgehead>
-    <para role="optional">
-      The source ships with its own versions of several libraries which are either
-      not under active development, or only used for limited functionality.  If
-      you install these, as with some other optional dependencies in this book you
-      will need to tell <command>configure</command> to use the system versions.
-      <ulink url="http://libgd.bitbucket.org">GD</ulink>,
-      <ulink url="http://fossies.org/linux/misc/t1lib-5.1.2.tar.gz/">t1lib</ulink>,
-      <ulink url="http://sourceforge.net/projects/zziplib/">ZZIPlib</ulink>,
-      <ulink url="http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&amp;id=TECkitDownloads">TECkit</ulink>
-    </para>
+    <!-- text for optional deps, shared with pass 1 -->
+    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+     href="../../xincludes/texoptional.xml"/>
+
 
     <bridgehead renderas="sect4">Runtime dependencies</bridgehead>
-    <para role="recommended">
-      Some scripts will use
-      <xref linkend="python2"/> or <xref linkend="ruby"/>.
-    </para>
+    <!-- text for runtime deps, shared with tl-installer and pass 1 -->
+    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+     href="../../xincludes/texruntime.xml"/>
 
     <para condition="html" role="usernotes">User Notes:
@@ -121,4 +103,5 @@
     overwrite the programs it installed.</para>
 
+<!-- the first part of this is the same as in texlive pass 1 -->
 <screen role="root"><userinput>export TEXARCH=$(uname -m | sed -e 's/i.86/i386/' -e 's/$/-linux/') &amp;&amp;
 mkdir texlive-build &amp;&amp;
@@ -204,40 +187,28 @@
     <title>Command Explanations</title>
 
-    <para>
-      <parameter>--prefix=, --bindir=, --datarootdir=, --infodir=, --mandir= ...
-      </parameter>: these switches ensure that the files installed from source
-      will overwrite the corresponding files previously installed by
-      <application>install-tl</application>.
-    </para>
-
-    <para>
-      <parameter>--includedir=, --libdir= ...</parameter> : these switches ensure
-      that the libraries will be found at runtime, and that programs can be
-      compiled against them.
-    </para>
+    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+     href="../../xincludes/tex-prefix.xml"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+     href="../../xincludes/tex-lib.xml"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
       href="../../xincludes/static-libraries.xml"/>
 
-    <para>
-      <parameter>--enable-shared</parameter>: Use shared versions of
-      <filename class="libraryfile">libkpathsea</filename> and
-      <filename class="libraryfile">libptexenc</filename>.
-    </para>
-
-    <para>
-      <parameter>--with-system-...</parameter>: Unless this parameter is used,
-      the included versions of these libraries  will be statically compiled
-      into the programs which need them.  If you decided not to install a
-      recommended library, omit the corresponding switches.
-    </para>
-
-    <para>
-      <parameter>--with-system-xpdf</parameter>: Uniquely, this parameter has
+    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+      href="../../xincludes/tex-shared.xml"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+      href="../../xincludes/tex-system.xml"/>
+
+<!--    <para>
+      <parameter>\-\-with-system-xpdf</parameter>: Uniquely, this parameter has
       a non-standard meaning, it tells <command>configure</command> to use the
       system-installed <application>poppler</application> headers and library.
       Again, omit this if you have not installed
       <application>poppler</application>.
-    </para>
+    </para> -->
+    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+      href="../../xincludes/tex-xpdf.xml"/>
 
     <para>
Index: pst/typesetting/tl-installer.xml
===================================================================
--- pst/typesetting/tl-installer.xml	(revision e30a6f2cc2905d3b2a27ea7539ae51251bf8c161)
+++ pst/typesetting/tl-installer.xml	(revision d7f0b08fa17c7b1027b5b2741aa9a2cf276fc604)
@@ -79,9 +79,9 @@
       and several scripts will fail if the following packages are not present.
     </para>
-    <para>
+    <para role="recommended">
       <xref linkend="gs"/> is dynamically loaded by dvisvgm, which is used by
      <application>asy</application>.
     </para>
-    <para>
+    <para role="recommended">
       <xref linkend="xorg7-lib"/> and
       <xref linkend="libxcb"/> are needed for inimf, mf, pdfclose, pdfopen and
@@ -91,5 +91,5 @@
        <xref linkend="epdfview"/>).
     </para>
-    <para>
+    <para role="recommended">
       the optional non-wide-character ncurses library (for "some binary-only
       application") from the bottom of the <application>Ncurses</application>
@@ -97,5 +97,5 @@
       <application>xindy</application>
     </para>
-    <para>
+    <para role="recommended">
       If you are building on 32-bit x86, the binary version of asy needs <ulink
       url="http://www.fftw.org/">FFTW</ulink>, <xref linkend="glu"/> and <ulink
@@ -106,12 +106,7 @@
       and then symlinked as <filename>libreadline.so.5</filename>.
     </para>
-    <para>
-      <xref linkend="python2"/> is used by many scripts.
-    </para>
-    <para>
-      <xref linkend="ruby"/> is used by some scripts, mostly within mtx_context
-      which is part of <application>conTeXt</application>, but also for one or
-      two others, such as match_parens, which are generally useful.
-    </para>
+    <!-- text for runtime deps, shared with texlive and pass 1 -->
+    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+     href="../../xincludes/texruntime.xml"/>
 
     <para condition="html" role="usernotes">User Notes:
Index: xincludes/tex-lib.xml
===================================================================
--- xincludes/tex-lib.xml	(revision d7f0b08fa17c7b1027b5b2741aa9a2cf276fc604)
+++ xincludes/tex-lib.xml	(revision d7f0b08fa17c7b1027b5b2741aa9a2cf276fc604)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE note PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" >
+
+<!-- $LastChangedBy$
+     $Date$ -->
+
+<para>
+  <parameter>--includedir=, --libdir= ...</parameter> : these switches ensure
+  that the libraries will be found at runtime, and that programs can be
+  compiled against them.
+</para>
Index: xincludes/tex-prefix.xml
===================================================================
--- xincludes/tex-prefix.xml	(revision d7f0b08fa17c7b1027b5b2741aa9a2cf276fc604)
+++ xincludes/tex-prefix.xml	(revision d7f0b08fa17c7b1027b5b2741aa9a2cf276fc604)
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE note PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" >
+
+<!-- $LastChangedBy$
+     $Date$ -->
+
+<para>
+  <parameter>--prefix=, --bindir=, --datarootdir=, --infodir=, --mandir= ...
+  </parameter>: these switches ensure that the files installed from source
+  will overwrite any corresponding files previously installed by
+  <application>install-tl-unx</application> so that the alternative methods of
+  installing <application>texlive</application> are consistent..
+</para>
Index: xincludes/tex-shared.xml
===================================================================
--- xincludes/tex-shared.xml	(revision d7f0b08fa17c7b1027b5b2741aa9a2cf276fc604)
+++ xincludes/tex-shared.xml	(revision d7f0b08fa17c7b1027b5b2741aa9a2cf276fc604)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE note PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" >
+
+<!-- $LastChangedBy$
+     $Date$ -->
+
+<para>
+  <parameter>--enable-shared</parameter>: Use shared versions of
+  <filename class="libraryfile">libkpathsea</filename> and
+  <filename class="libraryfile">libptexenc</filename>.
+</para>
Index: xincludes/tex-system.xml
===================================================================
--- xincludes/tex-system.xml	(revision d7f0b08fa17c7b1027b5b2741aa9a2cf276fc604)
+++ xincludes/tex-system.xml	(revision d7f0b08fa17c7b1027b5b2741aa9a2cf276fc604)
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE note PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" >
+
+<!-- $LastChangedBy$
+     $Date$ -->
+
+<para>
+  <parameter>--with-system-...</parameter>: Unless this parameter is used,
+  the included versions of these libraries  will be statically compiled
+  into the programs which need them.  If you decided not to install a
+  recommended library, omit the corresponding switch.
+</para>
Index: xincludes/tex-xpdf.xml
===================================================================
--- xincludes/tex-xpdf.xml	(revision d7f0b08fa17c7b1027b5b2741aa9a2cf276fc604)
+++ xincludes/tex-xpdf.xml	(revision d7f0b08fa17c7b1027b5b2741aa9a2cf276fc604)
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE note PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" >
+
+<!-- $LastChangedBy$
+     $Date$ -->
+
+<para>
+  <parameter>--with-system-xpdf</parameter>: Uniquely, this parameter has
+  a non-standard meaning, it tells <command>configure</command> to use the
+  system-installed <application>poppler</application> headers and library.
+  Again, omit this if you have not installed
+  <application>poppler</application>.
+</para>
Index: xincludes/texoptional.xml
===================================================================
--- xincludes/texoptional.xml	(revision d7f0b08fa17c7b1027b5b2741aa9a2cf276fc604)
+++ xincludes/texoptional.xml	(revision d7f0b08fa17c7b1027b5b2741aa9a2cf276fc604)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE para PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" >
+
+<!-- $LastChangedBy$
+     $Date$ -->
+
+<para role="optional">
+  The source ships with its own versions of several libraries which are either
+  not under active development, or only used for limited functionality.  If
+  you install these, as with some other optional dependencies in this book you
+  will need to tell <command>configure</command> to use the system versions.
+  <ulink url="http://libgd.bitbucket.org">GD</ulink>,
+  <ulink url="http://fossies.org/linux/misc/t1lib-5.1.2.tar.gz/">t1lib</ulink>,
+  <ulink url="http://sourceforge.net/projects/zziplib/">ZZIPlib</ulink>,
+  <ulink url="http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&amp;id=TECkitDownloads">TECkit</ulink>
+</para>
Index: xincludes/texrecommendlibs.xml
===================================================================
--- xincludes/texrecommendlibs.xml	(revision d7f0b08fa17c7b1027b5b2741aa9a2cf276fc604)
+++ xincludes/texrecommendlibs.xml	(revision d7f0b08fa17c7b1027b5b2741aa9a2cf276fc604)
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE para PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" >
+
+<!-- $LastChangedBy$
+     $Date$ -->
+
+<para role="recommended">
+  The source ships with its own versions of <emphasis>many</emphasis>
+  libraries, and will use them unless it is forced to use the system
+  versions.  The following are recommended so that the system version
+  will be used:
+  <xref linkend="fontconfig"/>,
+  <xref linkend="freetype2"/>,
+  <xref linkend="gc"/>,
+  <xref linkend="graphite2"/>,
+  <xref linkend="harfbuzz"/> (linked to graphite2),
+  <xref linkend="icu"/>,
+  <xref linkend="libpaper"/>,
+  <xref linkend="libpng"/>,
+  <xref linkend="poppler"/>
+</para>
Index: xincludes/texruntime.xml
===================================================================
--- xincludes/texruntime.xml	(revision d7f0b08fa17c7b1027b5b2741aa9a2cf276fc604)
+++ xincludes/texruntime.xml	(revision d7f0b08fa17c7b1027b5b2741aa9a2cf276fc604)
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE para PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" >
+
+<!-- $LastChangedBy$
+     $Date$ -->
+
+<para role="recommended">
+  <xref linkend="python2"/> is used by many scripts.
+  <xref linkend="ruby"/> is used by some scripts, mostly within mtx_context
+  which is part of <application>conTeXt</application>, but also for one or
+  two others, such as match_parens, which are generally useful.
+</para>
