summaryrefslogtreecommitdiff
path: root/web/latexspider/tangle.ltx
diff options
context:
space:
mode:
Diffstat (limited to 'web/latexspider/tangle.ltx')
-rw-r--r--web/latexspider/tangle.ltx78
1 files changed, 78 insertions, 0 deletions
diff --git a/web/latexspider/tangle.ltx b/web/latexspider/tangle.ltx
new file mode 100644
index 0000000000..f603f8769b
--- /dev/null
+++ b/web/latexspider/tangle.ltx
@@ -0,0 +1,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}