summaryrefslogtreecommitdiff
path: root/web/matlabweb/README
blob: abd9d7f747272c772052bb9fe07bb7d56495a125 (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62

Welcome to MWEB (Matlab WEB)

This is an experimental literate programming system for the Matlab
programming language. It is based on the Spider system, which is in
turn based on the CWEB system which resembles the original WEB system
by Knuth.

This distribution does not include the real sources. Compiling the
programs from these would require the "tie", "nuweb", "spider", and
"awk" programs to exist on your system, so instead the C code is
distributed together with a Makefile that should compile them on most
UNIX systems. A complete distribution will be available later.

This distribution includes also some TeX and LaTeX macro files, among
them the complete "webfiles" package which is also distributed
separately. This package enables inclusion of multiple CWEB and MWEB
programs in a single LaTeX document.

A user manual is provided in the files "spiderwebman.ps" and
"mwebman.ps". The first is a generic manual for all Web systems
created with Spider, the second contains additional notes for MWEB.
Usage and implementation of the webfiles package are explained in
"webfiles.ps".

Please read the Install file for an installation instruction.

An example is provided in the files

  example.web : MWEB document
  ctest.web   : CWEB document
  ctest.tex   : cweave output from ctest.web
  driver.tex  : driver for printing example with LaTeX

This example should work with TeX and LaTeX.

With TeX:

  mweave example
  tex example

With LaTeX:

  mweave example
  latex driver

The rationale for all this can be found in the documentation. If you
have problems with tex/latex, read the comments at the beginning of
example.web.




Mark Potse                                           M.Potse@amc.uva.nl
Medical Physics Department,
Academic Medical Center
Meibergdreef 15,
1105 AZ Amsterdam,
The Netherlands