]> git.lyx.org Git - features.git/blob - lib/layouts/lilypond.module
6c98f14b4599582b13375f2d3ba3394b8305de2e
[features.git] / lib / layouts / lilypond.module
1 #\DeclareLyXModule[lilypond-book->latex]{LilyPond Music Notation}
2 #\DeclareCategory{Leisure, Sports & Music}
3 #DescriptionBegin
4 #This module adds an inset to enter LilyPond code directly into LyX.
5 #It will be processed in the output. See the lilypond.lyx example file.
6 #DescriptionEnd
7 #Excludes: sweave
8
9 # Author: Julien Rioux <jrioux@lyx.org>
10
11 Format 93
12 OutputFormat           lilypond-book
13
14 InsetLayout "Flex:LilyPond"
15         LabelString           LilyPond
16         LaTeXType             Environment
17         LaTeXName             lilypond
18         LyXType               Custom
19         Decoration            Classic
20         Font
21           Color               latex
22           Family              typewriter
23         EndFont
24         LabelFont
25           Color               latex
26           Size                Small
27         EndFont
28         MultiPar              true
29         CustomPars            false
30         ForcePlain            true
31         FreeSpacing           true
32         PassThru              true
33         ParbreakIsNewline     true
34         ForceLTR              true
35         Spellcheck            false
36         Argument 1
37           LabelString         "Options"
38           MenuString          "LilyPond Options"
39           Tooltip             "A comma-separated option list (see the LilyPond documentation for available options)."
40           Decoration          Conglomerate
41           Font
42             Color             foreground
43             Family            typewriter
44           EndFont
45           LabelFont
46             Color             foreground
47           EndFont
48       DocBookTag          IGNORE
49         EndArgument
50     DocBookNotInPara      true
51     DocBookWrapperTag     mediaobject
52     DocBookTag            textobject
53     DocBookInnerTag       programlisting
54     DocBookInnerAttr      "language='lilypond' role='fragment verbatim staffsize=16 ragged-right relative=2'"
55 End