doc/sod.tex: Leave a space for an `\includeonly' directive.
[sod] / doc / sod.tex
1 %%% -*-latex-*-
2 %%%
3 %%% Description of the internal class structure and protocol
4 %%%
5 %%% (c) 2009 Straylight/Edgeware
6 %%%
7
8 %%%----- Licensing notice ---------------------------------------------------
9 %%%
10 %%% This file is part of the Simple Object Definition system.
11 %%%
12 %%% SOD is free software; you can redistribute it and/or modify
13 %%% it under the terms of the GNU General Public License as published by
14 %%% the Free Software Foundation; either version 2 of the License, or
15 %%% (at your option) any later version.
16 %%%
17 %%% SOD is distributed in the hope that it will be useful,
18 %%% but WITHOUT ANY WARRANTY; without even the implied warranty of
19 %%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 %%% GNU General Public License for more details.
21 %%%
22 %%% You should have received a copy of the GNU General Public License
23 %%% along with SOD; if not, write to the Free Software Foundation,
24 %%% Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25
26 \documentclass[noarticle, titlepage]{strayman}
27
28 \errorcontextlines=999
29
30 \usepackage[T1]{fontenc}
31 \usepackage[utf8]{inputenc}
32 \usepackage[palatino, helvetica, courier, maths=cmr]{mdwfonts}
33 \usepackage{makeidx}
34 \usepackage
35 [columns=2, justific=raggedright,
36 totoc=true, font=small]
37 {idxlayout}
38 \usepackage{tikz}
39 \usetikzlibrary{calc}
40 \usetikzlibrary{positioning}
41 \usepackage{syntax}
42 \usepackage{sverb}
43 \usepackage{mdwtab}
44 \usepackage[mdwmargin, within=section]{mdwthm}
45 \usepackage{amssymb}
46 \usepackage{footnote}
47 \usepackage{at}
48 \usepackage{mdwref}
49
50 \usepackage{sod}
51
52 \makeindex
53 \let\indexstheadcase\relax
54 \bibliographystyle{mdwalpha}
55
56 \ifx\pkgversion\xxundefined
57 \immediate\typeout{WARNING: \string\pkgversion\ not defined}
58 \def\pkgversion{UNSET}
59 \fi
60
61 \title{A Sensible Object Design for C}
62 \author{Mark Wooding}
63 \date{\today; version \pkgversion}
64
65 %%\includeonly{...}
66
67 \begin{document}
68
69 \frontmatter
70 \maketitle
71
72 %%%--------------------------------------------------------------------------
73
74 \tableofcontents
75
76 \mainmatter
77
78 \include{intro}
79
80 %%%--------------------------------------------------------------------------
81 \part{Tutorial\label{p:tut}}
82
83 \include{tutorial}
84
85 %%%--------------------------------------------------------------------------
86 \part{Reference\label{p:ref}}
87
88 \include{refintro}
89 \include{concepts}
90 \include{cmdline}
91 \include{syntax}
92 \include{runtime}
93 \include{structures}
94
95 %%%--------------------------------------------------------------------------
96 \part{Lisp interface\label{p:lisp}}
97
98 \include{lispintro}
99 %% package.lisp
100 %% sod.asd.in
101 %% sod-frontend.asd.in
102 %% auto.lisp.in
103
104 \include{misc}
105 %% utilities.lisp
106 %% pset-impl.lisp
107 %% pset-parse.lisp
108 %% pset-proto.lisp
109 %% optparse.lisp
110 %% frontend.lisp
111 %% final.lisp
112
113 \include{parsing}
114 %% package.lisp
115 %% floc-impl.lisp
116 %% floc-proto.lisp
117 %% streams-impl.lisp
118 %% streams-proto.lisp
119 %% scanner-context-impl.lisp
120 %% scanner-impl.lisp
121 %% scanner-proto.lisp
122 %% scanner-token-impl.lisp
123 %% scanner-charbuf-impl.lisp
124 %% parser-impl.lisp
125 %% parser-proto.lisp
126 %% parser-expr-impl.lisp
127 %% parser-expr-proto.lisp
128 %% lexer-impl.lisp
129 %% lexer-proto.lisp
130
131 \include{clang}
132 %% c-types-class-impl.lisp
133 %% c-types-impl.lisp
134 %% c-types-parse.lisp
135 %% c-types-proto.lisp
136 %% codegen-impl.lisp
137 %% codegen-proto.lisp
138 %% fragment-parse.lisp
139
140 \include{meta}
141 %% classes.lisp
142 %% class-utilities.lisp
143 %% class-make-impl.lisp
144 %% class-make-proto.lisp
145 %% class-finalize-impl.lisp
146 %% class-finalize-proto.lisp
147
148 \include{layout}
149 %% class-layout-impl.lisp
150 %% class-layout-proto.lisp
151 %% method-impl.lisp
152 %% method-proto.lisp
153 %% method-aggregate.lisp
154
155 \include{module}
156 %% module-impl.lisp
157 %% module-parse.lisp
158 %% module-proto.lisp
159 %% builtin.lisp
160
161 \include{output}
162 %% output-impl.lisp
163 %% output-proto.lisp
164 %% class-output.lisp
165 %% module-output.lisp
166
167 %%%--------------------------------------------------------------------------
168 \part{Appendices}
169 \appendix
170
171 \include{cutting-room-floor}
172
173 %%%--------------------------------------------------------------------------
174 \backmatter
175
176 \bibliography{%
177 isostd,%
178 sigplan1990}
179 \printindex
180
181 %%%----- That's all, folks --------------------------------------------------
182 \end{document}
183
184 %%% Local variables:
185 %%% mode: LaTeX
186 %%% TeX-PDF-mode: t
187 %%% End: