]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/noweb.module
New Theorems Module. Contributed by Udicoudco <udifoglle@gmail.com> on the mailing...
[lyx.git] / lib / layouts / noweb.module
index 41f078698a055552159fd0d7d0e3c3552310b4e8..923e5c78de47339f64a58cdec385f49503820ba1 100644 (file)
@@ -1,31 +1,13 @@
 #\DeclareLyXModule[literate->latex,noweb.sty]{Noweb}
+#\DeclareCategory{Literate Programming}
 #DescriptionBegin
 #Allows to use Noweb as a literate programming tool.
 #DescriptionEnd
-#Category: literate
 
-Format 35
+Format 99
+Input litinsets.inc
 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
-       Spellcheck            0
-       LabelType             Static
-       LabelFont
-         Color               magenta
-       EndFont
-       TextFont
-         Color               latex
-         Family              Typewriter
-       EndFont
-End
+AddToPreamble
+       \usepackage{noweb}
+EndPreamble