]> git.lyx.org Git - lyx.git/commitdiff
Enable XHTML export of LilyPond files.
authorRichard Heck <rgheck@lyx.org>
Sun, 31 Jul 2016 04:36:46 +0000 (00:36 -0400)
committerRichard Heck <rgheck@lyx.org>
Sun, 31 Jul 2016 05:36:09 +0000 (01:36 -0400)
(cherry picked from commit b35661b755bb6ef95716eb575561aac4009c140b)

lib/external_templates

index ec2193483bfbf43db4a75b77890890cf2050d9bb..e9cd9a7ffee9392fa8e356cba017cf618e5cc6ee 100644 (file)
@@ -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