X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fnoweb.module;h=b044f88230accb92cc7cbd7f0928a0f35f47571c;hb=f8f9eec358c5dcd45665defed13d51c0b304fb8e;hp=e1f4c10b0c8a1711daba1c9271f060d1a1e5e666;hpb=7035f4cabb6484da02eaa37f73975266e7dd933c;p=lyx.git diff --git a/lib/layouts/noweb.module b/lib/layouts/noweb.module index e1f4c10b0c..b044f88230 100644 --- a/lib/layouts/noweb.module +++ b/lib/layouts/noweb.module @@ -1,41 +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 15 +Format 68 +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 - LabelType Static - LabelFont - Color magenta - EndFont - TextFont - Color latex - Family Typewriter - EndFont -End +AddToPreamble + \usepackage{noweb} +EndPreamble