Export external raster graphics as png for XHTML.

(cherry picked from commit 681e76086a)
This commit is contained in:
Richard Heck 2016-07-31 00:41:23 -04:00
parent deb6c1de06
commit 9f852516e8

View File

@ -147,6 +147,12 @@ Template RasterImage
ReferencedFile docbook "$$AbsPath$$Basename.eps" ReferencedFile docbook "$$AbsPath$$Basename.eps"
ReferencedFile docbook-xml "$$AbsPath$$Basename.eps" ReferencedFile docbook-xml "$$AbsPath$$Basename.eps"
FormatEnd FormatEnd
Format XHTML
Product "<img src=\"$$AbsOrRelPathMaster$$Basename.png\" />"
UpdateFormat png
UpdateResult "$$AbsPath$$Basename.png"
ReferencedFile xhtml "$$AbsPath$$Basename.png"
FormatEnd
TemplateEnd TemplateEnd
Template VectorGraphics Template VectorGraphics