OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


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


/ 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 |


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC