lyx_mirror/lib/layouts/noweb.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

31 lines
748 B
Plaintext

#\DeclareLyXModule[literate->latex,noweb.sty]{Noweb literate programming}
#DescriptionBegin
#Allows to use Noweb as a literate programming tool.
#DescriptionEnd
#Category: literate
Format 30
OutputType literate
# FIXME: Use the Chunk layout from the sweave module?
Style Scrap
Margin First_Dynamic
LatexType Paragraph
LatexName dummy
LeftMargin MMM
Align Left
AlignPossible Block,Left
NewLine 0
FreeSpacing 1
PassThru 1
ParbreakIsNewline 1
LabelType Static
LabelFont
Color magenta
EndFont
TextFont
Color latex
Family Typewriter
EndFont
End