]> granicus.if.org Git - docbook-dsssl/commitdiff
Add support for title in screenshot, available since DocBook 5.
authorBob Stayton <bobs@sagehill.net>
Sun, 1 Jul 2012 23:46:52 +0000 (23:46 +0000)
committerBob Stayton <bobs@sagehill.net>
Sun, 1 Jul 2012 23:46:52 +0000 (23:46 +0000)
xsl/html/graphics.xsl
xsl/html/xref.xsl

index 127a4d0fa8b3ef24eb1a03962ca3c23539f91cdf..35c55e3f23e52727d77a1ab05753fc6d485d6902 100644 (file)
   <div>
     <xsl:apply-templates select="." mode="common.html.attributes"/>
     <xsl:call-template name="id.attribute"/>
+    <xsl:call-template name="anchor"/>
     <xsl:apply-templates/>
   </div>
 </xsl:template>
 
+<xsl:template match="screenshot/title">
+  <xsl:call-template name="formal.object.heading">
+    <xsl:with-param name="object" select=".."/>
+  </xsl:call-template>
+</xsl:template>
+
 <xsl:template match="screeninfo">
 </xsl:template>
 
index fee2266c718ba08c0ea55039c90dc3d099266c4e..bfc1eed633f9d18241f8a52b4232f80ab6171fba 100644 (file)
                      |constraintdef|formalpara|glossdiv|important|indexdiv
                      |itemizedlist|legalnotice|lot|msg|msgexplan|msgmain
                      |msgrel|msgset|msgsub|note|orderedlist|partintro
-                     |productionset|qandadiv|refsynopsisdiv|segmentedlist
+                     |productionset|qandadiv|refsynopsisdiv|screenshot|segmentedlist
                      |set|setindex|sidebar|tip|toc|variablelist|warning"
               mode="xref-to">
   <xsl:param name="referrer"/>