]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/noweb.module
RJournal template and layout: move ERTs to layout
[lyx.git] / lib / layouts / noweb.module
index aff85627a3c9ce5b42faca61f9215ffb9185e7dd..fc105fd051ac7dc93beb507b98345dad3e763db8 100644 (file)
@@ -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