commit deb6c1de06be512dbdc2ce4ee8fa460385815ded
Author: Richard Heck <[email protected]>
Date: Sun Jul 31 00:40:16 2016 -0400
Export external vector graphics as svg for XHTML.
(cherry picked from commit b9f7bf7d69c8c5e5391c59a9956377c742ca60de)
---
lib/external_templates | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/lib/external_templates b/lib/external_templates
index 0f8fcab..460d951 100644
--- a/lib/external_templates
+++ b/lib/external_templates
@@ -212,6 +212,12 @@ Template VectorGraphics
ReferencedFile docbook "$$AbsPath$$Basename.eps"
ReferencedFile docbook-xml "$$AbsPath$$Basename.eps"
FormatEnd
+ Format XHTML
+ Product "<img src=\"$$AbsOrRelPathMaster$$Basename.svg\" />"
+ UpdateFormat svg
+ UpdateResult "$$AbsPath$$Basename.svg"
+ ReferencedFile xhtml "$$AbsPath$$Basename.svg"
+ FormatEnd
TemplateEnd
Template XFig