]> granicus.if.org Git - docbook-dsssl/commitdiff
Support Arbortext extensions--at the moment, just to turn off the url() stuff in...
authorNorman Walsh <ndw@nwalsh.com>
Wed, 13 Jun 2001 21:47:55 +0000 (21:47 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Wed, 13 Jun 2001 21:47:55 +0000 (21:47 +0000)
xsl/fo/graphics.xsl
xsl/fo/param.xsl

index f8df69c6673b3d5a37237de23e72a4adb5b7d59a..54d102fad52ed3448bfef83bf04d19a3a44c74b0 100644 (file)
@@ -80,6 +80,8 @@ FIXME: make is.graphic.* work correctly depending on the backend!
         <xsl:value-of select="unparsed-entity-uri(@entityref)"/>
       </xsl:when>
       <xsl:when test="@fileref">
+        <!-- FIXME: is this right? What if @fileref is a relative -->
+        <!-- URI? What if @fileref contains backslashes? -->
         <xsl:text>file:</xsl:text>
         <xsl:value-of select="@fileref"/>
       </xsl:when>
@@ -152,7 +154,8 @@ FIXME: make is.graphic.* work correctly depending on the backend!
 
   <xsl:choose>
     <xsl:when test="$passivetex.extensions != 0
-                    or $fop.extensions != 0">
+                    or $fop.extensions != 0
+                    or $arbortext.extensions != 0">
       <fo:external-graphic src="{$filename}"
                            content-width="{$width}"
                            content-height="{$height}"
index c176ddfb6c995df844d1573a862593e7e4efbe30..bb17c8ce12bd0b9b0a4221173472c0a91ac44446 100644 (file)
@@ -1107,6 +1107,19 @@ and sorted index terms.
 </refdescription>
 </doc:param>
 
+<!-- ==================================================================== -->
+<xsl:param name="arbortext.extensions" select="0" doc:type='boolean'/>
+
+<doc:param name="arbortext.extensions" xmlns="">
+<refpurpose>Enable Arbortext extensions?</refpurpose>
+<refdescription>
+<para>If non-zero,
+<ulink url="http://www.arbortext.com/">Arbortext</ulink>
+extensions will be used.
+</para>
+</refdescription>
+</doc:param>
+
 <!-- ==================================================================== -->
 <xsl:param name="fop.extensions" select="0" doc:type='boolean'/>