Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • 2
    This answer seems to assume that all literate programming tools are using LaTeX. Is this true? There doesn't seem to be anything about the concept which requires it. Commented Sep 14, 2010 at 6:09
  • @AShelly: It's not required - I know that noweb, at least, lets you use HTML. But in practice, the people who write HTML documentation will use javadoc and the like instead of literate programming tools. Commented Sep 14, 2010 at 7:51
  • 1
    @AShelly, for literate programming to work, you need to be able to generate the document to be printed. This is much, much easier when the format is text-based, and to my knowledge the most powerful text-based document formatter is TeX, and the easiest way to work with TeX is using LaTeX. Commented Nov 30, 2011 at 14:22
  • 1
    @AShelly you may want to take a look at org-mode's support for literate programming. It's quite handy, and I find it much easier to comprehend (not to mention manage) than WEB or NOWEB alone. An important aspect of code is readability, and this is readable. (cf github.com/vermiculus/stack-mode) Commented Mar 2, 2013 at 22:25