X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Flilypond.module;h=b542b893f17d0c008bc6bbf545111746c8d0e31e;hb=c8c1c15631712d458e98b612ba8c049a7ae4d260;hp=23c3ec39cbbc61175bb0a6995750970021874fe1;hpb=5142d1c86ada8df7451534402e2a1716678ee8b7;p=lyx.git diff --git a/lib/layouts/lilypond.module b/lib/layouts/lilypond.module index 23c3ec39cb..b542b893f1 100644 --- a/lib/layouts/lilypond.module +++ b/lib/layouts/lilypond.module @@ -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 +# Author: Julien Rioux -Format 29 +Format 98 OutputFormat lilypond-book -InsetLayout LilyPond +InsetLayout "Flex:LilyPond" LabelString LilyPond LaTeXType Environment LaTeXName lilypond @@ -28,5 +30,26 @@ InsetLayout LilyPond ForcePlain true FreeSpacing true 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 foreground + Family typewriter + EndFont + LabelFont + 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