]> git.lyx.org Git - lyx.git/blob - lib/layouts/noweb.module
Allow literate documents other than noweb to work out of the box. Currently
[lyx.git] / lib / layouts / noweb.module
1 #\DeclareLyXModule[literate->latex,noweb.sty]{Noweb literate programming}
2 #DescriptionBegin
3 #Allows to use Noweb as a literate programming tool.
4 #DescriptionEnd
5
6 # Suggested style to write your code:
7 # Within same scrap, lines are separated by newlines (Ctrl-Return), use:
8 #  ItemSep               0.4
9 #    . disavantage: must type ctrl-return every single line
10 #    . advantage:   looks better (IMHO)
11 #                   resembles more closely the produced paper doc (more WYSIWYG)
12 #
13
14 Format 11
15 OutputType              literate
16
17 # FIXME: Use the Chunk layout from the sweave module? 
18 Style Scrap
19         Margin                First_Dynamic
20         LatexType             Paragraph
21         LatexName             dummy
22         NewLine               0
23         LeftMargin            MMM
24         ParSep                0.4
25         TopSep                0.4
26         BottomSep             0.4
27         ItemSep               0.4
28         Align                 Left
29         AlignPossible         Block,Left
30         FreeSpacing           1
31         PassThru              1
32         LabelType             Static
33         LabelFont
34           Color               magenta
35         EndFont
36         TextFont
37           Color               latex
38           Family              Typewriter
39         EndFont
40 End