commit b9f7bf7d69c8c5e5391c59a9956377c742ca60de
Author: Richard Heck <[email protected]>
Date: Sun Jul 31 00:40:16 2016 -0400
Export external vector graphics as svg for XHTML.
---
lib/external_templates | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/lib/external_templates b/lib/external_templates
index f37036f..8914530 100644
--- a/lib/external_templates
+++ b/lib/external_templates
@@ -208,6 +208,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