commit 9a953907918d65f51811d0c7929566d9beb7cbac
Author: Richard Heck <[email protected]>
Date: Sun Jul 31 00:36:46 2016 -0400
Enable XHTML export of LilyPond files.
(cherry picked from commit b35661b755bb6ef95716eb575561aac4009c140b)
---
lib/external_templates | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/lib/external_templates b/lib/external_templates
index ec21934..e9cd9a7 100644
--- a/lib/external_templates
+++ b/lib/external_templates
@@ -364,6 +364,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
@@ -406,6 +412,9 @@ Template PDFPages
Format DocBook
Product "[PDFPages: $$FName]"
FormatEnd
+ Format XHTML
+ Product "[PDFPages: $$FName]"
+ FormatEnd
TemplateEnd