lyx_mirror/lib/layouts/lilypond.module
Jean-Marc Lasgouttes b9b619641b This patch implements proper ERT behaviour for normal layouts.
In particular, it makes paragraph breaks generate single \n in latex output
when ParbreakIsNewline is true

This means that it is not necessary anymore to use newlines to break lines. 
Plain paragraph breaks can be used instead, like is done now in ERT/Listings. 
This is mainly aimed at sweave support.

lyx2lyx support courtesy of Richard Heck



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36163 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-06 15:06:19 +00:00

34 lines
871 B
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
# Author: Julien Rioux <jrioux@physics.utoronto.ca>
Format 30
OutputFormat lilypond-book
InsetLayout 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
End