This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: problem w/tiff images and fo output
- From: Bob Stayton <bobs at caldera dot com>
- To: Stephen Bannasch <stephen at concord dot org>, docbook-apps at lists dot oasis-open dot org
- Date: Fri, 22 Feb 2002 09:17:16 -0800
- Subject: Re: DOCBOOK-APPS: problem w/tiff images and fo output
- References: <p05101213b89bb98ddaa6@[12.64.102.143]>
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