X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fnoweb.module;h=6ae382e0b81e411d31688f804479adf98ac56940;hb=69a6c41b9417c0f069f4eeae2b0f2e932ee39be4;hp=9dd5d9359ed80b034e64b6590b129eb377ce774d;hpb=3ccd0abf7e7857bb77cbf4d82326b9316514d3b2;p=lyx.git diff --git a/lib/layouts/noweb.module b/lib/layouts/noweb.module index 9dd5d9359e..6ae382e0b8 100644 --- a/lib/layouts/noweb.module +++ b/lib/layouts/noweb.module @@ -1,31 +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 34 +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 - Spellcheck 0 - LabelType Static - LabelFont - Color magenta - EndFont - TextFont - Color latex - Family Typewriter - EndFont -End +AddToPreamble + \usepackage{noweb} +EndPreamble