chiark / gitweb /
man: drop references to "cgroup" wher appropriate
[elogind.git] / man / custom-html.xsl
index 2e40ab16602a9bee757412b4da50da35dd2e2e94..060af2e56a756a7ed1add210d0911a06f2fac530 100644 (file)
@@ -48,7 +48,6 @@
         <xsl:text>Permalink to this headline</xsl:text>
       </xsl:attribute>
       <xsl:attribute name="href">
-        <!--        <xsl:call-template name="href.target.uri" /> -->
         <xsl:text>#</xsl:text>
         <xsl:call-template name="inline.charseq"/>
       </xsl:attribute>
   </h2>
 </xsl:template>
 
+<xsl:template match="refsect2/title|refsect2/info/title">
+  <h3>
+    <xsl:attribute name="id">
+      <xsl:call-template name="inline.charseq"/>
+    </xsl:attribute>
+    <xsl:apply-templates/>
+    <a>
+      <xsl:attribute name="class">
+        <xsl:text>headerlink</xsl:text>
+      </xsl:attribute>
+      <xsl:attribute name="title">
+        <xsl:text>Permalink to this headline</xsl:text>
+      </xsl:attribute>
+      <xsl:attribute name="href">
+        <xsl:text>#</xsl:text>
+        <xsl:call-template name="inline.charseq"/>
+      </xsl:attribute>
+      <xsl:text>ΒΆ</xsl:text>
+    </a>
+  </h3>
+</xsl:template>
+
 <xsl:template match="varlistentry">
   <dt>
     <xsl:attribute name="id">
   <hr/>
 </xsl:template>
 
+<xsl:template match="literal">
+  <xsl:text>"</xsl:text>
+  <xsl:call-template name="inline.monoseq"/>
+  <xsl:text>"</xsl:text>
+</xsl:template>
+
 <!-- Switch things to UTF-8, ISO-8859-1 is soo yesteryear -->
 <xsl:output method="html" encoding="UTF-8" indent="no"/>