summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-lit.html
blob: 539033c4fd6b7d6ba327f236c63bcc22d904fbab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<head>
<title>UK TeX FAQ -- question label lit</title>
</head><body>
<h3>What is Literate Programming?</h3>
<p/>Literate programming is the combination of documentation and source
together in a fashion suited for reading by human beings. 
In general, literate programs combine source
and documentation in a single file.  Literate programming tools then
parse the file to produce either readable documentation or compilable
source.  The WEB style of literate programming was created by
D. E. Knuth during the development of TeX.
<p/>
  The &ldquo;<a href="FAQ-dtx.html">documented LaTeX</a>&rdquo; style of programming
is regarded by some as a form of literate programming, though it only
contains a subset of the constructs Knuth used.
<p/>Discussion of literate programming is conducted in the newsgroup
<i>comp.programming.literate</i>, whose FAQ is stored on
CTAN.  Another good source of information is
<a href="http://www.literateprogramming.com/">http://www.literateprogramming.com/</a>
<dl>
<dt><tt><i>Literate Programming FAQ</i></tt><dd>
  <a href="ftp://cam.ctan.org/tex-archive/help/comp.programming.literate_FAQ">help/comp.programming.literate_FAQ</a>
</dl>
<p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=lit">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=lit</a>
</body>