mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
4f6c0b5202
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.
35 lines
739 B
Plaintext
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
|