]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/noweb.module
Update layout format
[lyx.git] / lib / layouts / noweb.module
index 92c08b9627d453a77de0b14d3a1397bed5aefa1a..4277ad8bb507e63d2561bbdb8c7328b1a749994d 100644 (file)
@@ -1,42 +1,13 @@
-#\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
 
-# Suggested style to write your code:
-# Within same scrap, lines are separated by newlines (Ctrl-Return), use:
-#  ItemSep               0.4
-#    . disavantage: must type ctrl-return every single line
-#    . advantage:   looks better (IMHO)
-#                   resembles more closely the produced paper doc (more WYSIWYG)
-#
-
-Format 29
+Format 66
+Input litinsets.inc
 OutputType              literate
 
-# FIXME: Use the Chunk layout from the sweave module? 
-Style Scrap
-       Margin                First_Dynamic
-       LatexType             Paragraph
-       LatexName             dummy
-       NewLine               0
-       LeftMargin            MMM
-       ParSep                0.4
-       TopSep                0.4
-       BottomSep             0.4
-       ItemSep               0.4
-       Align                 Left
-       AlignPossible         Block,Left
-       FreeSpacing           1
-       PassThru              1
-       ParbreakIsNewline     1
-       LabelType             Static
-       LabelFont
-         Color               magenta
-       EndFont
-       TextFont
-         Color               latex
-         Family              Typewriter
-       EndFont
-End
+AddToPreamble
+       \usepackage{noweb}
+EndPreamble