Next in thread → Next in month →

Re: DOCBOOK-APPS: problem w/tiff images and fo output

From
Bob Stayton <>
Date
2002-02-22T17:21:56+00:00
ID
Thread
Re: DOCBOOK-APPS: problem w/tiff images and fo output
On Fri, Feb 22, 2002 at 04:08:26AM -0500, Stephen Bannasch wrote:
> using v1.49 of the xsl stylesheets
> 
> I have the following figure defined:
> 
> <figure><title>CCSmartWheel</title>
>     <mediaobject>
>       <imageobject>
> 	<imagedata fileref="images/tiff/smartwheel.tiff" format="TIFF"/>
>       </imageobject>
>       <textobject>
> 	<phrase>CCSmartWheel</phrase>
>       </textobject>
>     </mediaobject>
> </figure>
> 
> When output to fo no <fo:external-graphic> element is generated.  If I replace the tiff spec with one for a png it works.

It appears that TIFF files are not supported in
the current DocBook XSL stylesheets.  The test
for graphics format looks like this in graphics.xsl:

<xsl:template name="is.graphic.format">
  <xsl:param name="format"></xsl:param>
  <xsl:if test="$format = 'PNG'
                or $format = 'JPG'
                or $format = 'JPEG'
                or $format = 'linespecific'
                or $format = 'GIF'
                or $format = 'GIF87a'
                or $format = 'GIF89a'
                or $format = 'BMP'">1</xsl:if>
</xsl:template>
                  
I'd suggest you file a sourceforge feature request to get
tiff added.

-- 

Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
Caldera International, Inc.                 fax:   (831) 429-1887
                                            email: 
Next in thread → Next in month →