X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fnoweb.module;h=fc105fd051ac7dc93beb507b98345dad3e763db8;hb=4beba4e8f87ca218473448caf10563b99faf7b21;hp=aff85627a3c9ce5b42faca61f9215ffb9185e7dd;hpb=b9b619641bf3a5cac120abba2e1b67e43995a384;p=lyx.git diff --git a/lib/layouts/noweb.module b/lib/layouts/noweb.module index aff85627a3..fc105fd051 100644 --- a/lib/layouts/noweb.module +++ b/lib/layouts/noweb.module @@ -1,14 +1,17 @@ -#\DeclareLyXModule[literate->latex,noweb.sty]{Noweb literate programming} +#\DeclareLyXModule[literate->latex,noweb.sty]{Noweb} #DescriptionBegin #Allows to use Noweb as a literate programming tool. #DescriptionEnd #Category: literate -Format 30 +Format 45 OutputType literate -# FIXME: Use the Chunk layout from the sweave module? -Style Scrap +AddToPreamble + \usepackage{noweb} +EndPreamble + +Style Chunk Margin First_Dynamic LatexType Paragraph LatexName dummy @@ -19,6 +22,7 @@ Style Scrap FreeSpacing 1 PassThru 1 ParbreakIsNewline 1 + Spellcheck 0 LabelType Static LabelFont Color magenta