This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: problem w/tiff images and fo output
- From: Norman Walsh <ndw at nwalsh dot com>
- To: Stephen Bannasch <stephen at concord dot org>
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Thu, 28 Feb 2002 23:56:59 +0100
- Subject: DOCBOOK-APPS: Re: problem w/tiff images and fo output
- References: <p05101213b89bb98ddaa6@[12.64.102.143]>
/ Stephen Bannasch <stephen@concord.org> was heard to say:
| 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>
Put these templates in your customization layer. Fixed...but not yet in CVS.
<xsl:template name="is.graphic.format">
<xsl:param name="format"></xsl:param>
<xsl:if test="$format = 'PNG'
or $format = 'PDF'
or $format = 'JPG'
or $format = 'JPEG'
or $format = 'linespecific'
or $format = 'GIF'
or $format = 'GIF87a'
or $format = 'GIF89a'
or $format = 'TIFF'
or $format = 'BMP'">1</xsl:if>
</xsl:template>
<xsl:template name="is.graphic.extension">
<xsl:param name="ext"></xsl:param>
<xsl:if test="$ext = 'png'
or $ext = 'pdf'
or $ext = 'jpeg'
or $ext = 'jpg'
or $ext = 'gif'
or $ext = 'tif'
or $ext = 'tiff'
or $ext = 'bmp'">1</xsl:if>
</xsl:template>
Be seeing you,
norm
--
Norman Walsh <ndw@nwalsh.com> | One does what one is; one becomes
http://www.oasis-open.org/docbook/ | what one does.--Robert Musil
Chair, DocBook Technical Committee |