lyx_mirror/lib/layouts/noweb.module
Jean-Marc Lasgouttes 864773d7d9 Allow literate documents other than noweb to work out of the box. Currently
only sweave is supported (for building documentation, not programs).

Layout files allow a new OutputFormat tag 

Modules can be conditionned on a feature of the type from->to, indicating that
it should be possible to convert from format 'from' to format 'to'.

Layout format incremented to 15.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29874 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-28 08:59:25 +00:00

41 lines
1.1 KiB
Plaintext

#\DeclareLyXModule[literate->latex,noweb.sty]{Noweb literate programming}
#DescriptionBegin
#Allows to use Noweb as a literate programming tool.
#DescriptionEnd
# 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 11
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
LabelType Static
LabelFont
Color magenta
EndFont
TextFont
Color latex
Family Typewriter
EndFont
End