]> git.lyx.org Git - lyx.git/blobdiff - lib/external_templates
Enable XHTML export of LilyPond files.
[lyx.git] / 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