]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/noweb.module
Introduce HTMLClass tag, to make it easier to give these.
[lyx.git] / lib / layouts / noweb.module
index f2c9185d8959bbd07706c8e2cfd84ca09ef8f220..6ae382e0b81e411d31688f804479adf98ac56940 100644 (file)
@@ -1,30 +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 30
+Format 96
+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
-       LabelType             Static
-       LabelFont
-         Color               magenta
-       EndFont
-       TextFont
-         Color               latex
-         Family              Typewriter
-       EndFont
-End
+AddToPreamble
+       \usepackage{noweb}
+EndPreamble