This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 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: bobs@caldera.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]