X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fnoweb.module;h=923e5c78de47339f64a58cdec385f49503820ba1;hb=42c2a25fb873727d87ce753b3a3ac4e913e36fe0;hp=41f078698a055552159fd0d7d0e3c3552310b4e8;hpb=2d2d946fc67fe55bfd858d5cf437793302bf6a12;p=lyx.git diff --git a/lib/layouts/noweb.module b/lib/layouts/noweb.module index 41f078698a..923e5c78de 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 35 +Format 99 +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