lyx_mirror/lib/layouts/noweb.module
Jean-Marc Lasgouttes 4f6c0b5202 Fix # 8414: Use the noweb module instead of literate-* article layouts
Now that we have module support for literate programming, it is possible to do a noweb cleanup. This is basically a patch from Kayvan Sylvan:

- get rid of literate-xxx classes
- rename Scrap to Chunk, since this is the name noweb doc uses (Scrap is from nuweb)
- update lyx file format and add lyx2lyx support for gettting rid of literate-xxx classes
- update documentation

On the top of it, update tex2lyx to
- avoid creating files with literate-xxx class
- fix conflict between parsing << as a quote and parsing it as a Chunk
- create Chunk layouts instead of Scrap ones.
2012-11-28 14:11:47 +01:00

35 lines
739 B
Plaintext

#\DeclareLyXModule[literate->latex,noweb.sty]{Noweb}
#DescriptionBegin
#Allows to use Noweb as a literate programming tool.
#DescriptionEnd
#Category: literate
Format 41
OutputType literate
AddToPreamble
\usepackage{noweb}
EndPreamble
Style Chunk
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