<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[122855] trunk/doc-new/guide/xml</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="https://trac.macports.org/changeset/122855">122855</a></dd>
<dt>Author</dt> <dd>cal@macports.org</dd>
<dt>Date</dt> <dd>2014-07-31 14:52:33 -0700 (Thu, 31 Jul 2014)</dd>
</dl>

<h3>Log Message</h3>
<pre>guide: start autoformatting, add modeline, conform to standard macports formatting, increase textwidth</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkdocnewguidexmlguidexml">trunk/doc-new/guide/xml/guide.xml</a></li>
<li><a href="#trunkdocnewguidexmlinstallingxml">trunk/doc-new/guide/xml/installing.xml</a></li>
<li><a href="#trunkdocnewguidexmlintroxml">trunk/doc-new/guide/xml/intro.xml</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdocnewguidexmlguidexml"></a>
<div class="modfile"><h4>Modified: trunk/doc-new/guide/xml/guide.xml (122854 => 122855)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/doc-new/guide/xml/guide.xml        2014-07-31 21:24:25 UTC (rev 122854)
+++ trunk/doc-new/guide/xml/guide.xml        2014-07-31 21:52:33 UTC (rev 122855)
</span><span class="lines">@@ -1,55 +1,55 @@
</span><span class="cx"> &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
</span><del>-&lt;!-- vim:ts=2:sts=2:sw=2:et
</del><ins>+&lt;!-- -*- coding: utf-8; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4:tw=120
</ins><span class="cx"> --&gt;
</span><span class="cx"> &lt;!DOCTYPE book PUBLIC &quot;-//OASIS//DTD DocBook XML V4.5//EN&quot;
</span><span class="cx"> &quot;http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd&quot;&gt;
</span><span class="cx"> &lt;book&gt;
</span><del>-  &lt;title&gt;
-    &lt;application&gt;MacPorts&lt;/application&gt; Guide
-  &lt;/title&gt;
-  &lt;bookinfo&gt;
-    &lt;authorgroup&gt;
-      &lt;author&gt;
-        &lt;firstname&gt;Mark&lt;/firstname&gt;
-        &lt;surname&gt;Duling&lt;/surname&gt;
-      &lt;/author&gt;
-      &lt;author&gt;
-        &lt;honorific&gt;Dr&lt;/honorific&gt;
-        &lt;firstname&gt;Michael&lt;/firstname&gt;
-        &lt;surname&gt;Maibaum&lt;/surname&gt;
-        &lt;othername role=&quot;mi&quot;&gt;A&lt;/othername&gt;
-      &lt;/author&gt;
-      &lt;author&gt;
-        &lt;firstname&gt;Will&lt;/firstname&gt;
-        &lt;surname&gt;Barton&lt;/surname&gt;
-      &lt;/author&gt;
-    &lt;/authorgroup&gt;
</del><ins>+    &lt;title&gt;
+        &lt;application&gt;MacPorts&lt;/application&gt; Guide
+    &lt;/title&gt;
+    &lt;bookinfo&gt;
+        &lt;authorgroup&gt;
+            &lt;author&gt;
+                &lt;firstname&gt;Mark&lt;/firstname&gt;
+                &lt;surname&gt;Duling&lt;/surname&gt;
+            &lt;/author&gt;
+            &lt;author&gt;
+                &lt;honorific&gt;Dr&lt;/honorific&gt;
+                &lt;firstname&gt;Michael&lt;/firstname&gt;
+                &lt;surname&gt;Maibaum&lt;/surname&gt;
+                &lt;othername role=&quot;mi&quot;&gt;A&lt;/othername&gt;
+            &lt;/author&gt;
+            &lt;author&gt;
+                &lt;firstname&gt;Will&lt;/firstname&gt;
+                &lt;surname&gt;Barton&lt;/surname&gt;
+            &lt;/author&gt;
+        &lt;/authorgroup&gt;
</ins><span class="cx"> 
</span><del>-    &lt;copyright&gt;
-      &lt;year&gt;2007–2014&lt;/year&gt;
-      &lt;holder&gt;The MacPorts Project&lt;/holder&gt;
-    &lt;/copyright&gt;
</del><ins>+        &lt;copyright&gt;
+            &lt;year&gt;2007–2014&lt;/year&gt;
+            &lt;holder&gt;The MacPorts Project&lt;/holder&gt;
+        &lt;/copyright&gt;
</ins><span class="cx"> 
</span><del>-    &lt;copyright&gt;
-      &lt;year&gt;2002–2004&lt;/year&gt;
-      &lt;holder&gt;The OpenDarwin Project&lt;/holder&gt;
-    &lt;/copyright&gt;
-  &lt;/bookinfo&gt;
</del><ins>+        &lt;copyright&gt;
+            &lt;year&gt;2002–2004&lt;/year&gt;
+            &lt;holder&gt;The OpenDarwin Project&lt;/holder&gt;
+        &lt;/copyright&gt;
+    &lt;/bookinfo&gt;
</ins><span class="cx"> 
</span><del>-  &lt;xi:include href=&quot;intro.xml&quot;
-              xmlns:xi=&quot;http://www.w3.org/2001/XInclude&quot; /&gt;
-  &lt;xi:include href=&quot;installing.xml&quot;
-              xmlns:xi=&quot;http://www.w3.org/2001/XInclude&quot; /&gt;
-  &lt;xi:include href=&quot;using.xml&quot;
-              xmlns:xi=&quot;http://www.w3.org/2001/XInclude&quot; /&gt;
-  &lt;xi:include href=&quot;portfiledev.xml&quot;
-              xmlns:xi=&quot;http://www.w3.org/2001/XInclude&quot; /&gt;
-  &lt;xi:include href=&quot;portfileref.xml&quot;
-              xmlns:xi=&quot;http://www.w3.org/2001/XInclude&quot; /&gt;
-  &lt;xi:include href=&quot;internals.xml&quot;
-              xmlns:xi=&quot;http://www.w3.org/2001/XInclude&quot; /&gt;
-  &lt;xi:include href=&quot;project.xml&quot;
-              xmlns:xi=&quot;http://www.w3.org/2001/XInclude&quot; /&gt;
-  &lt;xi:include href=&quot;glossary.xml&quot;
-              xmlns:xi=&quot;http://www.w3.org/2001/XInclude&quot; /&gt;
</del><ins>+    &lt;xi:include href=&quot;intro.xml&quot;
+        xmlns:xi=&quot;http://www.w3.org/2001/XInclude&quot; /&gt;
+    &lt;xi:include href=&quot;installing.xml&quot;
+        xmlns:xi=&quot;http://www.w3.org/2001/XInclude&quot; /&gt;
+    &lt;xi:include href=&quot;using.xml&quot;
+        xmlns:xi=&quot;http://www.w3.org/2001/XInclude&quot; /&gt;
+    &lt;xi:include href=&quot;portfiledev.xml&quot;
+        xmlns:xi=&quot;http://www.w3.org/2001/XInclude&quot; /&gt;
+    &lt;xi:include href=&quot;portfileref.xml&quot;
+        xmlns:xi=&quot;http://www.w3.org/2001/XInclude&quot; /&gt;
+    &lt;xi:include href=&quot;internals.xml&quot;
+        xmlns:xi=&quot;http://www.w3.org/2001/XInclude&quot; /&gt;
+    &lt;xi:include href=&quot;project.xml&quot;
+        xmlns:xi=&quot;http://www.w3.org/2001/XInclude&quot; /&gt;
+    &lt;xi:include href=&quot;glossary.xml&quot;
+        xmlns:xi=&quot;http://www.w3.org/2001/XInclude&quot; /&gt;
</ins><span class="cx"> &lt;/book&gt;
</span></span></pre></div>
<a id="trunkdocnewguidexmlinstallingxml"></a>
<div class="modfile"><h4>Modified: trunk/doc-new/guide/xml/installing.xml (122854 => 122855)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/doc-new/guide/xml/installing.xml        2014-07-31 21:24:25 UTC (rev 122854)
+++ trunk/doc-new/guide/xml/installing.xml        2014-07-31 21:52:33 UTC (rev 122855)
</span><span class="lines">@@ -1,607 +1,543 @@
</span><span class="cx"> &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
</span><ins>+&lt;!-- -*- coding: utf-8; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4:tw=120
+--&gt;
</ins><span class="cx"> &lt;!DOCTYPE chapter PUBLIC &quot;-//OASIS//DTD DocBook XML V4.5//EN&quot;
</span><span class="cx"> &quot;http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd&quot;[
</span><span class="cx"> &lt;!ENTITY macports-version &quot;2.3.1&quot;&gt;
</span><span class="cx"> ]&gt;
</span><span class="cx"> &lt;chapter id=&quot;installing&quot;&gt;
</span><del>-  &lt;title&gt;Installing MacPorts&lt;/title&gt;
</del><ins>+    &lt;title&gt;Installing MacPorts&lt;/title&gt;
</ins><span class="cx"> 
</span><del>-  &lt;para&gt;This chapter shows you how to install MacPorts and its prerequisites step-by-step. Note that the section about
-  &lt;link linkend=&quot;installing.xcode&quot;&gt;installing Xcode&lt;/link&gt; is OS X-specific. If you wish to install MacPorts on
-  another platform, first make sure you have a working C compiler installed, skip ahead to &lt;link
-    linkend=&quot;installing.macports.source&quot;&gt;installing MacPorts from source&lt;/link&gt;, and continue to the end of the
-  chapter.&lt;/para&gt;
</del><ins>+    &lt;para&gt;This chapter shows you how to install MacPorts and its prerequisites step-by-step. Note that the section about
+        &lt;link linkend=&quot;installing.xcode&quot;&gt;installing Xcode&lt;/link&gt; is OS X-specific. If you wish to install MacPorts on
+        another platform, first make sure you have a working C compiler installed, skip ahead to &lt;link
+            linkend=&quot;installing.macports.source&quot;&gt;installing MacPorts from source&lt;/link&gt;, and continue to the end of the
+        chapter.&lt;/para&gt;
</ins><span class="cx"> 
</span><del>-  &lt;section id=&quot;installing.xcode&quot;&gt;
-    &lt;title&gt;Install Xcode&lt;/title&gt;
</del><ins>+    &lt;section id=&quot;installing.xcode&quot;&gt;
+        &lt;title&gt;Install Xcode&lt;/title&gt;
</ins><span class="cx"> 
</span><del>-    &lt;para&gt;
-      &lt;ulink url=&quot;https://developer.apple.com/xcode/&quot;&gt;Xcode&lt;/ulink&gt; is a package provided by Apple containing compilers,
-      libraries and additional tools required to develop applications for OS X.
-    &lt;/para&gt;
</del><ins>+        &lt;para&gt;&lt;ulink url=&quot;https://developer.apple.com/xcode/&quot;&gt;Xcode&lt;/ulink&gt; is a package provided by Apple containing
+            compilers, libraries and additional tools required to develop applications for OS X.&lt;/para&gt;
</ins><span class="cx"> 
</span><del>-    &lt;note&gt;
-      &lt;para&gt;Always make sure to install the latest available version of Xcode for your OS X release; using outdated
-        versions of Xcode may cause port install failures. Also note that Xcode is not updated via OS X's Software
-        Update utility on OS versions prior to 10.6, and is updated via the Mac App Store starting with 10.7.&lt;/para&gt;
-    &lt;/note&gt;
</del><ins>+        &lt;note&gt;
+            &lt;para&gt;Always make sure to install the latest available version of Xcode for your OS X release; using
+                outdated versions of Xcode may cause port install failures. Also note that Xcode is not updated via OS
+                X's Software Update utility on OS versions prior to 10.6, and is updated via the Mac App Store starting
+                with 10.7.&lt;/para&gt;
+        &lt;/note&gt;
</ins><span class="cx"> 
</span><del>-    &lt;para&gt;Follow the instructions for your version of OS X:&lt;/para&gt;
</del><ins>+        &lt;para&gt;Follow the instructions for your version of OS X:&lt;/para&gt;
</ins><span class="cx"> 
</span><del>-    &lt;section id=&quot;installing.xcode.mavericks&quot;&gt;
-      &lt;title&gt;Install Xcode on OS X 10.9 or later&lt;/title&gt;
</del><ins>+        &lt;section id=&quot;installing.xcode.mavericks&quot;&gt;
+            &lt;title&gt;Install Xcode on OS X 10.9 or later&lt;/title&gt;
</ins><span class="cx"> 
</span><del>-      &lt;para&gt;
-        Download the latest version of Xcode &lt;ulink url=&quot;https://developer.apple.com/downloads/index.action&quot;&gt;from the
-          Apple developer website&lt;/ulink&gt; or get it &lt;ulink url=&quot;http://itunes.apple.com/us/app/xcode/id497799835&quot;&gt;using
-          the Mac App Store&lt;/ulink&gt;.
-      &lt;/para&gt;
-      &lt;para&gt;
-        Once you have Xcode installed, open a terminal, run &lt;userinput&gt;xcode-select --install&lt;/userinput&gt;, and click the
-        Install button to install the required command line developer tools. Don't worry if you see a message telling
-        you the software cannot be installed because it is not currently available from the Software Update Server. This
-        usually means you already have the latest version installed. You can also get the command line tools from &lt;ulink
-          url=&quot;https://developer.apple.com/downloads/index.action&quot;&gt;the Apple developer website&lt;/ulink&gt;.
-      &lt;/para&gt;
-    &lt;/section&gt;
</del><ins>+            &lt;para&gt;Download the latest version of Xcode &lt;ulink
+                    url=&quot;https://developer.apple.com/downloads/index.action&quot;&gt;from the Apple developer website&lt;/ulink&gt; or
+                get it &lt;ulink url=&quot;http://itunes.apple.com/us/app/xcode/id497799835&quot;&gt;using the Mac App
+                    Store&lt;/ulink&gt;.&lt;/para&gt;
</ins><span class="cx"> 
</span><del>-    &lt;section id=&quot;installing.xcode.lion&quot;&gt;
-      &lt;title&gt;Install Xcode on OS X 10.7 Lion or OS X 10.8 Mountain Lion&lt;/title&gt;
</del><ins>+            &lt;para&gt;Once you have Xcode installed, open a terminal, run &lt;userinput&gt;xcode-select --install&lt;/userinput&gt;, and
+                click the Install button to install the required command line developer tools. Don't worry if you see
+                a message telling you the software cannot be installed because it is not currently available from the
+                Software Update Server. This usually means you already have the latest version installed. You can also
+                get the command line tools from &lt;ulink url=&quot;https://developer.apple.com/downloads/index.action&quot;&gt;the
+                    Apple developer website&lt;/ulink&gt;.&lt;/para&gt;
+        &lt;/section&gt;
</ins><span class="cx"> 
</span><del>-      &lt;para&gt;
-        Download the latest version of Xcode &lt;ulink url=&quot;https://developer.apple.com/downloads/index.action&quot;&gt;from the
-          Apple developer website&lt;/ulink&gt; or get it &lt;ulink url=&quot;http://itunes.apple.com/us/app/xcode/id497799835&quot;&gt;using
-          the Mac App Store&lt;/ulink&gt;.
-      &lt;/para&gt;
</del><ins>+        &lt;section id=&quot;installing.xcode.lion&quot;&gt;
+            &lt;title&gt;Install Xcode on OS X 10.7 Lion or OS X 10.8 Mountain Lion&lt;/title&gt;
</ins><span class="cx"> 
</span><del>-      &lt;section id=&quot;installing.xcode.lion.43&quot;&gt;
-        &lt;title&gt;Xcode 4.3 and later&lt;/title&gt;
-        &lt;para&gt;
-          Xcode 4.3 and later do not automatically install the command line tools, but MacPorts requires them. To
-          install them, open the Xcode application, go to the Preferences window, to the Downloads section, and click
-          the Install button next to Command Line Tools. Be sure to return to this window after every Xcode upgrade to
-          ensure that the command line tools are also upgraded.
-        &lt;/para&gt;
-        &lt;para&gt;
-          If you wish to create Installer packages with &lt;userinput&gt;port pkg&lt;/userinput&gt;, you will also need to install
-          PackageMaker, which is in the &lt;quote&gt;Auxiliary Tools for Xcode&lt;/quote&gt; package as of Xcode 4.3. The download
-          page for this package can be opened via the Xcode -&gt; Open Developer Tool -&gt; More Developer Tools... menu item.
-          After downloading and mounting the disk image, drag the PackageMaker application to your /Applications
-          directory.
-        &lt;/para&gt;
-      &lt;/section&gt;
-    &lt;/section&gt;
</del><ins>+            &lt;para&gt;Download the latest version of Xcode &lt;ulink
+                    url=&quot;https://developer.apple.com/downloads/index.action&quot;&gt;from the Apple developer website&lt;/ulink&gt; or
+                get it &lt;ulink url=&quot;http://itunes.apple.com/us/app/xcode/id497799835&quot;&gt;using the Mac App
+                    Store&lt;/ulink&gt;.&lt;/para&gt;
</ins><span class="cx"> 
</span><del>-    &lt;section id=&quot;installing.xcode.snowleopard&quot;&gt;
-      &lt;title&gt;Install Xcode on Mac OS X 10.6 Snow Leopard&lt;/title&gt;
</del><ins>+            &lt;section id=&quot;installing.xcode.lion.43&quot;&gt;
+                &lt;title&gt;Xcode 4.3 and later&lt;/title&gt;
</ins><span class="cx"> 
</span><del>-      &lt;para&gt;
-        If you are using Mac OS X 10.6, there are two branches of Xcode which could be considered to be the latest,
-        3.2.x and 4.x. Xcode 4 costs money, but Xcode 3 is still available free of charge. There are two options for
-        downloading it:
-        &lt;orderedlist&gt;
-          &lt;listitem&gt;
-            &lt;para&gt;
-              Xcode 3.2 - smaller download, but you will need to run Software Update after installing to get the latest
-              version. Note that Apple might at some point discontinue providing these updates via their update servers.
-            &lt;/para&gt;
-          &lt;/listitem&gt;
-          &lt;listitem&gt;
-            &lt;para&gt;
-              Xcode 3.2.6 and iOS SDK 4.3 - includes the iOS SDK which is not needed for MacPorts.
-            &lt;/para&gt;
-          &lt;/listitem&gt;
-        &lt;/orderedlist&gt;
-        Both are available from the &lt;ulink url=&quot;https://developer.apple.com/downloads/index.action&quot;&gt;Apple developer
-          website&lt;/ulink&gt;. You may also be able to install Xcode 3.2 from your Mac OS X 10.6 DVD and then run Software
-        Update to get the latest version.
-      &lt;/para&gt;
</del><ins>+                &lt;para&gt;Xcode 4.3 and later do not automatically install the command line tools, but MacPorts requires
+                    them. To install them, open the Xcode application, go to the Preferences window, to the Downloads
+                    section, and click the Install button next to Command Line Tools. Be sure to return to this window
+                    after every Xcode upgrade to ensure that the command line tools are also upgraded.&lt;/para&gt;
</ins><span class="cx"> 
</span><del>-      &lt;para&gt;
-        Ensure that those of the following options that are available in the installer for your version of Xcode are
-        selected:
-        &lt;itemizedlist&gt;
-          &lt;listitem&gt;
-            &lt;guibutton&gt;UNIX Development&lt;/guibutton&gt;
-          &lt;/listitem&gt;
-          &lt;listitem&gt;
-            &lt;guibutton&gt;System Tools&lt;/guibutton&gt;
-          &lt;/listitem&gt;
-          &lt;listitem&gt;
-            &lt;guibutton&gt;X11 SDK&lt;/guibutton&gt;
-          &lt;/listitem&gt;
-          &lt;listitem&gt;
-            &lt;guibutton&gt;Command Line Support&lt;/guibutton&gt;
-          &lt;/listitem&gt;
-        &lt;/itemizedlist&gt;
-      &lt;/para&gt;
-    &lt;/section&gt;
</del><ins>+                &lt;para&gt;If you wish to create Installer packages with &lt;userinput&gt;port pkg&lt;/userinput&gt;, you will also need
+                    to install PackageMaker, which is in the &lt;quote&gt;Auxiliary Tools for Xcode&lt;/quote&gt; package as of
+                    Xcode 4.3. The download page for this package can be opened via the Xcode -&gt; Open Developer Tool -&gt;
+                    More Developer Tools... menu item. After downloading and mounting the disk image, drag the
+                    PackageMaker application to your /Applications directory.&lt;/para&gt;
+            &lt;/section&gt;
+        &lt;/section&gt;
</ins><span class="cx"> 
</span><del>-    &lt;section id=&quot;installing.xcode.other&quot;&gt;
-      &lt;title&gt;Install Xcode on older releases of Mac OS X&lt;/title&gt;
</del><ins>+        &lt;section id=&quot;installing.xcode.snowleopard&quot;&gt;
+            &lt;title&gt;Install Xcode on Mac OS X 10.6 Snow Leopard&lt;/title&gt;
</ins><span class="cx"> 
</span><del>-      &lt;para&gt;
-        If you have an earlier release of Mac OS X, you may download the latest version of Xcode for OS X 10.5 (Xcode
-        3.0 and Xcode 3.1 Developer Tools) or 10.4 (Xcode 2.4.1 and Xcode 2.5 Developer Tools) from the &lt;ulink
-          url=&quot;https://developer.apple.com/downloads/index.action&quot;&gt;Apple developer website&lt;/ulink&gt;.
-      &lt;/para&gt;
</del><ins>+            &lt;para&gt;If you are using Mac OS X 10.6, there are two branches of Xcode which could be considered to be the
+                latest, 3.2.x and 4.x. Xcode 4 costs money, but Xcode 3 is still available free of charge. There are two
+                options for downloading it:
</ins><span class="cx"> 
</span><del>-      &lt;para&gt;
-        Ensure that those of the following options that are available in the installer for your version of Xcode are
-        selected:
-        &lt;itemizedlist&gt;
-          &lt;listitem&gt;
-            &lt;guibutton&gt;UNIX Development&lt;/guibutton&gt;
-          &lt;/listitem&gt;
-          &lt;listitem&gt;
-            &lt;guibutton&gt;System Tools&lt;/guibutton&gt;
-          &lt;/listitem&gt;
-          &lt;listitem&gt;
-            &lt;guibutton&gt;X11 SDK&lt;/guibutton&gt;
-          &lt;/listitem&gt;
-          &lt;listitem&gt;
-            &lt;guibutton&gt;Command Line Support&lt;/guibutton&gt;
-          &lt;/listitem&gt;
-        &lt;/itemizedlist&gt;
-      &lt;/para&gt;
-    &lt;/section&gt;
-  &lt;/section&gt;
</del><ins>+                &lt;orderedlist&gt;
+                    &lt;listitem&gt;
+                        &lt;para&gt;Xcode 3.2 - smaller download, but you will need to run Software Update after installing to
+                            get the latest version. Note that Apple might at some point discontinue providing these
+                            updates via their update servers.&lt;/para&gt;
+                    &lt;/listitem&gt;
+                    &lt;listitem&gt;
+                        &lt;para&gt;Xcode 3.2.6 and iOS SDK 4.3 - includes the iOS SDK which is not needed for
+                            MacPorts.&lt;/para&gt;
+                    &lt;/listitem&gt;
+                &lt;/orderedlist&gt;
</ins><span class="cx"> 
</span><del>-  &lt;section id=&quot;installing.macports&quot;&gt;
-    &lt;title&gt;Install MacPorts&lt;/title&gt;
</del><ins>+                Both are available from the &lt;ulink url=&quot;https://developer.apple.com/downloads/index.action&quot;&gt;Apple
+                    developer website&lt;/ulink&gt;. You may also be able to install Xcode 3.2 from your Mac OS X 10.6 DVD and
+                then run Software Update to get the latest version.&lt;/para&gt;
</ins><span class="cx"> 
</span><del>-        &lt;para&gt;If you are using OS X, you should install MacPorts using the OS
-        X package installer unless you do not wish to install it to
-        &lt;filename&gt;/opt/local/&lt;/filename&gt;, the default MacPorts location, or if you
-        wish to install a pre-release version of MacPorts base. However, if you
-        wish to &lt;link linkend=&quot;installing.macports.source.multiple&quot;&gt;install
-                multiple copies of MacPorts&lt;/link&gt; or install MacPorts on another OS
-        platform, you must &lt;link linkend=&quot;installing.macports.source&quot;&gt;install
-                MacPorts from the source code&lt;/link&gt;.&lt;/para&gt;
</del><ins>+            &lt;para&gt;Ensure that those of the following options that are available in the installer for your version of
+                Xcode are selected:
</ins><span class="cx"> 
</span><del>-    &lt;note&gt;
-      &lt;para&gt;Though a distinction is made between pre-release and release
-      versions of MacPorts base, the ports collection supports no such
-      distinction or versioning. The &lt;link
-      linkend=&quot;using.port.selfupdate&quot;&gt;selfupdate&lt;/link&gt; command installs the
-      latest port revisions from Subversion (at a slight delay), and updates
-      MacPorts base to the latest released version.&lt;/para&gt;
-    &lt;/note&gt;
</del><ins>+                &lt;itemizedlist&gt;
+                    &lt;listitem&gt;
+                        &lt;guibutton&gt;UNIX Development&lt;/guibutton&gt;
+                    &lt;/listitem&gt;
+                    &lt;listitem&gt;
+                        &lt;guibutton&gt;System Tools&lt;/guibutton&gt;
+                    &lt;/listitem&gt;
+                    &lt;listitem&gt;
+                        &lt;guibutton&gt;X11 SDK&lt;/guibutton&gt;
+                    &lt;/listitem&gt;
+                    &lt;listitem&gt;
+                        &lt;guibutton&gt;Command Line Support&lt;/guibutton&gt;
+                    &lt;/listitem&gt;
+                &lt;/itemizedlist&gt;
+            &lt;/para&gt;
+        &lt;/section&gt;
</ins><span class="cx"> 
</span><del>-    &lt;section id=&quot;installing.macports.binary&quot;&gt;
-      &lt;title&gt;OS X Package Install&lt;/title&gt;
</del><ins>+        &lt;section id=&quot;installing.xcode.other&quot;&gt;
+            &lt;title&gt;Install Xcode on older releases of Mac OS X&lt;/title&gt;
</ins><span class="cx"> 
</span><del>-      &lt;para&gt;The OS X package installer automatically installs MacPorts,
-      &lt;link linkend=&quot;installing.shell&quot;&gt;sets the shell environment&lt;/link&gt;, and
-      runs a &lt;link linkend=&quot;using.port.selfupdate&quot;&gt;selfupdate&lt;/link&gt; operation
-      to update the ports tree and MacPorts base with the latest
-      release.&lt;/para&gt;
</del><ins>+            &lt;para&gt;If you have an earlier release of Mac OS X, you may download the latest version of Xcode for OS X 10.5
+                (Xcode 3.0 and Xcode 3.1 Developer Tools) or 10.4 (Xcode 2.4.1 and Xcode 2.5 Developer Tools) from the
+                &lt;ulink url=&quot;https://developer.apple.com/downloads/index.action&quot;&gt;Apple developer website&lt;/ulink&gt;.&lt;/para&gt;
</ins><span class="cx"> 
</span><del>-      &lt;orderedlist&gt;
-        &lt;listitem&gt;
-            &lt;para&gt;Download the latest &lt;filename&gt;MacPorts-&amp;macports-version;-&lt;emphasis&gt;...&lt;/emphasis&gt;.pkg&lt;/filename&gt;
-          installer from the &lt;ulink
-          url=&quot;https://distfiles.macports.org/MacPorts/&quot;&gt;MacPorts
-          download directory&lt;/ulink&gt;. Here are direct links for the latest versions of OS X:&lt;/para&gt;
</del><ins>+            &lt;para&gt;Ensure that those of the following options that are available in the installer for your version of
+                Xcode are selected:
</ins><span class="cx"> 
</span><del>-          &lt;variablelist&gt;
-            &lt;varlistentry&gt;
-            &lt;term&gt;
-                OS X 10.9 Mavericks:
-            &lt;/term&gt;
-            &lt;listitem&gt;
-                &lt;ulink url=&quot;https://distfiles.macports.org/MacPorts/MacPorts-&amp;macports-version;-10.9-Mavericks.pkg&quot;&gt;MacPorts-&amp;macports-version;-10.9-Mavericks.pkg&lt;/ulink&gt;
-            &lt;/listitem&gt;
-            &lt;/varlistentry&gt;
-            &lt;varlistentry&gt;
-            &lt;term&gt;
-                OS X 10.8 Mountain Lion:
-            &lt;/term&gt;
-            &lt;listitem&gt;
-                &lt;ulink url=&quot;https://distfiles.macports.org/MacPorts/MacPorts-&amp;macports-version;-10.8-MountainLion.pkg&quot;&gt;MacPorts-&amp;macports-version;-10.8-MountainLion.pkg&lt;/ulink&gt;
-            &lt;/listitem&gt;
-            &lt;/varlistentry&gt;
-            &lt;varlistentry&gt;
-            &lt;term&gt;
-                OS X 10.7 Lion:
-            &lt;/term&gt;
-            &lt;listitem&gt;
-                &lt;ulink url=&quot;https://distfiles.macports.org/MacPorts/MacPorts-&amp;macports-version;-10.7-Lion.pkg&quot;&gt;MacPorts-&amp;macports-version;-10.7-Lion.pkg&lt;/ulink&gt;
-            &lt;/listitem&gt;
-            &lt;/varlistentry&gt;
-          &lt;/variablelist&gt;
-        &lt;/listitem&gt;
</del><ins>+                &lt;itemizedlist&gt;
+                    &lt;listitem&gt;
+                        &lt;guibutton&gt;UNIX Development&lt;/guibutton&gt;
+                    &lt;/listitem&gt;
+                    &lt;listitem&gt;
+                        &lt;guibutton&gt;System Tools&lt;/guibutton&gt;
+                    &lt;/listitem&gt;
+                    &lt;listitem&gt;
+                        &lt;guibutton&gt;X11 SDK&lt;/guibutton&gt;
+                    &lt;/listitem&gt;
+                    &lt;listitem&gt;
+                        &lt;guibutton&gt;Command Line Support&lt;/guibutton&gt;
+                    &lt;/listitem&gt;
+                &lt;/itemizedlist&gt;
+            &lt;/para&gt;
+        &lt;/section&gt;
+    &lt;/section&gt;
</ins><span class="cx"> 
</span><del>-        &lt;listitem&gt;
-          &lt;para&gt;Double-click the downloaded package installer to perform the default &lt;quote&gt;easy&lt;/quote&gt; install.&lt;/para&gt;
-        &lt;/listitem&gt;
</del><ins>+    &lt;section id=&quot;installing.macports&quot;&gt;
+        &lt;title&gt;Install MacPorts&lt;/title&gt;
</ins><span class="cx"> 
</span><del>-        &lt;listitem&gt;
-            &lt;para&gt;After this step you are done already, MacPorts is now
-             installed and your shell environment was set up automatically
-             by the installer. To confirm the installation is working as
-             expected, now try using the &lt;command&gt;port&lt;/command&gt; command in
-             a &lt;emphasis&gt;new&lt;/emphasis&gt; terminal window.&lt;/para&gt;
</del><ins>+        &lt;para&gt;If you are using OS X, you should install MacPorts using the OS X package installer unless you do not wish
+            to install it to &lt;filename&gt;/opt/local/&lt;/filename&gt;, the default MacPorts location, or if you wish to install
+            a pre-release version of MacPorts base. However, if you wish to &lt;link
+                linkend=&quot;installing.macports.source.multiple&quot;&gt;install multiple copies of MacPorts&lt;/link&gt; or install
+            MacPorts on another OS platform, you must &lt;link linkend=&quot;installing.macports.source&quot;&gt;install MacPorts from
+                the source code&lt;/link&gt;.&lt;/para&gt;
</ins><span class="cx"> 
</span><del>-            &lt;programlisting&gt;&lt;prompt&gt;%%&lt;/prompt&gt; &lt;userinput&gt;port version&lt;/userinput&gt;&lt;/programlisting&gt;
-            &lt;screen&gt;Version: &amp;macports-version;&lt;/screen&gt;
</del><ins>+        &lt;note&gt;
+            &lt;para&gt;Though a distinction is made between pre-release and release versions of MacPorts base, the ports
+                collection supports no such distinction or versioning. The &lt;link
+                    linkend=&quot;using.port.selfupdate&quot;&gt;selfupdate&lt;/link&gt; command installs the latest port revisions from
+                Subversion (at a slight delay), and updates MacPorts base to the latest released version.&lt;/para&gt;
+        &lt;/note&gt;
</ins><span class="cx"> 
</span><del>-            &lt;para&gt;In case of problems such as &lt;quote&gt;command not found&lt;/quote&gt;,
-            make sure that you opened a new terminal window, consult &lt;xref
-                linkend=&quot;installing.shell&quot;/&gt;. Otherwise, please skip the
-            remainder of this chapter and continue with &lt;xref linkend=&quot;using&quot;/&gt;
-            in this guide.&lt;/para&gt;
-        &lt;/listitem&gt;
-      &lt;/orderedlist&gt;
-    &lt;/section&gt;
</del><ins>+        &lt;section id=&quot;installing.macports.binary&quot;&gt;
+            &lt;title&gt;OS X Package Install&lt;/title&gt;
</ins><span class="cx"> 
</span><del>-    &lt;section id=&quot;installing.macports.source&quot;&gt;
-      &lt;title&gt;Source Install&lt;/title&gt;
</del><ins>+            &lt;para&gt;The OS X package installer automatically installs MacPorts, &lt;link linkend=&quot;installing.shell&quot;&gt;sets the
+                    shell environment&lt;/link&gt;, and runs a &lt;link linkend=&quot;using.port.selfupdate&quot;&gt;selfupdate&lt;/link&gt;
+                operation to update the ports tree and MacPorts base with the latest release.&lt;/para&gt;
</ins><span class="cx"> 
</span><del>-      &lt;para&gt;If you installed MacPorts using the package installer, skip this
-      section. To install MacPorts from the source code, follow the steps
-      below.&lt;/para&gt;
</del><ins>+            &lt;orderedlist&gt;
+                &lt;listitem&gt;
+                    &lt;para&gt;Download the latest
+                        &lt;filename&gt;MacPorts-&amp;macports-version;-&lt;emphasis&gt;...&lt;/emphasis&gt;.pkg&lt;/filename&gt; installer from the
+                        &lt;ulink url=&quot;https://distfiles.macports.org/MacPorts/&quot;&gt;MacPorts download directory&lt;/ulink&gt;. Here
+                        are direct links for the latest versions of OS X:&lt;/para&gt;
</ins><span class="cx"> 
</span><del>-      &lt;orderedlist&gt;
-        &lt;listitem&gt;
-          &lt;para&gt;Download and extract the &lt;ulink url=&quot;https://distfiles.macports.org/MacPorts/MacPorts-&amp;macports-version;.tar.bz2&quot;&gt;
-          MacPorts &amp;macports-version; tarball&lt;/ulink&gt;. Either do so using your browser and the Finder, or use the given commands
-          in a terminal window.&lt;/para&gt;
</del><ins>+                    &lt;variablelist&gt;
+                        &lt;varlistentry&gt;
+                            &lt;term&gt;
+                                OS X 10.9 Mavericks:
+                            &lt;/term&gt;
+                            &lt;listitem&gt;
+                                &lt;ulink url=&quot;https://distfiles.macports.org/MacPorts/MacPorts-&amp;macports-version;-10.9-Mavericks.pkg&quot;&gt;MacPorts-&amp;macports-version;-10.9-Mavericks.pkg&lt;/ulink&gt;
+                            &lt;/listitem&gt;
+                        &lt;/varlistentry&gt;
+                        &lt;varlistentry&gt;
+                            &lt;term&gt;
+                                OS X 10.8 Mountain Lion:
+                            &lt;/term&gt;
+                            &lt;listitem&gt;
+                                &lt;ulink url=&quot;https://distfiles.macports.org/MacPorts/MacPorts-&amp;macports-version;-10.8-MountainLion.pkg&quot;&gt;MacPorts-&amp;macports-version;-10.8-MountainLion.pkg&lt;/ulink&gt;
+                            &lt;/listitem&gt;
+                        &lt;/varlistentry&gt;
+                        &lt;varlistentry&gt;
+                            &lt;term&gt;
+                                OS X 10.7 Lion:
+                            &lt;/term&gt;
+                            &lt;listitem&gt;
+                                &lt;ulink url=&quot;https://distfiles.macports.org/MacPorts/MacPorts-&amp;macports-version;-10.7-Lion.pkg&quot;&gt;MacPorts-&amp;macports-version;-10.7-Lion.pkg&lt;/ulink&gt;
+                            &lt;/listitem&gt;
+                        &lt;/varlistentry&gt;
+                    &lt;/variablelist&gt;
+                &lt;/listitem&gt;
</ins><span class="cx"> 
</span><del>-          &lt;programlisting&gt;&lt;prompt&gt;%%&lt;/prompt&gt; &lt;userinput&gt;curl -O https://distfiles.macports.org/MacPorts/MacPorts-&amp;macports-version;.tar.bz2&lt;/userinput&gt;
-&lt;prompt&gt;%%&lt;/prompt&gt; &lt;userinput&gt;tar xf MacPorts-&amp;macports-version;.tar.bz2&lt;/userinput&gt;&lt;/programlisting&gt;
-        &lt;/listitem&gt;
</del><ins>+                &lt;listitem&gt;
+                    &lt;para&gt;Double-click the downloaded package installer to perform the default &lt;quote&gt;easy&lt;/quote&gt;
+                        install.&lt;/para&gt;
+                &lt;/listitem&gt;
</ins><span class="cx"> 
</span><del>-        &lt;listitem&gt;
-          &lt;para&gt;Afterwards, perform the commands shown in the terminal window. If you wish
-          to use a path other than &lt;filename&gt;/opt/local&lt;/filename&gt;, follow
-          the instructions for &lt;link linkend=&quot;installing.macports.source.multiple&quot;&gt;installing
-          multiple copies of MacPorts&lt;/link&gt; instead.&lt;/para&gt;
</del><ins>+                &lt;listitem&gt;
+                    &lt;para&gt;After this step you are done already, MacPorts is now installed and your shell environment was
+                        set up automatically by the installer. To confirm the installation is working as expected, now
+                        try using the &lt;command&gt;port&lt;/command&gt; command in a &lt;emphasis&gt;new&lt;/emphasis&gt; terminal
+                        window.&lt;/para&gt;
</ins><span class="cx"> 
</span><del>-          &lt;programlisting&gt;&lt;prompt&gt;%%&lt;/prompt&gt; &lt;userinput&gt;cd MacPorts-&amp;macports-version;/&lt;/userinput&gt;
-&lt;prompt&gt;%%&lt;/prompt&gt; &lt;userinput&gt;./configure&lt;/userinput&gt;
-&lt;prompt&gt;%%&lt;/prompt&gt; &lt;userinput&gt;make&lt;/userinput&gt;
-&lt;prompt&gt;%%&lt;/prompt&gt; &lt;userinput&gt;sudo make install&lt;/userinput&gt;&lt;/programlisting&gt;
-        &lt;/listitem&gt;
</del><ins>+                    &lt;programlisting&gt;&lt;prompt&gt;$&lt;/prompt&gt;&lt;userinput&gt;port version&lt;/userinput&gt;&lt;/programlisting&gt;
+                    &lt;screen&gt;Version: &amp;macports-version;&lt;/screen&gt;
</ins><span class="cx"> 
</span><del>-        &lt;listitem&gt;
-          &lt;para&gt;Please continue with &lt;xref linkend=&quot;installing.shell&quot; /&gt; to set up your shell environment.&lt;/para&gt;
-        &lt;/listitem&gt;
-      &lt;/orderedlist&gt;
-    &lt;/section&gt;
</del><ins>+                    &lt;para&gt;In case of problems such as &lt;quote&gt;command not found&lt;/quote&gt;, make sure that you opened a new
+                        terminal window or consult &lt;xref linkend=&quot;installing.shell&quot;/&gt;. Otherwise, please skip the
+                        remainder of this chapter and continue with &lt;xref linkend=&quot;using&quot;/&gt; in this guide.&lt;/para&gt;
+                &lt;/listitem&gt;
+            &lt;/orderedlist&gt;
+        &lt;/section&gt;
</ins><span class="cx"> 
</span><del>-    &lt;section id=&quot;installing.macports.subversion&quot;&gt;
-      &lt;title&gt;Subversion Install&lt;/title&gt;
</del><ins>+        &lt;section id=&quot;installing.macports.source&quot;&gt;
+            &lt;title&gt;Source Install&lt;/title&gt;
</ins><span class="cx"> 
</span><del>-      &lt;para&gt;If you installed MacPorts using the package installer, skip this
-      section.&lt;/para&gt;
</del><ins>+            &lt;para&gt;If you installed MacPorts using the package installer, skip this section. To install MacPorts from the
+                source code, follow the steps below.&lt;/para&gt;
</ins><span class="cx"> 
</span><del>-      &lt;para&gt;There are times when some may want to run MacPorts from a version
-      newer than the current stable release. Maybe there's a new feature that
-      you'd like to use, or it fixes an issue you've encountered, or you just
-      like to be on the cutting edge. These steps explain how to run
-      completely from trunk, using only Subversion to keep MacPorts up to
-      date.&lt;/para&gt;
</del><ins>+            &lt;orderedlist&gt;
+                &lt;listitem&gt;
+                    &lt;para&gt;Download and extract the &lt;ulink
+                            url=&quot;https://distfiles.macports.org/MacPorts/MacPorts-&amp;macports-version;.tar.bz2&quot;&gt; MacPorts
+                            &amp;macports-version; tarball&lt;/ulink&gt;. Either do so using your browser and the Finder, or use
+                        the given commands in a terminal window.&lt;/para&gt;
</ins><span class="cx"> 
</span><del>-      &lt;orderedlist&gt;
-        &lt;listitem&gt;
-          &lt;para&gt;Check out MacPorts source&lt;/para&gt;
</del><ins>+                    &lt;programlisting&gt;&lt;prompt&gt;$&lt;/prompt&gt; &lt;userinput&gt;curl -O https://distfiles.macports.org/MacPorts/MacPorts-&amp;macports-version;.tar.bz2&lt;/userinput&gt;
+&lt;!--                --&gt;&lt;prompt&gt;$&lt;/prompt&gt; &lt;userinput&gt;tar xf MacPorts-&amp;macports-version;.tar.bz2&lt;/userinput&gt;&lt;/programlisting&gt;
+                &lt;/listitem&gt;
</ins><span class="cx"> 
</span><del>-          &lt;para&gt;Pick a location to store a working copy of the MacPorts code.
-          For this example, &lt;filename&gt;/opt/mports&lt;/filename&gt; will be used, but
-          you can put the source anywhere. This example will create
-          &lt;filename&gt;/opt/mports/trunk&lt;/filename&gt; containing everything needed
-          for MacPorts.&lt;/para&gt;
</del><ins>+                &lt;listitem&gt;
+                    &lt;para&gt;Afterwards, perform the commands shown in the terminal window. If you wish to use a path other
+                        than &lt;filename&gt;/opt/local&lt;/filename&gt;, follow the instructions for &lt;link
+                            linkend=&quot;installing.macports.source.multiple&quot;&gt;installing multiple copies of MacPorts&lt;/link&gt;
+                        instead.&lt;/para&gt;
</ins><span class="cx"> 
</span><del>-          &lt;programlisting&gt;&lt;prompt&gt;%%&lt;/prompt&gt; &lt;userinput&gt;mkdir -p /opt/mports&lt;/userinput&gt;
-&lt;prompt&gt;%%&lt;/prompt&gt; &lt;userinput&gt;cd /opt/mports&lt;/userinput&gt;
-&lt;prompt&gt;%%&lt;/prompt&gt; &lt;userinput&gt;svn checkout https://svn.macports.org/repository/macports/trunk&lt;/userinput&gt;&lt;/programlisting&gt;
</del><ins>+                    &lt;programlisting&gt;&lt;prompt&gt;$&lt;/prompt&gt; &lt;userinput&gt;cd MacPorts-&amp;macports-version;/&lt;/userinput&gt;
+&lt;!--                --&gt;&lt;prompt&gt;$&lt;/prompt&gt; &lt;userinput&gt;./configure&lt;/userinput&gt;
+&lt;!--                --&gt;&lt;prompt&gt;$&lt;/prompt&gt; &lt;userinput&gt;make&lt;/userinput&gt;
+&lt;!--                --&gt;&lt;prompt&gt;$&lt;/prompt&gt; &lt;userinput&gt;sudo make install&lt;/userinput&gt;&lt;/programlisting&gt;
+                &lt;/listitem&gt;
</ins><span class="cx"> 
</span><del>-          &lt;note&gt;
-              &lt;para&gt;
-             You only really need the base subdirectory to run MacPorts, so you can avoid checking out the rest if you don't want to use a Subversion-based ports tree (see Step 3 below). To just get the base directory, append 
</del><ins>+                &lt;listitem&gt;
+                    &lt;para&gt;Please continue with &lt;xref linkend=&quot;installing.shell&quot; /&gt; to set up your shell
+                        environment.&lt;/para&gt;
+                &lt;/listitem&gt;
+            &lt;/orderedlist&gt;
+        &lt;/section&gt;
</ins><span class="cx"> 
</span><del>-            &lt;filename&gt;/base&lt;/filename&gt;
</del><ins>+        &lt;section id=&quot;installing.macports.subversion&quot;&gt;
+            &lt;title&gt;Subversion Install&lt;/title&gt;
</ins><span class="cx"> 
</span><del>-             to the end of the svn checkout command above. The resulting directory will then be 
</del><ins>+            &lt;para&gt;If you installed MacPorts using the package installer, skip this section.&lt;/para&gt;
</ins><span class="cx"> 
</span><del>-            &lt;filename&gt;/opt/mports/base&lt;/filename&gt;
</del><ins>+            &lt;para&gt;There are times when some may want to run MacPorts from a version newer than the current stable
+                release. Maybe there's a new feature that you'd like to use, or it fixes an issue you've encountered, or
+                you just like to be on the cutting edge. These steps explain how to run completely from trunk, using
+                only Subversion to keep MacPorts up to date.&lt;/para&gt;
</ins><span class="cx"> 
</span><del>-            &lt;/para&gt;
-          &lt;/note&gt;
-        &lt;/listitem&gt;
</del><ins>+            &lt;orderedlist&gt;
+                &lt;listitem&gt;
+                    &lt;para&gt;Check out MacPorts source&lt;/para&gt;
</ins><span class="cx"> 
</span><del>-        &lt;listitem&gt;
-          &lt;para&gt;Build and Install MacPorts&lt;/para&gt;
</del><ins>+                    &lt;para&gt;Pick a location to store a working copy of the MacPorts code. For this example,
+                        &lt;filename&gt;/opt/mports&lt;/filename&gt; will be used, but you can put the source anywhere. This example
+                        will create &lt;filename&gt;/opt/mports/trunk&lt;/filename&gt; containing everything needed for
+                        MacPorts.&lt;/para&gt;
</ins><span class="cx"> 
</span><del>-          &lt;para&gt;MacPorts uses autoconf and makefiles for installation. These
-          commands will build and install MacPorts to
-          &lt;filename&gt;/opt/local&lt;/filename&gt;. You can add the
-          &lt;option&gt;--prefix&lt;/option&gt; option to &lt;filename&gt;./configure&lt;/filename&gt;
-          to relocate MacPorts to another directory if needed.&lt;/para&gt;
</del><ins>+                    &lt;programlisting&gt;&lt;prompt&gt;$&lt;/prompt&gt; &lt;userinput&gt;mkdir -p /opt/mports&lt;/userinput&gt;
+&lt;!--                --&gt;&lt;prompt&gt;$&lt;/prompt&gt; &lt;userinput&gt;cd /opt/mports&lt;/userinput&gt;
+&lt;!--                --&gt;&lt;prompt&gt;$&lt;/prompt&gt; &lt;userinput&gt;svn checkout https://svn.macports.org/repository/macports/trunk&lt;/userinput&gt;&lt;/programlisting&gt;
</ins><span class="cx"> 
</span><del>-          &lt;programlisting&gt;&lt;prompt&gt;%%&lt;/prompt&gt; &lt;userinput&gt;cd /opt/mports/trunk/base&lt;/userinput&gt;
-&lt;prompt&gt;%%&lt;/prompt&gt; &lt;userinput&gt;./configure --enable-readline&lt;/userinput&gt;
-&lt;prompt&gt;%%&lt;/prompt&gt; &lt;userinput&gt;make&lt;/userinput&gt;
-&lt;prompt&gt;%%&lt;/prompt&gt; &lt;userinput&gt;sudo make install&lt;/userinput&gt;
-&lt;prompt&gt;%%&lt;/prompt&gt; &lt;userinput&gt;make distclean&lt;/userinput&gt;&lt;/programlisting&gt;
-        &lt;/listitem&gt;
</del><ins>+                    &lt;note&gt;
+                        &lt;para&gt;You only really need the base subdirectory to run MacPorts, so you can avoid checking out
+                            the rest if you don't want to use a Subversion-based ports tree (see Step 3 below). To just
+                            get the base directory, append &lt;filename&gt;/base&lt;/filename&gt; to the end of the svn checkout
+                            command above. The resulting directory will then be
+                            &lt;filename&gt;/opt/mports/base&lt;/filename&gt;.&lt;/para&gt;
+                    &lt;/note&gt;
+                &lt;/listitem&gt;
</ins><span class="cx"> 
</span><del>-        &lt;listitem&gt;
-          &lt;para&gt;(Optional) Configure MacPorts to use port information from
-          Subversion&lt;/para&gt;
</del><ins>+                &lt;listitem&gt;
+                    &lt;para&gt;Build and Install MacPorts&lt;/para&gt;
</ins><span class="cx"> 
</span><del>-          &lt;para&gt;This step is useful if you want to do port development. Open
-          &lt;filename&gt;/opt/local/etc/macports/sources.conf&lt;/filename&gt; in a text
-          editor. The last line which should look like this:&lt;/para&gt;
</del><ins>+                    &lt;para&gt;MacPorts uses autoconf and makefiles for installation. These commands will build and install
+                        MacPorts to &lt;filename&gt;/opt/local&lt;/filename&gt;. You can add the &lt;option&gt;--prefix&lt;/option&gt; option to
+                        &lt;filename&gt;./configure&lt;/filename&gt; to relocate MacPorts to another directory if needed.&lt;/para&gt;
</ins><span class="cx"> 
</span><del>-          &lt;programlisting&gt;rsync://rsync.macports.org/release/tarballs/ports.tar [default]&lt;/programlisting&gt;
</del><ins>+                    &lt;programlisting&gt;&lt;prompt&gt;$&lt;/prompt&gt; &lt;userinput&gt;cd /opt/mports/trunk/base&lt;/userinput&gt;
+&lt;!--                --&gt;&lt;prompt&gt;$&lt;/prompt&gt; &lt;userinput&gt;./configure --enable-readline&lt;/userinput&gt;
+&lt;!--                --&gt;&lt;prompt&gt;$&lt;/prompt&gt; &lt;userinput&gt;make&lt;/userinput&gt;
+&lt;!--                --&gt;&lt;prompt&gt;$&lt;/prompt&gt; &lt;userinput&gt;sudo make install&lt;/userinput&gt;
+&lt;!--                --&gt;&lt;prompt&gt;$&lt;/prompt&gt; &lt;userinput&gt;make distclean&lt;/userinput&gt;&lt;/programlisting&gt;
+                &lt;/listitem&gt;
</ins><span class="cx"> 
</span><del>-          &lt;para&gt;Change it to point to the working copy you checked out:&lt;/para&gt;
</del><ins>+                &lt;listitem&gt;
+                    &lt;para&gt;(Optional) Configure MacPorts to use port information from Subversion&lt;/para&gt;
</ins><span class="cx"> 
</span><del>-          &lt;programlisting&gt;file:///opt/mports/trunk/dports [default]&lt;/programlisting&gt;
</del><ins>+                    &lt;para&gt;This step is useful if you want to do port development. Open
+                        &lt;filename&gt;/opt/local/etc/macports/sources.conf&lt;/filename&gt; in a text editor. The last line which
+                        should look like this:&lt;/para&gt;
</ins><span class="cx"> 
</span><del>-          &lt;para&gt;Now MacPorts will look for portfiles in the working
-          copy.&lt;/para&gt;
-        &lt;/listitem&gt;
</del><ins>+                    &lt;programlisting&gt;rsync://rsync.macports.org/release/tarballs/ports.tar [default]&lt;/programlisting&gt;
</ins><span class="cx"> 
</span><del>-        &lt;listitem&gt;
-          &lt;para&gt;Environment&lt;/para&gt;
</del><ins>+                    &lt;para&gt;Change it to point to the working copy you checked out:&lt;/para&gt;
</ins><span class="cx"> 
</span><del>-          &lt;para&gt;You should setup your PATH and other environment options
-          according to &lt;xref linkend=&quot;installing.shell&quot; /&gt;.&lt;/para&gt;
-        &lt;/listitem&gt;
-      &lt;/orderedlist&gt;
-    &lt;/section&gt;
</del><ins>+                    &lt;programlisting&gt;file:///opt/mports/trunk/dports [default]&lt;/programlisting&gt;
</ins><span class="cx"> 
</span><del>-    &lt;section id=&quot;installing.macports.source.multiple&quot;&gt;
-      &lt;title&gt;Install Multiple MacPorts Copies&lt;/title&gt;
</del><ins>+                    &lt;para&gt;Now MacPorts will look for portfiles in the working copy and use Subversion instead of rsync
+                        to update your ports tree.&lt;/para&gt;
+                &lt;/listitem&gt;
</ins><span class="cx"> 
</span><del>-      &lt;para&gt;Occasionally a MacPorts developer may wish to install more than
-      one MacPorts instance on the same host. Only one copy of MacPorts may
-      use the default prefix &lt;filename&gt;/opt/local&lt;/filename&gt;, so
-      for additional installations use the option
-      &lt;option&gt;--prefix&lt;/option&gt; as shown below. It's also recommended
-      to change the applications dir using
-      &lt;option&gt;--with-applications-dir&lt;/option&gt; to avoid conflicts in
-      &lt;filename&gt;/Applications/MacPorts&lt;/filename&gt;.&lt;/para&gt;
</del><ins>+                &lt;listitem&gt;
+                    &lt;para&gt;Environment&lt;/para&gt;
</ins><span class="cx"> 
</span><del>-      &lt;note&gt;
-        &lt;para&gt;The first command temporarily removes the standard MacPorts
-        binary paths because they must not be present while installing a
-        second instance.&lt;/para&gt;
-      &lt;/note&gt;
</del><ins>+                    &lt;para&gt;You should setup your PATH and other environment options according to &lt;xref
+                        linkend=&quot;installing.shell&quot; /&gt;.&lt;/para&gt;
+                &lt;/listitem&gt;
+            &lt;/orderedlist&gt;
+        &lt;/section&gt;
</ins><span class="cx"> 
</span><del>-      &lt;programlisting&gt;&lt;prompt&gt;%%&lt;/prompt&gt; &lt;userinput&gt;export PATH=/bin:/sbin:/usr/bin:/usr/sbin&lt;/userinput&gt;
-&lt;prompt&gt;%%&lt;/prompt&gt; &lt;userinput&gt;MP_PREFIX=/opt/macports-test&lt;/userinput&gt;
-&lt;prompt&gt;%%&lt;/prompt&gt; &lt;userinput&gt;./configure --prefix=$MP_PREFIX --with-applications-dir=$MP_PREFIX/Applications&lt;/userinput&gt;
-&lt;prompt&gt;%%&lt;/prompt&gt; &lt;userinput&gt;make&lt;/userinput&gt;
-&lt;prompt&gt;%%&lt;/prompt&gt; &lt;userinput&gt;sudo make install&lt;/userinput&gt;
-&lt;/programlisting&gt;
</del><ins>+        &lt;section id=&quot;installing.macports.source.multiple&quot;&gt;
+            &lt;title&gt;Install Multiple MacPorts Copies&lt;/title&gt;
</ins><span class="cx"> 
</span><del>-      &lt;para&gt;After installing the second instance you might need to add
-      &lt;programlisting&gt;startupitem_install no&lt;/programlisting&gt; to
-      &lt;filename&gt;$MP_PREFIX/etc/macports/macports.conf&lt;/filename&gt; to avoid
-      conflicts in &lt;filename&gt;/Library/LaunchAgents&lt;/filename&gt;.
-      &lt;/para&gt;
</del><ins>+            &lt;para&gt;Occasionally a MacPorts developer may wish to install more than one MacPorts instance on the same
+                host. Only one copy of MacPorts may use the default prefix &lt;filename&gt;/opt/local&lt;/filename&gt;, so for
+                additional installations use the option &lt;option&gt;--prefix&lt;/option&gt; as shown below. It's also recommended
+                to change the applications dir using &lt;option&gt;--with-applications-dir&lt;/option&gt; to avoid conflicts in
+                &lt;filename&gt;/Applications/MacPorts&lt;/filename&gt;.&lt;/para&gt;
+
+            &lt;note&gt;
+                &lt;para&gt;The first command temporarily removes the standard MacPorts binary paths because they must not be
+                    present while installing a second instance.&lt;/para&gt;
+            &lt;/note&gt;
+
+            &lt;programlisting&gt;&lt;prompt&gt;$&lt;/prompt&gt; &lt;userinput&gt;export PATH=/bin:/sbin:/usr/bin:/usr/sbin&lt;/userinput&gt;
+&lt;!--                --&gt;&lt;prompt&gt;$&lt;/prompt&gt; &lt;userinput&gt;MP_PREFIX=/opt/macports-test&lt;/userinput&gt;
+&lt;!--                --&gt;&lt;prompt&gt;$&lt;/prompt&gt; &lt;userinput&gt;./configure --prefix=$MP_PREFIX --with-applications-dir=$MP_PREFIX/Applications&lt;/userinput&gt;
+&lt;!--                --&gt;&lt;prompt&gt;$&lt;/prompt&gt; &lt;userinput&gt;make&lt;/userinput&gt;
+&lt;!--                --&gt;&lt;prompt&gt;$&lt;/prompt&gt; &lt;userinput&gt;sudo make install&lt;/userinput&gt;&lt;/programlisting&gt;
+
+            &lt;para&gt;After installing the second instance you might need to add
+                &lt;programlisting&gt;startupitem_install no&lt;/programlisting&gt;
+                to &lt;filename&gt;$MP_PREFIX/etc/macports/macports.conf&lt;/filename&gt; to avoid conflicts in
+                &lt;filename&gt;/Library/LaunchAgents&lt;/filename&gt;.&lt;/para&gt;
+        &lt;/section&gt;
</ins><span class="cx">     &lt;/section&gt;
</span><del>-  &lt;/section&gt;
</del><span class="cx"> 
</span><del>-  &lt;section id=&quot;installing.macports.upgrade&quot;&gt;
-    &lt;title&gt;MacPorts Upgrade&lt;/title&gt;
</del><ins>+    &lt;section id=&quot;installing.macports.upgrade&quot;&gt;
+        &lt;title&gt;MacPorts Upgrade&lt;/title&gt;
</ins><span class="cx"> 
</span><del>-    &lt;para&gt;MacPorts base upgrades are performed automatically (when a newer
-    release is available) during a &lt;link
-    linkend=&quot;using.port.selfupdate&quot;&gt;selfupdate&lt;/link&gt; operation. To upgrade a
-    copy of MacPorts that was installed from source to the newer release of
-    the source code, simply repeat the &lt;link
-    linkend=&quot;installing.macports.source&quot;&gt;source install&lt;/link&gt; with the newer
-    version of the MacPorts source code.&lt;/para&gt;
-  &lt;/section&gt;
</del><ins>+        &lt;para&gt;MacPorts base upgrades are performed automatically (when a newer release is available) during a &lt;link
+                linkend=&quot;using.port.selfupdate&quot;&gt;selfupdate&lt;/link&gt; operation. To upgrade a copy of MacPorts that was
+            installed from source to the newer release of the source code, simply repeat the &lt;link
+                linkend=&quot;installing.macports.source&quot;&gt;source install&lt;/link&gt; with the newer version of the MacPorts source
+            code.&lt;/para&gt;
+    &lt;/section&gt;
</ins><span class="cx"> 
</span><del>-  &lt;section id=&quot;installing.macports.uninstalling&quot;&gt;
-    &lt;title&gt;Uninstall&lt;/title&gt;
</del><ins>+    &lt;section id=&quot;installing.macports.uninstalling&quot;&gt;
+        &lt;title&gt;Uninstall&lt;/title&gt;
</ins><span class="cx"> 
</span><del>-    &lt;para&gt;Uninstalling MacPorts can be a drastic step, and depending on the 
-    issue you are experiencing, you may not need to do so. If you are unsure,
-    ask on the
-    &lt;ulink url=&quot;http://lists.macosforge.org/mailman/listinfo/macports-users&quot;&gt;macports-users&lt;/ulink&gt;
-    mailing list first.&lt;/para&gt;
-    
-    &lt;para&gt;If you need to uninstall MacPorts, and your &lt;command&gt;port&lt;/command&gt; command is
-    functioning, first uninstall all the installed ports by running this
-    command in the Terminal:&lt;/para&gt;
-    &lt;programlisting&gt;&lt;prompt&gt;%%&lt;/prompt&gt; &lt;userinput&gt;sudo port -fp uninstall installed&lt;/userinput&gt;&lt;/programlisting&gt;
</del><ins>+        &lt;para&gt;Uninstalling MacPorts can be a drastic step, and depending on the issue you are experiencing, you may not
+            need to do so. If you are unsure, ask on the &lt;ulink
+                url=&quot;http://lists.macosforge.org/mailman/listinfo/macports-users&quot;&gt;macports-users&lt;/ulink&gt; mailing list
+            first.&lt;/para&gt;
</ins><span class="cx"> 
</span><del>-    &lt;para&gt;All that will be left in your installation prefix now will be files
-    that were not registered to any port. This includes configuration
-    files, databases, any files which MacPorts
-    renamed in order to allow a forced installation or upgrade, and the base
-    MacPorts software itself. You may wish to save your configuration files
-    (most are in &lt;filename&gt;${prefix}/etc&lt;/filename&gt;), databases, or any other
-    unique data by moving it aside.&lt;/para&gt;
</del><ins>+        &lt;para&gt;If you need to uninstall MacPorts, and your &lt;command&gt;port&lt;/command&gt; command is functioning, first
+        uninstall all the installed ports by running this command in the Terminal:&lt;/para&gt;
</ins><span class="cx"> 
</span><del>-    &lt;para&gt;To remove all remaining traces of MacPorts, run the following
-    command in the Terminal. If you have changed &lt;varname&gt;prefix&lt;/varname&gt;,
-    &lt;varname&gt;applications_dir&lt;/varname&gt; or &lt;varname&gt;frameworks_dir&lt;/varname&gt;
-    from their default values, then replace &lt;filename&gt;/opt/local&lt;/filename&gt;
-    with your &lt;varname&gt;prefix&lt;/varname&gt;, replace &lt;filename&gt;/Applications/MacPorts&lt;/filename&gt;
-    with your &lt;varname&gt;applications_dir&lt;/varname&gt;, and/or add your
-    &lt;varname&gt;frameworks_dir&lt;/varname&gt; to the list, respectively.&lt;/para&gt;
-    &lt;programlisting&gt;&lt;prompt&gt;%%&lt;/prompt&gt; &lt;userinput&gt;sudo rm -rf \
-    /opt/local \
-    /Applications/DarwinPorts \
-    /Applications/MacPorts \
-    /Library/LaunchDaemons/org.macports.* \
-    /Library/Receipts/DarwinPorts*.pkg \
-    /Library/Receipts/MacPorts*.pkg \
-    /Library/StartupItems/DarwinPortsStartup \
-    /Library/Tcl/darwinports1.0 \
-    /Library/Tcl/macports1.0 \
-    ~/.macports&lt;/userinput&gt;&lt;/programlisting&gt;
-  
-  &lt;para&gt;If you use a shell other than bash (perhaps tcsh), you may need to
-  adjust the above to fit your shell's syntax. Also note that depending on which
-  version of MacPorts you have and which ports you have installed, not all of
-  the above paths will exist on your system. This is OK.&lt;/para&gt;
-  &lt;/section&gt;
</del><ins>+        &lt;programlisting&gt;&lt;prompt&gt;$&lt;/prompt&gt; &lt;userinput&gt;sudo port -fp uninstall installed&lt;/userinput&gt;&lt;/programlisting&gt;
</ins><span class="cx"> 
</span><del>-  &lt;section id=&quot;installing.shell&quot;&gt;
-    &lt;title&gt;MacPorts and the Shell&lt;/title&gt;
</del><ins>+        &lt;para&gt;All that will be left in your installation prefix now will be files that were not registered to any port.
+            This includes configuration files, databases, any files which MacPorts renamed in order to allow a forced
+            installation or upgrade, and the base MacPorts software itself. You may wish to save your configuration
+            files (most are in &lt;filename&gt;$prefix/etc&lt;/filename&gt;), databases, or any other unique data by moving it
+            aside.&lt;/para&gt;
</ins><span class="cx"> 
</span><del>-    &lt;para&gt;MacPorts requires that some environment variables be set in the
-    shell. When MacPorts is installed using the OS X package installer, a
-    &lt;quote&gt;postflight&lt;/quote&gt; script is run after installation that
-    automatically adds or modifies a shell configuration file in your home directory,
-    ensuring that it defines variables
-    according to the rules described in the following section. Those &lt;link
-    linkend=&quot;installing.macports.source&quot;&gt;installing MacPorts from source
-    code&lt;/link&gt; must modify their environment manually using the rules as a
-    guide.&lt;/para&gt;
</del><ins>+        &lt;para&gt;To remove all remaining traces of MacPorts, run the following command in the Terminal. If you have changed
+            &lt;varname&gt;prefix&lt;/varname&gt;, &lt;varname&gt;applications_dir&lt;/varname&gt; or &lt;varname&gt;frameworks_dir&lt;/varname&gt; from
+            their default values, then replace &lt;filename&gt;/opt/local&lt;/filename&gt; with your &lt;varname&gt;prefix&lt;/varname&gt;,
+            replace &lt;filename&gt;/Applications/MacPorts&lt;/filename&gt; with your &lt;varname&gt;applications_dir&lt;/varname&gt;, and/or
+            add your &lt;varname&gt;frameworks_dir&lt;/varname&gt; to the list, respectively.&lt;/para&gt;
</ins><span class="cx"> 
</span><del>-    &lt;para&gt;Depending on your shell and which configuration files already exist, the
-    installer may use &lt;filename&gt;.profile&lt;/filename&gt;, &lt;filename&gt;.bash_login&lt;/filename&gt;,
-    &lt;filename&gt;.bash_profile&lt;/filename&gt;, &lt;filename&gt;.tcshrc&lt;/filename&gt;, or
-    &lt;filename&gt;.cshrc&lt;/filename&gt;.&lt;/para&gt;
</del><ins>+        &lt;programlisting&gt;&lt;prompt&gt;$&lt;/prompt&gt; &lt;userinput&gt;sudo rm -rf \
+        /opt/local \
+        /Applications/DarwinPorts \
+        /Applications/MacPorts \
+        /Library/LaunchDaemons/org.macports.* \
+        /Library/Receipts/DarwinPorts*.pkg \
+        /Library/Receipts/MacPorts*.pkg \
+        /Library/StartupItems/DarwinPortsStartup \
+        /Library/Tcl/darwinports1.0 \
+        /Library/Tcl/macports1.0 \
+        ~/.macports&lt;/userinput&gt;&lt;/programlisting&gt;
</ins><span class="cx"> 
</span><del>-    &lt;section id=&quot;installing.shell.postflight&quot;&gt;
-      &lt;title&gt;The Postflight Script&lt;/title&gt;
</del><ins>+        &lt;para&gt;If you use a shell other than bash (perhaps tcsh), you may need to adjust the above to fit your shell's
+            syntax. Also note that depending on which version of MacPorts you have and which ports you have installed,
+            not all of the above paths will exist on your system. This is OK.&lt;/para&gt;
+    &lt;/section&gt;
</ins><span class="cx"> 
</span><del>-      &lt;para&gt;The postflight script automatically sets
-      the &lt;varname&gt;PATH&lt;/varname&gt;
-      variable, and optionally the &lt;varname&gt;MANPATH&lt;/varname&gt; and
-      &lt;varname&gt;DISPLAY&lt;/varname&gt; variables according to the rules described
-      below. If a current shell configuration file exists at
-      installation time it is renamed to &lt;quote&gt;mpsaved_$timestamp&lt;/quote&gt;.
-      Those &lt;link linkend=&quot;installing.macports.source&quot;&gt;installing MacPorts
-      from source code&lt;/link&gt; must modify their environment manually using the
-      rules as a guide.&lt;/para&gt;
</del><ins>+    &lt;section id=&quot;installing.shell&quot;&gt;
+        &lt;title&gt;MacPorts and the Shell&lt;/title&gt;
</ins><span class="cx"> 
</span><del>-      &lt;itemizedlist&gt;
-        &lt;listitem&gt;
-          &lt;para&gt;Required: &lt;varname&gt;PATH&lt;/varname&gt; variable&lt;/para&gt;
</del><ins>+        &lt;para&gt;MacPorts requires that some environment variables be set in the shell. When MacPorts is installed using
+            the OS X package installer, a &lt;quote&gt;postflight&lt;/quote&gt; script is run after installation that automatically
+            adds or modifies a shell configuration file in your home directory, ensuring that it defines variables
+            according to the rules described in the following section. Those &lt;link
+                linkend=&quot;installing.macports.source&quot;&gt;installing MacPorts from source code&lt;/link&gt; must modify their
+            environment manually using the rules as a guide.&lt;/para&gt;
</ins><span class="cx"> 
</span><del>-          &lt;para&gt;This variable is set by the postflight script to append the
-          MacPorts executable paths to the default path as shown. The MacPorts
-          paths are appended at the front of &lt;varname&gt;PATH&lt;/varname&gt; so the
-          MacPorts libraries will take precedence over vendor-supplied
-          libraries for ported software at runtime.&lt;/para&gt;
</del><ins>+        &lt;para&gt;Depending on your shell and which configuration files already exist, the installer may use
+            &lt;filename&gt;.profile&lt;/filename&gt;, &lt;filename&gt;.bash_login&lt;/filename&gt;, &lt;filename&gt;.bash_profile&lt;/filename&gt;,
+            &lt;filename&gt;.tcshrc&lt;/filename&gt;, or &lt;filename&gt;.cshrc&lt;/filename&gt;.&lt;/para&gt;
</ins><span class="cx"> 
</span><del>-          &lt;programlisting&gt;export PATH=/opt/local/bin:/opt/local/sbin:$PATH&lt;/programlisting&gt;
</del><ins>+        &lt;section id=&quot;installing.shell.postflight&quot;&gt;
+            &lt;title&gt;The Postflight Script&lt;/title&gt;
</ins><span class="cx"> 
</span><del>-          &lt;note&gt;
-            &lt;para&gt;The user environment's $PATH is not in effect while ports
-            are being installed, because the $PATH is scrubbed before ports
-            are installed, and restored afterwards. To change the search path
-            for locating system executables (rsync, tar, etc.) during port
-            installation, see the &lt;link
-            linkend=&quot;internals.configuration-files.macports-conf&quot;&gt;macports.conf&lt;/link&gt;
-            file variable &lt;varname&gt;binpath&lt;/varname&gt;. But changing this
-            variable is for advanced users only, and is not generally needed
-            or recomended.&lt;/para&gt;
-          &lt;/note&gt;
-        &lt;/listitem&gt;
</del><ins>+            &lt;para&gt;The postflight script automatically sets the &lt;varname&gt;PATH&lt;/varname&gt; variable, and optionally the
+                &lt;varname&gt;MANPATH&lt;/varname&gt; and &lt;varname&gt;DISPLAY&lt;/varname&gt; variables according to the rules described
+                below. If a current shell configuration file exists at installation time it is renamed to
+                &lt;quote&gt;mpsaved_$timestamp&lt;/quote&gt;. Those &lt;link linkend=&quot;installing.macports.source&quot;&gt;installing MacPorts
+                    from source code&lt;/link&gt; must modify their environment manually using the rules as a guide.&lt;/para&gt;
</ins><span class="cx"> 
</span><del>-        &lt;listitem&gt;
-          &lt;para&gt;Optional: &lt;varname&gt;MANPATH&lt;/varname&gt; variable&lt;/para&gt;
</del><ins>+            &lt;itemizedlist&gt;
+                &lt;listitem&gt;
+                    &lt;para&gt;Required: &lt;varname&gt;PATH&lt;/varname&gt; variable&lt;/para&gt;
</ins><span class="cx"> 
</span><del>-          &lt;para&gt;Condition: If prior to MacPorts installation a
-          &lt;varname&gt;MANPATH&lt;/varname&gt; variable exists in a current
-          &lt;filename&gt;.profile&lt;/filename&gt; that contains neither the value
-          &lt;filename&gt;${prefix}/share/man,&lt;/filename&gt; nor any empty values, the
-          postflight script sets the &lt;varname&gt;MANPATH&lt;/varname&gt; variable as
-          shown below. Otherwise, the &lt;varname&gt;MANPATH&lt;/varname&gt; variable is
-          omitted.&lt;/para&gt;
</del><ins>+                    &lt;para&gt;This variable is set by the postflight script to append the MacPorts executable paths to the
+                        default path as shown. The MacPorts paths are appended at the front of &lt;varname&gt;PATH&lt;/varname&gt;
+                        so the MacPorts libraries will take precedence over vendor-supplied libraries for ported
+                        software at runtime.&lt;/para&gt;
</ins><span class="cx"> 
</span><del>-          &lt;programlisting&gt;export MANPATH=/opt/local/share/man:$MANPATH&lt;/programlisting&gt;
</del><ins>+                    &lt;programlisting&gt;export PATH=/opt/local/bin:/opt/local/sbin:$PATH&lt;/programlisting&gt;
</ins><span class="cx"> 
</span><del>-          &lt;para&gt;Here are some examples of paths that contain empty
-          values:&lt;/para&gt;
</del><ins>+                    &lt;note&gt;
+                        &lt;para&gt;The user environment's $PATH is not in effect while ports are being installed, because the
+                            $PATH is scrubbed before ports are installed, and restored afterwards. To change the search
+                            path for locating system executables (rsync, tar, etc.) during port installation, see the
+                            &lt;link linkend=&quot;internals.configuration-files.macports-conf&quot;&gt;macports.conf&lt;/link&gt; file
+                            variable &lt;varname&gt;binpath&lt;/varname&gt;. But changing this variable is for advanced users only,
+                            and is not generally needed or recomended.&lt;/para&gt;
+                    &lt;/note&gt;
+                &lt;/listitem&gt;
</ins><span class="cx"> 
</span><del>-          &lt;simplelist&gt;
-            &lt;member&gt;/usr/share/man:&lt;/member&gt;
</del><ins>+                &lt;listitem&gt;
+                    &lt;para&gt;Optional: &lt;varname&gt;MANPATH&lt;/varname&gt; variable&lt;/para&gt;
</ins><span class="cx"> 
</span><del>-            &lt;member&gt;:/usr/share/man&lt;/member&gt;
</del><ins>+                    &lt;para&gt;Condition: If prior to MacPorts installation a &lt;varname&gt;MANPATH&lt;/varname&gt; variable exists in
+                        a current &lt;filename&gt;.profile&lt;/filename&gt; that contains neither the value
+                        &lt;filename&gt;${prefix}/share/man,&lt;/filename&gt; nor any empty values, the postflight script sets the
+                        &lt;varname&gt;MANPATH&lt;/varname&gt; variable as shown below. Otherwise, the &lt;varname&gt;MANPATH&lt;/varname&gt;
+                        variable is omitted.&lt;/para&gt;
</ins><span class="cx"> 
</span><del>-            &lt;member&gt;/usr/share/man::/usr/X11R6/man&lt;/member&gt;
-          &lt;/simplelist&gt;
-        &lt;/listitem&gt;
</del><ins>+                    &lt;programlisting&gt;export MANPATH=/opt/local/share/man:$MANPATH&lt;/programlisting&gt;
</ins><span class="cx"> 
</span><del>-        &lt;listitem&gt;
-          &lt;para&gt;Optional: &lt;varname&gt;DISPLAY&lt;/varname&gt; variable&lt;/para&gt;
</del><ins>+                    &lt;para&gt;Here are some examples of paths that contain empty values:&lt;/para&gt;
</ins><span class="cx"> 
</span><del>-          &lt;para&gt;Condition: If installing on a Mac OS X version earlier than
-          10.5 (Leopard), and if a shell configuration file exists
-          at time of MacPorts installation without a
-          &lt;varname&gt;DISPLAY&lt;/varname&gt; variable, the postflight script sets a
-          &lt;varname&gt;DISPLAY&lt;/varname&gt; variable as shown below. The
-          &lt;varname&gt;DISPLAY&lt;/varname&gt; variable is always omitted on Mac OS X
-          10.5 or higher.&lt;/para&gt;
</del><ins>+                    &lt;simplelist&gt;
+                        &lt;member&gt;/usr/share/man:&lt;/member&gt;
+                        &lt;member&gt;:/usr/share/man&lt;/member&gt;
+                        &lt;member&gt;/usr/share/man::/usr/X11R6/man&lt;/member&gt;
+                    &lt;/simplelist&gt;
+                &lt;/listitem&gt;
</ins><span class="cx"> 
</span><del>-          &lt;programlisting&gt;export DISPLAY=:0.0&lt;/programlisting&gt;
-        &lt;/listitem&gt;
-      &lt;/itemizedlist&gt;
-    &lt;/section&gt;
</del><ins>+                &lt;listitem&gt;
+                    &lt;para&gt;Optional: &lt;varname&gt;DISPLAY&lt;/varname&gt; variable&lt;/para&gt;
</ins><span class="cx"> 
</span><del>-    &lt;section id=&quot;installing.shell.verifyprofile&quot;&gt;
-      &lt;title&gt;Verify the configuration file&lt;/title&gt;
</del><ins>+                    &lt;para&gt;Condition: If installing on a Mac OS X version earlier than 10.5 (Leopard), and if a shell
+                        configuration file exists at time of MacPorts installation without a &lt;varname&gt;DISPLAY&lt;/varname&gt;
+                        variable, the postflight script sets a &lt;varname&gt;DISPLAY&lt;/varname&gt; variable as shown below. The
+                        &lt;varname&gt;DISPLAY&lt;/varname&gt; variable is always omitted on Mac OS X 10.5 or higher.&lt;/para&gt;
</ins><span class="cx"> 
</span><del>-      &lt;para&gt;To verify that the file containing the
-      MacPorts variables is in effect, type &lt;command&gt;env&lt;/command&gt; in the
-      terminal to verify the current environment settings after the
-      file has been created. Example output for the
-      &lt;command&gt;env&lt;/command&gt; command is shown below.&lt;/para&gt;
</del><ins>+                    &lt;programlisting&gt;export DISPLAY=:0.0&lt;/programlisting&gt;
+                &lt;/listitem&gt;
+            &lt;/itemizedlist&gt;
+        &lt;/section&gt;
</ins><span class="cx"> 
</span><del>-      &lt;note&gt;
-        &lt;para&gt;Changes to shell configuration files do not take effect
-        until a new terminal session is opened.&lt;/para&gt;
-      &lt;/note&gt;
</del><ins>+        &lt;section id=&quot;installing.shell.verifyprofile&quot;&gt;
+            &lt;title&gt;Verify the configuration file&lt;/title&gt;
</ins><span class="cx"> 
</span><del>-      &lt;screen&gt;MANPATH=
-TERM_PROGRAM=Apple_Terminal
-TERM=xterm-color
-SHELL=/bin/bash
-TERM_PROGRAM_VERSION=237
-USER=joebob
-__CF_USER_TEXT_ENCODING=0x1FC:0:0
-PATH=/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin
-PWD=/Users/joebob
-EDITOR=/usr/bin/pico
-SHLVL=1
-HOME=/Users/joebob
-LOGNAME=joebob
-DISPLAY=:0.0
-SECURITYSESSIONID=b0cea0
-_=/usr/bin/env&lt;/screen&gt;
-    &lt;/section&gt;
</del><ins>+            &lt;para&gt;To verify that the file containing the MacPorts variables is in effect, type &lt;command&gt;env&lt;/command&gt; in
+                the terminal to verify the current environment settings after the file has been created. Example output
+                for the &lt;command&gt;env&lt;/command&gt; command is shown below.&lt;/para&gt;
</ins><span class="cx"> 
</span><del>-    &lt;section id=&quot;installing.shell.editorvar&quot;&gt;
-      &lt;title&gt;Optional Editor Variables&lt;/title&gt;
</del><ins>+            &lt;note&gt;
+                &lt;para&gt;Changes to shell configuration files do not take effect until a new terminal session is
+                    opened.&lt;/para&gt;
+            &lt;/note&gt;
</ins><span class="cx"> 
</span><del>-      &lt;para&gt;You can set an environment variable in order to use your favorite
-      text editor with edit option of port command.&lt;/para&gt;
-      &lt;para&gt;MacPorts will check &lt;varname&gt;MP_EDITOR&lt;/varname&gt;,
-      &lt;varname&gt;VISUAL&lt;/varname&gt; and &lt;varname&gt;EDITOR&lt;/varname&gt; in this order,
-      allowing you to either use a default editor shared with other programs
-      (&lt;varname&gt;VISUAL&lt;/varname&gt; and &lt;varname&gt;EDITOR&lt;/varname&gt;) or a Macports'
-      specific one (&lt;varname&gt;MP_EDITOR&lt;/varname&gt;).&lt;/para&gt;
</del><ins>+            &lt;screen&gt;MANPATH=
+&lt;!--        --&gt;TERM_PROGRAM=Apple_Terminal
+&lt;!--        --&gt;TERM=xterm-color
+&lt;!--        --&gt;SHELL=/bin/bash
+&lt;!--        --&gt;TERM_PROGRAM_VERSION=237
+&lt;!--        --&gt;USER=joebob
+&lt;!--        --&gt;__CF_USER_TEXT_ENCODING=0x1FC:0:0
+&lt;!--        --&gt;PATH=/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin
+&lt;!--        --&gt;PWD=/Users/joebob
+&lt;!--        --&gt;EDITOR=/usr/bin/pico
+&lt;!--        --&gt;SHLVL=1
+&lt;!--        --&gt;HOME=/Users/joebob
+&lt;!--        --&gt;LOGNAME=joebob
+&lt;!--        --&gt;DISPLAY=:0.0
+&lt;!--        --&gt;SECURITYSESSIONID=b0cea0
+&lt;!--        --&gt;_=/usr/bin/env&lt;/screen&gt;
+        &lt;/section&gt;
</ins><span class="cx"> 
</span><del>-      &lt;para&gt;For example, to use the nano editor, add this line to your
-      bash config:&lt;/para&gt;
</del><ins>+        &lt;section id=&quot;installing.shell.editorvar&quot;&gt;
+            &lt;title&gt;Optional Editor Variables&lt;/title&gt;
</ins><span class="cx"> 
</span><del>-      &lt;programlisting&gt;export EDITOR=/usr/bin/nano&lt;/programlisting&gt;
</del><ins>+            &lt;para&gt;You can set an environment variable in order to use your favorite text editor with edit option of port
+                command.&lt;/para&gt; &lt;para&gt;MacPorts will check &lt;varname&gt;MP_EDITOR&lt;/varname&gt;, &lt;varname&gt;VISUAL&lt;/varname&gt; and
+                &lt;varname&gt;EDITOR&lt;/varname&gt; in this order, allowing you to either use a default editor shared with other
+                programs (&lt;varname&gt;VISUAL&lt;/varname&gt; and &lt;varname&gt;EDITOR&lt;/varname&gt;) or a Macports' specific one
+                (&lt;varname&gt;MP_EDITOR&lt;/varname&gt;).&lt;/para&gt;
</ins><span class="cx"> 
</span><del>-      &lt;para&gt;To use the user-friendly GUI editor &lt;ulink
-      url=&quot;http://www.barebones.com/products/textwrangler/&quot;&gt;TextWrangler&lt;/ulink&gt;
-      (installation required), add this line:&lt;/para&gt;
</del><ins>+            &lt;para&gt;For example, to use the nano editor, add this line to your bash config:&lt;/para&gt;
</ins><span class="cx"> 
</span><del>-      &lt;programlisting&gt;export EDITOR=/usr/bin/edit&lt;/programlisting&gt;
-      
-      &lt;para&gt;To keep a command-line text editor as default while using a graphic editor with
-      portfiles, add this: &lt;/para&gt;
</del><ins>+            &lt;programlisting&gt;export EDITOR=/usr/bin/nano&lt;/programlisting&gt;
</ins><span class="cx"> 
</span><del>-      &lt;programlisting&gt;export EDITOR=/usr/bin/vi
-export MP_EDITOR=/usr/bin/edit&lt;/programlisting&gt;
</del><ins>+            &lt;para&gt;To use the user-friendly GUI editor &lt;ulink
+                    url=&quot;http://www.barebones.com/products/textwrangler/&quot;&gt;TextWrangler&lt;/ulink&gt; (installation required),
+                add this line:&lt;/para&gt;
+
+            &lt;programlisting&gt;export EDITOR=/usr/bin/edit&lt;/programlisting&gt;
+
+            &lt;para&gt;To keep a command-line text editor as default while using a graphic editor with portfiles, add
+                this:&lt;/para&gt;
+
+            &lt;programlisting&gt;export EDITOR=/usr/bin/vi
+&lt;!--        --&gt;export MP_EDITOR=/usr/bin/edit&lt;/programlisting&gt;
+        &lt;/section&gt;
</ins><span class="cx">     &lt;/section&gt;
</span><del>-  &lt;/section&gt;
</del><span class="cx"> &lt;/chapter&gt;
</span></span></pre></div>
<a id="trunkdocnewguidexmlintroxml"></a>
<div class="modfile"><h4>Modified: trunk/doc-new/guide/xml/intro.xml (122854 => 122855)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/doc-new/guide/xml/intro.xml        2014-07-31 21:24:25 UTC (rev 122854)
+++ trunk/doc-new/guide/xml/intro.xml        2014-07-31 21:52:33 UTC (rev 122855)
</span><span class="lines">@@ -1,85 +1,75 @@
</span><span class="cx"> &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
</span><ins>+&lt;!-- -*- coding: utf-8; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4:tw=120
+--&gt;
</ins><span class="cx"> &lt;!DOCTYPE chapter PUBLIC &quot;-//OASIS//DTD DocBook XML V4.5//EN&quot;
</span><span class="cx"> &quot;http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd&quot;&gt;
</span><span class="cx"> &lt;chapter id=&quot;introduction&quot;&gt;
</span><del>-  &lt;title&gt;Introduction&lt;/title&gt;
</del><ins>+    &lt;title&gt;Introduction&lt;/title&gt;
</ins><span class="cx"> 
</span><del>-  &lt;para&gt;MacPorts is an easy to use system for compiling, installing, and
-  managing open source software. MacPorts may be conceptually divided into two
-  main parts: the infrastructure, known as MacPorts base, and the set of
-  available ports. A MacPorts port is a set of specifications contained in
-  a &lt;link linkend=&quot;development.introduction&quot;&gt;Portfile&lt;/link&gt; that defines an
-  application, its characteristics, and any files or special instructions
-  required to install it. This allows you to use a single command to tell
-  MacPorts to automatically download, compile, and install applications and
-  libraries. But using MacPorts to manage your open source software provides
-  several other significant advantages. For example, MacPorts:&lt;/para&gt;
</del><ins>+    &lt;para&gt;MacPorts is an easy to use system for compiling, installing, and managing open source software. MacPorts may
+        be conceptually divided into two main parts: the infrastructure, known as MacPorts base, and the set of
+        available ports. A MacPorts port is a set of specifications contained in a &lt;link
+            linkend=&quot;development.introduction&quot;&gt;Portfile&lt;/link&gt; that defines an application, its characteristics, and any
+        files or special instructions required to install it. This allows you to use a single command to tell MacPorts
+        to automatically download, compile, and install applications and libraries. But using MacPorts to manage your
+        open source software provides several other significant advantages. For example, MacPorts:&lt;/para&gt;
</ins><span class="cx"> 
</span><del>-  &lt;itemizedlist&gt;
-    &lt;listitem&gt;
-      &lt;para&gt;Installs automatically any required support software, known as
-      &lt;link linkend=&quot;reference.dependencies&quot;&gt;dependencies&lt;/link&gt;, for a given
-      port.&lt;/para&gt;
-    &lt;/listitem&gt;
</del><ins>+    &lt;itemizedlist&gt;
+        &lt;listitem&gt;
+            &lt;para&gt;Installs automatically any required support software, known as &lt;link
+                    linkend=&quot;reference.dependencies&quot;&gt;dependencies&lt;/link&gt;, for a given port.&lt;/para&gt;
+        &lt;/listitem&gt;
</ins><span class="cx"> 
</span><del>-    &lt;listitem&gt;
-      &lt;para&gt;Provides for uninstalls and upgrades for installed ports.&lt;/para&gt;
-    &lt;/listitem&gt;
</del><ins>+        &lt;listitem&gt;
+            &lt;para&gt;Provides for uninstalls and upgrades for installed ports.&lt;/para&gt;
+        &lt;/listitem&gt;
</ins><span class="cx"> 
</span><del>-    &lt;listitem&gt;
-      &lt;para&gt;Confines ported software to a private &lt;quote&gt;sandbox&lt;/quote&gt; that
-      keeps it from intermingling with your operating system and its
-      vendor-supplied software to prevent them from becoming corrupted.&lt;/para&gt;
-    &lt;/listitem&gt;
</del><ins>+        &lt;listitem&gt;
+            &lt;para&gt;Confines ported software to a private &lt;quote&gt;sandbox&lt;/quote&gt; that keeps it from intermingling with
+                your operating system and its vendor-supplied software to prevent them from becoming corrupted.&lt;/para&gt;
+        &lt;/listitem&gt;
</ins><span class="cx"> 
</span><del>-    &lt;listitem&gt;
-      &lt;para&gt;Allows you to create pre-compiled binary installers of ported
-      applications to quickly install software on remote computers without
-      compiling from source code.&lt;/para&gt;
-    &lt;/listitem&gt;
-  &lt;/itemizedlist&gt;
</del><ins>+        &lt;listitem&gt;
+            &lt;para&gt;Allows you to create pre-compiled binary installers of ported applications to quickly install software
+                on remote computers without compiling from source code.&lt;/para&gt;
+        &lt;/listitem&gt;
+    &lt;/itemizedlist&gt;
</ins><span class="cx"> 
</span><del>-  &lt;para&gt;MacPorts is developed on OS X, though it is designed to be portable so
-  it can work on other Unix-like systems, especially those descended from the
-  Berkeley Software Distribution (BSD). In practice, installing ports only works
-  on OS X. MacPorts base can be compiled on Linux (and possibly other
-  POSIX-compatible systems) where it is mainly used to set up mirrors and
-  generate portindices.&lt;/para&gt;
</del><ins>+    &lt;para&gt;MacPorts is developed on OS X, though it is designed to be portable so it can work on other Unix-like systems,
+        especially those descended from the Berkeley Software Distribution (BSD). In practice, installing ports only
+        works on OS X. MacPorts base can be compiled on Linux (and possibly other POSIX-compatible systems) where it is
+        mainly used to set up mirrors and generate support files for installations on OS X.&lt;/para&gt;
</ins><span class="cx"> 
</span><del>-  &lt;para&gt;The following notational conventions are used in the MacPorts Guide to
-  distinguish between terminal input/output, file text, and other special text
-  types.&lt;/para&gt;
</del><ins>+    &lt;para&gt;The following notational conventions are used in the MacPorts Guide to distinguish between terminal
+        input/output, file text, and other special text types.&lt;/para&gt;
</ins><span class="cx"> 
</span><del>-  &lt;itemizedlist&gt;
-    &lt;listitem&gt;
-      &lt;para&gt;Terminal I/O and file text.&lt;/para&gt;
</del><ins>+    &lt;itemizedlist&gt;
+        &lt;listitem&gt;
+            &lt;para&gt;Terminal I/O and file text.&lt;/para&gt;
</ins><span class="cx"> 
</span><del>-      &lt;programlisting&gt;&lt;prompt&gt;%% &lt;/prompt&gt;&lt;userinput&gt;Commands to be typed into a terminal window.&lt;/userinput&gt;&lt;/programlisting&gt;
</del><ins>+            &lt;programlisting&gt;&lt;prompt&gt;$ &lt;/prompt&gt;&lt;userinput&gt;Commands to be typed into a terminal window.&lt;/userinput&gt;&lt;/programlisting&gt;
+            &lt;screen&gt;Command output to a terminal window.&lt;/screen&gt;
+            &lt;programlisting&gt;File text.&lt;/programlisting&gt;
+        &lt;/listitem&gt;
</ins><span class="cx"> 
</span><del>-      &lt;screen&gt;Command output to a terminal window.&lt;/screen&gt;
-
-      &lt;programlisting&gt;File text.&lt;/programlisting&gt;
-    &lt;/listitem&gt;
-
-    &lt;listitem&gt;
-      &lt;para&gt;Other special text types.&lt;/para&gt;
-
-      &lt;itemizedlist&gt;
</del><span class="cx">         &lt;listitem&gt;
</span><del>-          &lt;para&gt;A hyperlink: &lt;ulink
-              url=&quot;http://en.wikipedia.org/wiki/Spontaneous_combustion&quot;&gt;spontaneous
-              combustion&lt;/ulink&gt;.&lt;/para&gt;
</del><ins>+            &lt;para&gt;Other special text types.&lt;/para&gt;
+
+            &lt;itemizedlist&gt;
+                &lt;listitem&gt;
+                    &lt;para&gt;A hyperlink: &lt;ulink url=&quot;http://en.wikipedia.org/wiki/Spontaneous_combustion&quot;&gt;spontaneous
+                            combustion&lt;/ulink&gt;.&lt;/para&gt;
+                &lt;/listitem&gt;
+                &lt;listitem&gt;
+                    &lt;para&gt;A file: &lt;filename&gt;/var/log/system.log&lt;/filename&gt;.&lt;/para&gt;
+                &lt;/listitem&gt;
+                &lt;listitem&gt;
+                    &lt;para&gt;A command: &lt;command&gt;ifconfig&lt;/command&gt;.&lt;/para&gt;
+                &lt;/listitem&gt;
+                &lt;listitem&gt;
+                    &lt;para&gt;An option: port &lt;option&gt;install&lt;/option&gt;&lt;/para&gt;
+                &lt;/listitem&gt;
+            &lt;/itemizedlist&gt;
</ins><span class="cx">         &lt;/listitem&gt;
</span><del>-        &lt;listitem&gt;
-          &lt;para&gt;A file: &lt;filename&gt;/var/log/system.log&lt;/filename&gt;.&lt;/para&gt;
-        &lt;/listitem&gt;
-        &lt;listitem&gt;
-          &lt;para&gt;A command: &lt;command&gt;ifconfig&lt;/command&gt;.&lt;/para&gt;
-        &lt;/listitem&gt;
-        &lt;listitem&gt;
-          &lt;para&gt;An option: port &lt;option&gt;install&lt;/option&gt;&lt;/para&gt;
-        &lt;/listitem&gt;
-      &lt;/itemizedlist&gt;
-    &lt;/listitem&gt;
-  &lt;/itemizedlist&gt;
</del><ins>+    &lt;/itemizedlist&gt;
</ins><span class="cx"> &lt;/chapter&gt;
</span></span></pre>
</div>
</div>

</body>
</html>