r943 - in trunk/BOOK: . prologue/alpha prologue/mips prologue/mips64 prologue/mips64-64 prologue/ppc prologue/sparc prologue/sparc64 prologue/sparc64-64 prologue/sparcv8 prologue/x86 prologue/x86_64 prologue/x86_64-64 stylesheets stylesheets/xhtml

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Tue Dec 20 12:49:35 PST 2005


Author: manuel
Date: 2005-12-20 13:49:34 -0700 (Tue, 20 Dec 2005)
New Revision: 943

Modified:
   trunk/BOOK/index.xml
   trunk/BOOK/prologue/alpha/bookinfo.xml
   trunk/BOOK/prologue/mips/bookinfo.xml
   trunk/BOOK/prologue/mips64-64/bookinfo.xml
   trunk/BOOK/prologue/mips64/bookinfo.xml
   trunk/BOOK/prologue/ppc/bookinfo.xml
   trunk/BOOK/prologue/sparc/bookinfo.xml
   trunk/BOOK/prologue/sparc64-64/bookinfo.xml
   trunk/BOOK/prologue/sparc64/bookinfo.xml
   trunk/BOOK/prologue/sparcv8/bookinfo.xml
   trunk/BOOK/prologue/x86/bookinfo.xml
   trunk/BOOK/prologue/x86_64-64/bookinfo.xml
   trunk/BOOK/prologue/x86_64/bookinfo.xml
   trunk/BOOK/stylesheets/top-index.xsl
   trunk/BOOK/stylesheets/xhtml/lfs-mixed.xsl
Log:
Changed book's title and copyright.

Modified: trunk/BOOK/index.xml
===================================================================
--- trunk/BOOK/index.xml	2005-12-20 15:50:56 UTC (rev 942)
+++ trunk/BOOK/index.xml	2005-12-20 20:49:34 UTC (rev 943)
@@ -6,19 +6,27 @@
 ]>
 
 <bookinfo>
-  <title>Linux From Scratch</title>
+  <title>Cross-Compiled Linux From Scratch</title>
   <subtitle>Version &version;</subtitle>
 
   <authorgroup>
     <author>
-      <firstname>Gerard</firstname>
-      <surname>Beekmans</surname>
+      <firstname>Jim</firstname>
+      <surname>Gifford</surname>
     </author>
+    <author>
+      <firstname>Ryan</firstname>
+      <surname>Oliver</surname>
+    </author>
   </authorgroup>
 
   <copyright id="copyright">
-    <year>1999–2005</year>
-    <holder>Gerard Beekmans</holder>
+    <year>2005</year>
+    <holder>Jim Gifford & Ryan Oliver</holder>
   </copyright>
 
+  <bibliosource>
+    <emphasis>Based on LFS, Copyright © 1999–2005 Gerard Beekmans</emphasis>
+  </bibliosource>
+
 </bookinfo>

Modified: trunk/BOOK/prologue/alpha/bookinfo.xml
===================================================================
--- trunk/BOOK/prologue/alpha/bookinfo.xml	2005-12-20 15:50:56 UTC (rev 942)
+++ trunk/BOOK/prologue/alpha/bookinfo.xml	2005-12-20 20:49:34 UTC (rev 943)
@@ -6,7 +6,11 @@
 ]>
 
 <bookinfo>
-  <title>Linux From Scratch</title>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../x86/bookinfo.xml"
+  xpointer="xpointer(/bookinfo/title)"/>
+  
   <subtitle>Version &version-alpha;</subtitle>
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
@@ -19,6 +23,10 @@
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
   href="../x86/bookinfo.xml"
+  xpointer="xpointer(bookinfo/bibliosource)"/>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../x86/bookinfo.xml"
   xpointer="xpointer(/bookinfo/legalnotice)"/>
 
 </bookinfo>

Modified: trunk/BOOK/prologue/mips/bookinfo.xml
===================================================================
--- trunk/BOOK/prologue/mips/bookinfo.xml	2005-12-20 15:50:56 UTC (rev 942)
+++ trunk/BOOK/prologue/mips/bookinfo.xml	2005-12-20 20:49:34 UTC (rev 943)
@@ -6,7 +6,11 @@
 ]>
 
 <bookinfo>
-  <title>Linux From Scratch</title>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../x86/bookinfo.xml"
+  xpointer="xpointer(/bookinfo/title)"/>
+  
   <subtitle>Version &version-mips;</subtitle>
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
@@ -19,6 +23,10 @@
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
   href="../x86/bookinfo.xml"
+  xpointer="xpointer(bookinfo/bibliosource)"/>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../x86/bookinfo.xml"
   xpointer="xpointer(/bookinfo/legalnotice)"/>
 
 </bookinfo>

Modified: trunk/BOOK/prologue/mips64/bookinfo.xml
===================================================================
--- trunk/BOOK/prologue/mips64/bookinfo.xml	2005-12-20 15:50:56 UTC (rev 942)
+++ trunk/BOOK/prologue/mips64/bookinfo.xml	2005-12-20 20:49:34 UTC (rev 943)
@@ -6,7 +6,11 @@
 ]>
 
 <bookinfo>
-  <title>Linux From Scratch</title>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../x86/bookinfo.xml"
+  xpointer="xpointer(/bookinfo/title)"/>
+  
   <subtitle>Version &version-mips64;</subtitle>
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
@@ -19,6 +23,10 @@
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
   href="../x86/bookinfo.xml"
+  xpointer="xpointer(bookinfo/bibliosource)"/>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../x86/bookinfo.xml"
   xpointer="xpointer(/bookinfo/legalnotice)"/>
 
 </bookinfo>

Modified: trunk/BOOK/prologue/mips64-64/bookinfo.xml
===================================================================
--- trunk/BOOK/prologue/mips64-64/bookinfo.xml	2005-12-20 15:50:56 UTC (rev 942)
+++ trunk/BOOK/prologue/mips64-64/bookinfo.xml	2005-12-20 20:49:34 UTC (rev 943)
@@ -6,7 +6,11 @@
 ]>
 
 <bookinfo>
-  <title>Linux From Scratch</title>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../x86/bookinfo.xml"
+  xpointer="xpointer(/bookinfo/title)"/>
+  
   <subtitle>Version &version-mips64-64;</subtitle>
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
@@ -19,6 +23,10 @@
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
   href="../x86/bookinfo.xml"
+  xpointer="xpointer(bookinfo/bibliosource)"/>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../x86/bookinfo.xml"
   xpointer="xpointer(/bookinfo/legalnotice)"/>
 
 </bookinfo>

Modified: trunk/BOOK/prologue/ppc/bookinfo.xml
===================================================================
--- trunk/BOOK/prologue/ppc/bookinfo.xml	2005-12-20 15:50:56 UTC (rev 942)
+++ trunk/BOOK/prologue/ppc/bookinfo.xml	2005-12-20 20:49:34 UTC (rev 943)
@@ -6,7 +6,11 @@
 ]>
 
 <bookinfo>
-  <title>Linux From Scratch</title>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../x86/bookinfo.xml"
+  xpointer="xpointer(/bookinfo/title)"/>
+  
   <subtitle>Version &version-ppc;</subtitle>
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
@@ -19,6 +23,10 @@
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
   href="../x86/bookinfo.xml"
+  xpointer="xpointer(bookinfo/bibliosource)"/>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../x86/bookinfo.xml"
   xpointer="xpointer(/bookinfo/legalnotice)"/>
 
 </bookinfo>

Modified: trunk/BOOK/prologue/sparc/bookinfo.xml
===================================================================
--- trunk/BOOK/prologue/sparc/bookinfo.xml	2005-12-20 15:50:56 UTC (rev 942)
+++ trunk/BOOK/prologue/sparc/bookinfo.xml	2005-12-20 20:49:34 UTC (rev 943)
@@ -6,7 +6,11 @@
 ]>
 
 <bookinfo>
-  <title>Linux From Scratch</title>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../x86/bookinfo.xml"
+  xpointer="xpointer(/bookinfo/title)"/>
+  
   <subtitle>Version &version-sparc;</subtitle>
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
@@ -19,6 +23,10 @@
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
   href="../x86/bookinfo.xml"
+  xpointer="xpointer(bookinfo/bibliosource)"/>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../x86/bookinfo.xml"
   xpointer="xpointer(/bookinfo/legalnotice)"/>
 
 </bookinfo>

Modified: trunk/BOOK/prologue/sparc64/bookinfo.xml
===================================================================
--- trunk/BOOK/prologue/sparc64/bookinfo.xml	2005-12-20 15:50:56 UTC (rev 942)
+++ trunk/BOOK/prologue/sparc64/bookinfo.xml	2005-12-20 20:49:34 UTC (rev 943)
@@ -6,7 +6,11 @@
 ]>
 
 <bookinfo>
-  <title>Linux From Scratch</title>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../x86/bookinfo.xml"
+  xpointer="xpointer(/bookinfo/title)"/>
+
   <subtitle>Version &version-sparc64;</subtitle>
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
@@ -19,6 +23,10 @@
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
   href="../x86/bookinfo.xml"
+  xpointer="xpointer(bookinfo/bibliosource)"/>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../x86/bookinfo.xml"
   xpointer="xpointer(/bookinfo/legalnotice)"/>
 
 </bookinfo>

Modified: trunk/BOOK/prologue/sparc64-64/bookinfo.xml
===================================================================
--- trunk/BOOK/prologue/sparc64-64/bookinfo.xml	2005-12-20 15:50:56 UTC (rev 942)
+++ trunk/BOOK/prologue/sparc64-64/bookinfo.xml	2005-12-20 20:49:34 UTC (rev 943)
@@ -6,7 +6,11 @@
 ]>
 
 <bookinfo>
-  <title>Linux From Scratch</title>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../x86/bookinfo.xml"
+  xpointer="xpointer(/bookinfo/title)"/>
+
   <subtitle>Version &version-sparc64-64;</subtitle>
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
@@ -19,6 +23,10 @@
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
   href="../x86/bookinfo.xml"
+  xpointer="xpointer(bookinfo/bibliosource)"/>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../x86/bookinfo.xml"
   xpointer="xpointer(/bookinfo/legalnotice)"/>
 
 </bookinfo>

Modified: trunk/BOOK/prologue/sparcv8/bookinfo.xml
===================================================================
--- trunk/BOOK/prologue/sparcv8/bookinfo.xml	2005-12-20 15:50:56 UTC (rev 942)
+++ trunk/BOOK/prologue/sparcv8/bookinfo.xml	2005-12-20 20:49:34 UTC (rev 943)
@@ -6,7 +6,11 @@
 ]>
 
 <bookinfo>
-  <title>Linux From Scratch</title>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../x86/bookinfo.xml"
+  xpointer="xpointer(/bookinfo/title)"/>
+
   <subtitle>Version &version-sparcv8;</subtitle>
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
@@ -19,6 +23,10 @@
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
   href="../x86/bookinfo.xml"
+  xpointer="xpointer(bookinfo/bibliosource)"/>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../x86/bookinfo.xml"
   xpointer="xpointer(/bookinfo/legalnotice)"/>
 
 </bookinfo>

Modified: trunk/BOOK/prologue/x86/bookinfo.xml
===================================================================
--- trunk/BOOK/prologue/x86/bookinfo.xml	2005-12-20 15:50:56 UTC (rev 942)
+++ trunk/BOOK/prologue/x86/bookinfo.xml	2005-12-20 20:49:34 UTC (rev 943)
@@ -6,23 +6,27 @@
 ]>
 
 <bookinfo>
-  <title>Linux From Scratch</title>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../../index.xml"
+  xpointer="xpointer(/bookinfo/title)"/>
+
   <subtitle>Version &version-x86;</subtitle>
 
-  <authorgroup>
-    <author>
-      <firstname>Gerard</firstname>
-      <surname>Beekmans</surname>
-    </author>
-  </authorgroup>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../../index.xml"
+  xpointer="xpointer(/bookinfo/authorgroup)"/>
 
-  <copyright id="copyright">
-    <year>1999–2005</year>
-    <holder>Gerard Beekmans</holder>
-  </copyright>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../../index.xml"
+  xpointer="xpointer(/bookinfo/copyright)"/>
 
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../../index.xml"
+  xpointer="xpointer(bookinfo/bibliosource)"/>
+
   <legalnotice>
-    <para>Copyright (c) 1999–2005, Gerard Beekmans</para>
+    <para>Copyright (c) 2005, Jim Gifford & Ryan Oliver</para>
 
     <para>All rights reserved.</para>
 

Modified: trunk/BOOK/prologue/x86_64/bookinfo.xml
===================================================================
--- trunk/BOOK/prologue/x86_64/bookinfo.xml	2005-12-20 15:50:56 UTC (rev 942)
+++ trunk/BOOK/prologue/x86_64/bookinfo.xml	2005-12-20 20:49:34 UTC (rev 943)
@@ -6,7 +6,11 @@
 ]>
 
 <bookinfo>
-  <title>Linux From Scratch</title>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../x86/bookinfo.xml"
+  xpointer="xpointer(/bookinfo/title)"/>
+
   <subtitle>Version &version-x86_64;</subtitle>
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
@@ -19,6 +23,10 @@
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
   href="../x86/bookinfo.xml"
+  xpointer="xpointer(bookinfo/bibliosource)"/>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../x86/bookinfo.xml"
   xpointer="xpointer(/bookinfo/legalnotice)"/>
 
 </bookinfo>

Modified: trunk/BOOK/prologue/x86_64-64/bookinfo.xml
===================================================================
--- trunk/BOOK/prologue/x86_64-64/bookinfo.xml	2005-12-20 15:50:56 UTC (rev 942)
+++ trunk/BOOK/prologue/x86_64-64/bookinfo.xml	2005-12-20 20:49:34 UTC (rev 943)
@@ -6,7 +6,11 @@
 ]>
 
 <bookinfo>
-  <title>Linux From Scratch</title>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../x86/bookinfo.xml"
+  xpointer="xpointer(/bookinfo/title)"/>
+
   <subtitle>Version &version-x86_64-64;</subtitle>
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
@@ -19,6 +23,10 @@
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
   href="../x86/bookinfo.xml"
+  xpointer="xpointer(bookinfo/bibliosource)"/>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../x86/bookinfo.xml"
   xpointer="xpointer(/bookinfo/legalnotice)"/>
 
 </bookinfo>

Modified: trunk/BOOK/stylesheets/top-index.xsl
===================================================================
--- trunk/BOOK/stylesheets/top-index.xsl	2005-12-20 15:50:56 UTC (rev 942)
+++ trunk/BOOK/stylesheets/top-index.xsl	2005-12-20 20:49:34 UTC (rev 943)
@@ -229,10 +229,15 @@
   <xsl:template match="authorgroup">
     <div class="authorgroup">
       <h3 class="author">
-        <xsl:value-of select="author/firstname"/>
+        <xsl:value-of select="author[1]/firstname"/>
         <xsl:text> </xsl:text>
-        <xsl:value-of select="author/surname"/>
+        <xsl:value-of select="author[1]/surname"/>
       </h3>
+      <h3 class="author">
+        <xsl:value-of select="author[2]/firstname"/>
+        <xsl:text> </xsl:text>
+        <xsl:value-of select="author[2]/surname"/>
+      </h3>
     </div>
   </xsl:template>
 
@@ -253,6 +258,16 @@
     <xsl:value-of select="."/>
   </xsl:template>
 
+  <xsl:template match="bibliosource">
+    <div>
+      <p class="copyright">
+        <em>
+          <xsl:apply-templates/>
+        </em>
+      </p>
+    </div>
+  </xsl:template>
+
   <xsl:template match="subtitle|author|firstname|surname|legalnotice"/>
 
 </xsl:stylesheet>

Modified: trunk/BOOK/stylesheets/xhtml/lfs-mixed.xsl
===================================================================
--- trunk/BOOK/stylesheets/xhtml/lfs-mixed.xsl	2005-12-20 15:50:56 UTC (rev 942)
+++ trunk/BOOK/stylesheets/xhtml/lfs-mixed.xsl	2005-12-20 20:49:34 UTC (rev 943)
@@ -182,4 +182,63 @@
     </em>
   </xsl:template>
 
+  <!-- Adding bibliosource to titlepage -->
+  <xsl:template name="book.titlepage.recto">
+    <xsl:choose>
+      <xsl:when test="bookinfo/title">
+        <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/title"/>
+      </xsl:when>
+      <xsl:when test="info/title">
+        <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/title"/>
+      </xsl:when>
+      <xsl:when test="title">
+        <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="title"/>
+      </xsl:when>
+    </xsl:choose>
+
+    <xsl:choose>
+      <xsl:when test="bookinfo/subtitle">
+        <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/subtitle"/>
+      </xsl:when>
+      <xsl:when test="info/subtitle">
+        <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/subtitle"/>
+      </xsl:when>
+      <xsl:when test="subtitle">
+        <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="subtitle"/>
+      </xsl:when>
+    </xsl:choose>
+
+    <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/corpauthor"/>
+    <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/corpauthor"/>
+    <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/authorgroup"/>
+    <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/authorgroup"/>
+    <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/author"/>
+    <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/author"/>
+    <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/othercredit"/>
+    <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/othercredit"/>
+    <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/releaseinfo"/>
+    <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/releaseinfo"/>
+    <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/copyright"/>
+    <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/copyright"/>
+    <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/bibliosource"/>
+    <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/legalnotice"/>
+    <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/legalnotice"/>
+    <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/pubdate"/>
+    <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/pubdate"/>
+    <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/revision"/>
+    <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/revision"/>
+    <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/revhistory"/>
+    <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/revhistory"/>
+    <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/abstract"/>
+    <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/abstract"/>
+  </xsl:template>
+
+  <xsl:template match="bibliosource" mode="book.titlepage.recto.auto.mode">
+    <div>
+      <p class="copyright">
+        <xsl:apply-templates/>
+      </p>
+    </div>
+  </xsl:template>
+
 </xsl:stylesheet>




More information about the cross-lfs mailing list