]> git.lyx.org Git - features.git/blobdiff - lib/layouts/lilypond.module
Fix compilation with gcc 4.9
[features.git] / lib / layouts / lilypond.module
index a52911a220efbf8877a7c5d67b584d754459d65a..1cafc43887a8004db2d48ccd9e341e001802f03c 100644 (file)
@@ -1,4 +1,5 @@
-#\DeclareLyXModule[lilypond-book->latex]{LilyPond Book}
+#\DeclareLyXModule[lilypond-book->latex]{LilyPond Music Notation}
+#\DeclareCategory{Leisure, Sports & Music}
 #DescriptionBegin
 #This module adds an inset to enter LilyPond code directly into LyX.
 #It will be processed in the output. See the lilypond.lyx example file.
@@ -7,7 +8,7 @@
 
 # Author: Julien Rioux <jrioux@lyx.org>
 
-Format 64
+Format 95
 OutputFormat           lilypond-book
 
 InsetLayout "Flex:LilyPond"
@@ -38,11 +39,17 @@ InsetLayout "Flex:LilyPond"
          Tooltip             "A comma-separated option list (see the LilyPond documentation for available options)."
          Decoration          Conglomerate
          Font
-           Color             black
+           Color             foreground
            Family            typewriter
          EndFont
          LabelFont
-           Color             black
+           Color             foreground
          EndFont
+      DocBookTag          IGNORE
        EndArgument
+    DocBookNotInPara      true
+    DocBookWrapperTag     mediaobject
+    DocBookTag            textobject
+    DocBookInnerTag       programlisting
+    DocBookInnerAttr      "language='lilypond' role='fragment verbatim staffsize=16 ragged-right relative=2'"
 End