mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
5c54557350
Remove the trimming operation on LabelString, LabelStringAppendix, EndLabelString and LabelCounter. This trimming meant that quotes strings were not preserved, which is wrong. To preserve layouts, the Layout format has been updated to 64, so that layout2layout can remove extra spaces on existing strings, which ensures that behavior is unchanged for old layouts (courtesy of rgheck). It is now possible to re-add spaces in label strings where it makes sense. Fixes bug #10723.
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 64
|
|
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
|