summaryrefslogtreecommitdiff
path: root/web/latexspider/tangle.ltx
blob: f603f8769b25622e8354faf4dbc3a5414e949890 (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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
this is tangle.latex-ch to fix tangle.web so that it can be woven with
the LaTeX version of weave
$Header: /home/users0/fx/ltxspiderweb/master/tangle.ltx,v 1.1 91/03/22 11:32:59 fx Exp $
d.love@daresbury.ac.uk

l 12 (fix for use with LaTeX or plain)
@x
% Here is TeX material that gets inserted after \input webmac

\message{OK, entering \string\batchmode...}
\batchmode

\def\hang{\hangindent 3em\indent\ignorespaces}
\font\ninerm=cmr9
\let\mc=\ninerm % medium caps
\def\cee{C}
\def\pb{$\.|\ldots\.|$} % C brackets (|...|)
\def\v{\char'174} % vertical (|) in typewriter font
\def\ceeref{{\it The C Reference Manual}}
\mathchardef\RA="3221 % right arrow
\mathchardef\BA="3224 % double arrow

\def\title{Spidery TANGLE}
\def\contentspagenumber{1} % should be odd
\def\topofcontents{\null\vfill
  \titlefalse % include headline on the contents page
  \def\rheader{\hfil}
  \centerline{\titlefont The {\ttitlefont Spidery TANGLE} processor}
  \vfill
}
@y
% Here is TeX material that gets inserted after \documentstyle

% \message{OK, entering \string\batchmode...}
% \batchmode

\ifx\enddocument\undefined	% LaTeX?
\font\ninerm=cmr9		% no...
\let\mc=\ninerm			% medium caps (not actually used)
\def\title{Spidery TANGLE}
\def\contentspagenumber{1} % should be odd
\def\topofcontents{\null\vfill
  \titlefalse % include headline on the contents page
  \def\rheader{\hfil}
  \centerline{\titlefont The {\ttitlefont Spidery TANGLE} processor}
  \vfill
}
\else				% yes...
\documentstyle[web]{article}
\title{Spidery TANGLE}\date{}
\let\.=\str
\fi

\def\hang{\hangindent 3em\indent\ignorespaces} 
\def\cee{C}
\def\pb{$\.|\ldots\.|$} % C brackets (|...|)
\def\v{\char'174} % vertical (|) in typewriter font
\def\ceeref{{\it The C Reference Manual}}
\mathchardef\RA="3221 % right arrow
\mathchardef\BA="3224 % double arrow
@z

l 1296 (fix \item)
@x
\yskip \item{a)}Module names are not allowed in macros;
in fact, the appearance of a module name terminates such macros and denotes
the name of the current module.

\item{b)}The symbols \.{@@d} and \.{@@f} and \.{@@u} are not allowed after
module names, while they terminate macro definitions.
@y
\begin{itemize}
 \item[a)]Module names are not allowed in macros;
in fact, the appearance of a module name terminates such macros and denotes
the name of the current module.
\item[b)]The symbols \.{@@d} and \.{@@f} and \.{@@u} are not allowed after
module names, while they terminate macro definitions.
\end{itemize}