mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-29 21:05:12 +00:00
b124adbd38
This uses the InsetArgument interface to provide access to a document part hitherto inaccessible by LyX: the part between \begin and the first \item in a list (where lengths and counters can be redefined, for instance). Fixes: #11098 File format change, layout format change
49 lines
1.3 KiB
Plaintext
49 lines
1.3 KiB
Plaintext
#\DeclareLyXModule[lilypond-book->latex]{LilyPond Book}
|
|
#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@lyx.org>
|
|
|
|
Format 69
|
|
OutputFormat lilypond-book
|
|
|
|
InsetLayout "Flex:LilyPond"
|
|
LabelString LilyPond
|
|
LaTeXType Environment
|
|
LaTeXName lilypond
|
|
LyXType Custom
|
|
Decoration Classic
|
|
Font
|
|
Color latex
|
|
Family typewriter
|
|
EndFont
|
|
LabelFont
|
|
Color latex
|
|
Size Small
|
|
EndFont
|
|
MultiPar true
|
|
CustomPars false
|
|
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 black
|
|
Family typewriter
|
|
EndFont
|
|
LabelFont
|
|
Color black
|
|
EndFont
|
|
EndArgument
|
|
End
|