r8151 - in branches/new-xsl: . docbook-xsl-snapshot docbook-xsl-snapshot/fo docbook-xsl-snapshot/xhtml

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Thu Jun 7 11:05:04 PDT 2007


Author: manuel
Date: 2007-06-07 12:05:03 -0600 (Thu, 07 Jun 2007)
New Revision: 8151

Removed:
   branches/new-xsl/docbook-xsl-snapshot/fo/fo-patch-for-fop.xsl
Modified:
   branches/new-xsl/docbook-xsl-snapshot/VERSION
   branches/new-xsl/docbook-xsl-snapshot/xhtml/lists.xsl
   branches/new-xsl/docbook-xsl-snapshot/xhtml/qandaset.xsl
   branches/new-xsl/lfs.css
Log:
Updated docbook-xsl-snapshot to r6830

Modified: branches/new-xsl/docbook-xsl-snapshot/VERSION
===================================================================
--- branches/new-xsl/docbook-xsl-snapshot/VERSION	2007-06-06 17:53:39 UTC (rev 8150)
+++ branches/new-xsl/docbook-xsl-snapshot/VERSION	2007-06-07 18:05:03 UTC (rev 8151)
@@ -17,7 +17,7 @@
 <fm:project>
   <fm:Project>DocBook</fm:Project>
   <fm:Branch>XSL Stylesheets</fm:Branch>
-  <fm:Version>snapshot_6823</fm:Version>
+  <fm:Version>snapshot_6830</fm:Version>
 <!--
   <fm:License>MIT/X Consortium License</fm:License>
 -->

Deleted: branches/new-xsl/docbook-xsl-snapshot/fo/fo-patch-for-fop.xsl
===================================================================
--- branches/new-xsl/docbook-xsl-snapshot/fo/fo-patch-for-fop.xsl	2007-06-06 17:53:39 UTC (rev 8150)
+++ branches/new-xsl/docbook-xsl-snapshot/fo/fo-patch-for-fop.xsl	2007-06-07 18:05:03 UTC (rev 8151)
@@ -1,64 +0,0 @@
-<?xml version="1.0"?>
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-                xmlns:fo="http://www.w3.org/1999/XSL/Format"
-                xmlns:fox="http://xml.apache.org/fop/extensions"
-                version="1.0">
-
-<!-- ********************************************************************
-     $Id$
-     ********************************************************************
-
-     This file is part of the DocBook XSL Stylesheet distribution.
-     See ../README or http://docbook.sf.net/ for copyright
-     and other information.
-
-     ******************************************************************** -->
-
-<xsl:output method="xml"/>
-
-<xsl:template match="*">
-  <xsl:element name="{name(.)}">
-    <xsl:copy-of select="@*"/>
-    <xsl:apply-templates/>
-  </xsl:element>
-</xsl:template>
-
-<xsl:template match="fo:page-sequence
-                     |fo:single-page-master-reference
-                     |fo:repeatable-page-master-reference
-                     |fo:conditional-page-master-reference">
-  <xsl:element name="{name(.)}">
-    <xsl:for-each select="@*">
-      <xsl:choose>
-        <xsl:when test="name(.) = 'master-reference'">
-          <xsl:attribute name="master-name">
-            <xsl:value-of select="."/>
-          </xsl:attribute>
-        </xsl:when>
-        <xsl:otherwise>
-          <xsl:attribute name="{name(.)}">
-            <xsl:value-of select="."/>
-          </xsl:attribute>
-        </xsl:otherwise>
-      </xsl:choose>
-    </xsl:for-each>
-    <xsl:apply-templates/>
-  </xsl:element>
-</xsl:template>
-
-<!-- a clever idea that doesn't quite work. fop 0.20.1 doesn't understand % -->
-<!-- and fop 0.20.2 doesn't work for me at all... -->
-<xsl:template match="fo:table-column">
-  <xsl:element name="{name(.)}">
-    <xsl:if test="not(@column-width)">
-      <xsl:attribute name="column-width">
-        <xsl:value-of select="100 div count(../fo:table-column)"/>
-        <xsl:text>%</xsl:text>
-      </xsl:attribute>
-    </xsl:if>
-    <xsl:copy-of select="@*"/>
-    <xsl:apply-templates/>
-  </xsl:element>
-</xsl:template>
-
-</xsl:stylesheet>

Modified: branches/new-xsl/docbook-xsl-snapshot/xhtml/lists.xsl
===================================================================
--- branches/new-xsl/docbook-xsl-snapshot/xhtml/lists.xsl	2007-06-06 17:53:39 UTC (rev 8150)
+++ branches/new-xsl/docbook-xsl-snapshot/xhtml/lists.xsl	2007-06-07 18:05:03 UTC (rev 8151)
@@ -354,6 +354,7 @@
     </xsl:call-template>
 
     <td>
+      <p>
       <xsl:call-template name="anchor"/>
       <xsl:choose>
         <xsl:when test="$presentation = 'bold'">
@@ -381,6 +382,7 @@
           <xsl:value-of select="$separator"/>
         </xsl:otherwise>
       </xsl:choose>
+      </p>
     </td>
     <td>
       <xsl:apply-templates select="listitem"/>
@@ -925,10 +927,12 @@
         </xsl:call-template>
 
         <td width="5%" valign="top" align="left">
-          <xsl:call-template name="anchor"/>
-          <xsl:call-template name="callout.arearefs">
-            <xsl:with-param name="arearefs" select="@arearefs"/>
-          </xsl:call-template>
+          <p>
+            <xsl:call-template name="anchor"/>
+            <xsl:call-template name="callout.arearefs">
+              <xsl:with-param name="arearefs" select="@arearefs"/>
+            </xsl:call-template>
+          </p>
         </td>
         <td valign="top" align="left">
           <xsl:apply-templates/>

Modified: branches/new-xsl/docbook-xsl-snapshot/xhtml/qandaset.xsl
===================================================================
--- branches/new-xsl/docbook-xsl-snapshot/xhtml/qandaset.xsl	2007-06-06 17:53:39 UTC (rev 8150)
+++ branches/new-xsl/docbook-xsl-snapshot/xhtml/qandaset.xsl	2007-06-07 18:05:03 UTC (rev 8151)
@@ -161,9 +161,9 @@
       </xsl:variable>
 
       <xsl:if test="string-length($label.content) > 0">
-        <b>
+        <p><b>
           <xsl:copy-of select="$label.content"/>
-        </b>
+        </b></p>
       </xsl:if>
     </td>
     <td align="left" valign="top">
@@ -198,9 +198,9 @@
         <xsl:apply-templates select="." mode="label.markup"/>
       </xsl:variable>
       <xsl:if test="string-length($answer.label) > 0">
-        <b>
+        <p><b>
           <xsl:copy-of select="$answer.label"/>
-        </b>
+        </b></p>
       </xsl:if>
     </td>
     <td align="left" valign="top">

Modified: branches/new-xsl/lfs.css
===================================================================
--- branches/new-xsl/lfs.css	2007-06-06 17:53:39 UTC (rev 8150)
+++ branches/new-xsl/lfs.css	2007-06-07 18:05:03 UTC (rev 8151)
@@ -357,11 +357,7 @@
   margin: 0.25em;
 }
 
-.variablelist td p {
-  margin-top: 0;
-}
 
-
 /* variablelist as list */
 dl {
   padding-left: 1em




More information about the lfs-book mailing list