perl-begin / lib / sgml / shlomif-docbook / xsl-5-stylesheets / shlomif-db5-xhtml-mydocbook.xsl

Diff from to

lib/sgml/shlomif-docbook/xsl-5-stylesheets/shlomif-db5-xhtml-mydocbook.xsl

 
     <xsl:import href="shlomif-essays-5-xhtml-common.xsl" />
 
+
+    <!-- Ok, using the onechunk parameter makes this all work again. -->
+    <!-- It does have the disadvantage that it only works for documents that have -->
+    <!-- a root element that is considered a chunk by the chunk.xsl stylesheet. -->
+    <!-- Ideally, onechunk would let anything be a chunk. But not today. -->
+
+    <xsl:param name="onechunk" select="1"/>
+    <xsl:param name="suppress.navigation">1</xsl:param>
+
+    <xsl:template name="href.target.uri">
+        <xsl:param name="object" select="."/>
+        <xsl:text>#</xsl:text>
+        <xsl:call-template name="object.id">
+            <xsl:with-param name="object" select="$object"/>
+        </xsl:call-template>
+    </xsl:template>
+
     <!-- Avoid Generating a Table-of-Contents-->
     <xsl:param name="generate.toc">
         article toc
 <xsl:template name="generate.html.title">
 </xsl:template>
 
+<!--
 <xsl:template match="d:article" priority="1">
     <xsl:call-template name="id.warning"/>
 
         <xsl:call-template name="process.footnotes"/>
     </xsl:element>
 </xsl:template>
+-->
 
 </xsl:stylesheet>
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.