diff --git a/docs/crtex/Makefile b/docs/crtex/Makefile index 0cdf2c2748..9f904d32c7 100644 --- a/docs/crtex/Makefile +++ b/docs/crtex/Makefile @@ -15,7 +15,7 @@ PP=ppc386 PPOPTS= # Script to convert the programs to LaTeX examples which can be included. -PP2TEX=pp2tex +PP2TEX=../pp2tex # Script to collect all examples in 1 file. MAKETEX=make1tex diff --git a/docs/dosex/Makefile b/docs/dosex/Makefile index 31ddae67ca..186c2731fd 100644 --- a/docs/dosex/Makefile +++ b/docs/dosex/Makefile @@ -15,7 +15,7 @@ PP=ppc386 PPOPTS= # Script to convert the programs to LaTeX examples which can be included. -PP2TEX=pp2tex +PP2TEX=../pp2tex # Script to collect all examples in 1 file. MAKETEX=make1tex diff --git a/docs/internal.tex b/docs/internal.tex index 8c9c7e8da4..4277a62a54 100644 --- a/docs/internal.tex +++ b/docs/internal.tex @@ -111,8 +111,8 @@ They are used to describe types, for example the type of a variable symbol is given by a definition and the result type of a expression is given as a definition. They have nothing to do with the definition of a procedure. -Definitions are implemented as a object (symtable.pas, tdef and -it's descendents). There are a lot of different +Definitions are implemented as a object (in file \file{symtable.pas}, +\var{tdef} and it's descendents). There are a lot of different definitions: for example to describe ordinal types, arrays, pointers, procedures @@ -218,7 +218,7 @@ occurs. \subsection{The first pass} This is a part of the first pass for a pointer dereferencation -(\var{p\^\ }), the type determination and some other stuff are left out +(\var{p\^\ }), the type determination and some other stuff are left out. \begin{verbatim} procedure firstderef(var p : ptree); diff --git a/docs/linuxex/Makefile b/docs/linuxex/Makefile index 89efaa6d83..54c212846a 100644 --- a/docs/linuxex/Makefile +++ b/docs/linuxex/Makefile @@ -15,7 +15,7 @@ PP=ppc386 PPOPTS= # Script to convert the programs to LaTeX examples which can be included. -PP2TEX=pp2tex +PP2TEX=../pp2tex # Script to collect all examples in 1 file. MAKETEX=make1tex diff --git a/docs/mouseex/Makefile b/docs/mouseex/Makefile index fe0aec8a12..4d274233a2 100644 --- a/docs/mouseex/Makefile +++ b/docs/mouseex/Makefile @@ -15,7 +15,7 @@ PP=ppc386 PPOPTS= # Script to convert the programs to LaTeX examples which can be included. -PP2TEX=pp2tex +PP2TEX=../pp2tex # Script to collect all examples in 1 file. MAKETEX=make1tex diff --git a/docs/optex/Makefile b/docs/optex/Makefile index 001c766f68..ef7816def0 100644 --- a/docs/optex/Makefile +++ b/docs/optex/Makefile @@ -15,7 +15,7 @@ PP=ppc386 PPOPTS= # Script to convert the programs to LaTeX examples which can be included. -PP2TEX=pp2tex +PP2TEX=../pp2tex # Script to collect all examples in 1 file. MAKETEX=make1tex diff --git a/docs/pp2tex b/docs/pp2tex new file mode 100644 index 0000000000..3a5cd6a448 --- /dev/null +++ b/docs/pp2tex @@ -0,0 +1,5 @@ +#!/bin/sh +# Simply paste a header and footer to the program. +cat head.tex > $1.tex +cat $1.pp >> $1.tex +cat foot.tex >> $1.tex diff --git a/docs/pp2tex.bat b/docs/pp2tex.bat new file mode 100644 index 0000000000..a7a48d7628 --- /dev/null +++ b/docs/pp2tex.bat @@ -0,0 +1,6 @@ +@echo off +rem msdos batch file +rem Simply paste a header and footer to the program. +type head.tex > %1.tex +type %1.pp >> %1.tex +type foot.tex >> %1.tex diff --git a/docs/printex/Makefile b/docs/printex/Makefile index 825cb45407..1262dab4e9 100644 --- a/docs/printex/Makefile +++ b/docs/printex/Makefile @@ -15,7 +15,7 @@ PP=ppc386 PPOPTS= # Script to convert the programs to LaTeX examples which can be included. -PP2TEX=pp2tex +PP2TEX=../pp2tex # Script to collect all examples in 1 file. MAKETEX=make1tex diff --git a/docs/sockex/Makefile b/docs/sockex/Makefile index 84a9bb5f5f..714ee7ac97 100644 --- a/docs/sockex/Makefile +++ b/docs/sockex/Makefile @@ -15,7 +15,7 @@ PP=ppc386 PPOPTS= # Script to convert the programs to LaTeX examples which can be included. -PP2TEX=pp2tex +PP2TEX=../pp2tex # Script to collect all examples in 1 file. MAKETEX=make1tex diff --git a/docs/stringex/Makefile b/docs/stringex/Makefile index 5a974eedb1..04964212f0 100644 --- a/docs/stringex/Makefile +++ b/docs/stringex/Makefile @@ -15,7 +15,7 @@ PP=ppc386 PPOPTS= # Script to convert the programs to LaTeX examples which can be included. -PP2TEX=pp2tex +PP2TEX=../pp2tex # Script to collect all examples in 1 file. MAKETEX=make1tex