commit b35661b755bb6ef95716eb575561aac4009c140b
Author: Richard Heck <[email protected]>
Date: Sun Jul 31 00:36:46 2016 -0400
Enable XHTML export of LilyPond files.
---
lib/external_templates | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/lib/external_templates b/lib/external_templates
index 465d691..a2661e4 100644
--- a/lib/external_templates
+++ b/lib/external_templates
@@ -358,6 +358,12 @@ Template LilyPond
Format DocBook
Product "[LilyPond: $$FName]"
FormatEnd
+ Format XHTML
+ Product "<img src=\"$$AbsOrRelPathMaster$$Basename.png\" />"
+ UpdateFormat png
+ UpdateResult "$$AbsPath$$Basename.png"
+ ReferencedFile xhtml "$$AbsPath$$Basename.png"
+ FormatEnd
TemplateEnd
Template PDFPages
@@ -400,6 +406,9 @@ Template PDFPages
Format DocBook
Product "[PDFPages: $$FName]"
FormatEnd
+ Format XHTML
+ Product "[PDFPages: $$FName]"
+ FormatEnd
TemplateEnd