]> git.lyx.org Git - features.git/blobdiff - lib/layouts/lilypond.module
DocBook: slightly change the Copernicus template to be valid DocBook.
[features.git] / lib / layouts / lilypond.module
index 315c82f22c0e931eea195fc2fd07afbb5cdefd76..875a91f7da9343f3d9579ea101c2d8b703c4c8b0 100644 (file)
@@ -1,15 +1,17 @@
-#\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.
 #DescriptionEnd
+#Excludes: sweave
 
-# Author: Julien Rioux <jrioux@physics.utoronto.ca>
+# Author: Julien Rioux <jrioux@lyx.org>
 
-Format 34
+Format 85
 OutputFormat           lilypond-book
 
-InsetLayout LilyPond
+InsetLayout "Flex:LilyPond"
        LabelString           LilyPond
        LaTeXType             Environment
        LaTeXName             lilypond
@@ -30,4 +32,18 @@ InsetLayout LilyPond
        PassThru              true
        ParbreakIsNewline     true
        ForceLTR              true
+       Spellcheck            false
+       Argument 1
+         LabelString         "Options"
+         MenuString          "LilyPond Options"
+         Tooltip             "A comma-separated option list (see the LilyPond documentation for available options)."
+         Decoration          Conglomerate
+         Font
+           Color             black
+           Family            typewriter
+         EndFont
+         LabelFont
+           Color             black
+         EndFont
+       EndArgument
 End