]> git.decadent.org.uk Git - ion3-doc.git/blob - ionconf/images.tex
[svn-inject] Installing original source of ion3
[ion3-doc.git] / ionconf / images.tex
1 \batchmode
2 \documentclass[english,a4paper,11pt,oldtoc,mctitle]{rapport3}
3 \RequirePackage{ifthen}
4
5
6 \usepackage{babel}
7 \usepackage[latin1]{inputenc}
8 \usepackage[dvipdfm]{hyperref}
9 \usepackage{ae}
10 \usepackage{url}
11 \usepackage{html}
12 \usepackage{makeidx}
13 \usepackage{tabularx}
14 \usepackage{textcomp}
15 \usepackage[nottoc]{tocbibind}
16 \usepackage{enumerate} 
17 \usepackage[a4paper]{geometry}
18 \usepackage{calc}
19
20
21 \urlstyle{rm}%
22 \providecommand{\centerurl}[1]{\begin{center}\url{#1}\end{center}} 
23
24 %
25 \providecommand{\note}[1]{\color{red}**#1**}%
26 \providecommand{\file}[1]{\emph{#1}}%
27 \providecommand{\type}[1]{#1}%
28 \providecommand{\spec}[1]{#1}%
29 \providecommand{\indextype}[1]{\index{#1@#1}} 
30
31 %
32 \providecommand{\key}[1]{\textbf{#1}}%
33 \providecommand{\code}[1]{\texttt{#1}}%
34 \providecommand{\var}[1]{\texttt{#1}}%
35 \providecommand{\command}[1]{\texttt{#1}} 
36
37 %
38 \providecommand{\hyperlabel}[1]{\label{#1}}%
39 \providecommand{\fnref}[1]{\htmlref{\texttt{#1}}{fn:#1}}%
40 \providecommand{\fnrefx}[2]{\htmlref{\texttt{#2}}{fn:#1.#2}}%
41 \providecommand{\myhref}[2]{\htmlref{#2}{#1}} 
42
43 %
44 \providecommand{\tabhead}[1]{\hline #1 \\\hline} 
45
46
47
48 %
49 \newenvironment{function}{
50   \begin{description}
51 }{
52   \end{description}
53
54
55 %
56 \providecommand{\synopsis}[1]{
57   \item[Synopsis:] \texttt{#1}
58 }%
59 \providecommand{\funcname}[1]{
60   \item[Function:] \texttt{#1}
61 }%
62 \providecommand{\hookname}[1]{
63   \item[Hook name:] \label{#1}\texttt{#1}
64 }%
65 \providecommand{\hookparams}[1]{
66   \item[Parameters:] \texttt{#1}
67
68
69 %
70 \newenvironment{funcdesc}{
71   \item[Description:]
72 }{} 
73
74
75
76 %
77 \providecommand{\xchapter}[1]{\chapter{#1}}%
78 \providecommand{\xsection}[1]{\section{#1}}%
79 \providecommand{\xsectionstar}[1]{\section*{#1}}%
80 \providecommand{\xsubsection}[1]{\subsection{#1}} 
81
82
83 \title{Configuring and extending Ion3 with Lua}
84 \author{Tuomo Valkonen \\tuomov at iki.fi}
85 \date{2006-12-23}
86
87
88 \makeindex
89
90
91
92
93 \usepackage[dvips]{color}
94
95
96 \pagecolor[gray]{.7}
97
98 \usepackage[latin1]{inputenc}
99
100
101
102 \makeatletter
103
104 \makeatletter
105 \count@=\the\catcode`\_ \catcode`\_=8 
106 \newenvironment{tex2html_wrap}{}{}%
107 \catcode`\<=12\catcode`\_=\count@
108 \newcommand{\providedcommand}[1]{\expandafter\providecommand\csname #1\endcsname}%
109 \newcommand{\renewedcommand}[1]{\expandafter\providecommand\csname #1\endcsname{}%
110   \expandafter\renewcommand\csname #1\endcsname}%
111 \newcommand{\newedenvironment}[1]{\newenvironment{#1}{}{}\renewenvironment{#1}}%
112 \let\newedcommand\renewedcommand
113 \let\renewedenvironment\newedenvironment
114 \makeatother
115 \let\mathon=$
116 \let\mathoff=$
117 \ifx\AtBeginDocument\undefined \newcommand{\AtBeginDocument}[1]{}\fi
118 \newbox\sizebox
119 \setlength{\hoffset}{0pt}\setlength{\voffset}{0pt}
120 \addtolength{\textheight}{\footskip}\setlength{\footskip}{0pt}
121 \addtolength{\textheight}{\topmargin}\setlength{\topmargin}{0pt}
122 \addtolength{\textheight}{\headheight}\setlength{\headheight}{0pt}
123 \addtolength{\textheight}{\headsep}\setlength{\headsep}{0pt}
124 \setlength{\textwidth}{349pt}
125 \newwrite\lthtmlwrite
126 \makeatletter
127 \let\realnormalsize=\normalsize
128 \global\topskip=2sp
129 \def\preveqno{}\let\real@float=\@float \let\realend@float=\end@float
130 \def\@float{\let\@savefreelist\@freelist\real@float}
131 \def\liih@math{\ifmmode$\else\bad@math\fi}
132 \def\end@float{\realend@float\global\let\@freelist\@savefreelist}
133 \let\real@dbflt=\@dbflt \let\end@dblfloat=\end@float
134 \let\@largefloatcheck=\relax
135 \let\if@boxedmulticols=\iftrue
136 \def\@dbflt{\let\@savefreelist\@freelist\real@dbflt}
137 \def\adjustnormalsize{\def\normalsize{\mathsurround=0pt \realnormalsize
138  \parindent=0pt\abovedisplayskip=0pt\belowdisplayskip=0pt}%
139  \def\phantompar{\csname par\endcsname}\normalsize}%
140 \def\lthtmltypeout#1{{\let\protect\string \immediate\write\lthtmlwrite{#1}}}%
141 \newcommand\lthtmlhboxmathA{\adjustnormalsize\setbox\sizebox=\hbox\bgroup\kern.05em }%
142 \newcommand\lthtmlhboxmathB{\adjustnormalsize\setbox\sizebox=\hbox to\hsize\bgroup\hfill }%
143 \newcommand\lthtmlvboxmathA{\adjustnormalsize\setbox\sizebox=\vbox\bgroup %
144  \let\ifinner=\iffalse \let\)\liih@math }%
145 \newcommand\lthtmlboxmathZ{\@next\next\@currlist{}{\def\next{\voidb@x}}%
146  \expandafter\box\next\egroup}%
147 \newcommand\lthtmlmathtype[1]{\gdef\lthtmlmathenv{#1}}%
148 \newcommand\lthtmllogmath{\dimen0\ht\sizebox \advance\dimen0\dp\sizebox
149   \ifdim\dimen0>.95\vsize
150    \lthtmltypeout{%
151 *** image for \lthtmlmathenv\space is too tall at \the\dimen0, reducing to .95 vsize ***}%
152    \ht\sizebox.95\vsize \dp\sizebox\z@ \fi
153   \lthtmltypeout{l2hSize %
154 :\lthtmlmathenv:\the\ht\sizebox::\the\dp\sizebox::\the\wd\sizebox.\preveqno}}%
155 \newcommand\lthtmlfigureA[1]{\let\@savefreelist\@freelist
156        \lthtmlmathtype{#1}\lthtmlvboxmathA}%
157 \newcommand\lthtmlpictureA{\bgroup\catcode`\_=8 \lthtmlpictureB}%
158 \newcommand\lthtmlpictureB[1]{\lthtmlmathtype{#1}\egroup
159        \let\@savefreelist\@freelist \lthtmlhboxmathB}%
160 \newcommand\lthtmlpictureZ[1]{\hfill\lthtmlfigureZ}%
161 \newcommand\lthtmlfigureZ{\lthtmlboxmathZ\lthtmllogmath\copy\sizebox
162        \global\let\@freelist\@savefreelist}%
163 \newcommand\lthtmldisplayA{\bgroup\catcode`\_=8 \lthtmldisplayAi}%
164 \newcommand\lthtmldisplayAi[1]{\lthtmlmathtype{#1}\egroup\lthtmlvboxmathA}%
165 \newcommand\lthtmldisplayB[1]{\edef\preveqno{(\theequation)}%
166   \lthtmldisplayA{#1}\let\@eqnnum\relax}%
167 \newcommand\lthtmldisplayZ{\lthtmlboxmathZ\lthtmllogmath\lthtmlsetmath}%
168 \newcommand\lthtmlinlinemathA{\bgroup\catcode`\_=8 \lthtmlinlinemathB}
169 \newcommand\lthtmlinlinemathB[1]{\lthtmlmathtype{#1}\egroup\lthtmlhboxmathA
170   \vrule height1.5ex width0pt }%
171 \newcommand\lthtmlinlineA{\bgroup\catcode`\_=8 \lthtmlinlineB}%
172 \newcommand\lthtmlinlineB[1]{\lthtmlmathtype{#1}\egroup\lthtmlhboxmathA}%
173 \newcommand\lthtmlinlineZ{\egroup\expandafter\ifdim\dp\sizebox>0pt %
174   \expandafter\centerinlinemath\fi\lthtmllogmath\lthtmlsetinline}
175 \newcommand\lthtmlinlinemathZ{\egroup\expandafter\ifdim\dp\sizebox>0pt %
176   \expandafter\centerinlinemath\fi\lthtmllogmath\lthtmlsetmath}
177 \newcommand\lthtmlindisplaymathZ{\egroup %
178   \centerinlinemath\lthtmllogmath\lthtmlsetmath}
179 \def\lthtmlsetinline{\hbox{\vrule width.1em \vtop{\vbox{%
180   \kern.1em\copy\sizebox}\ifdim\dp\sizebox>0pt\kern.1em\else\kern.3pt\fi
181   \ifdim\hsize>\wd\sizebox \hrule depth1pt\fi}}}
182 \def\lthtmlsetmath{\hbox{\vrule width.1em\kern-.05em\vtop{\vbox{%
183   \kern.1em\kern0.8 pt\hbox{\hglue.17em\copy\sizebox\hglue0.8 pt}}\kern.3pt%
184   \ifdim\dp\sizebox>0pt\kern.1em\fi \kern0.8 pt%
185   \ifdim\hsize>\wd\sizebox \hrule depth1pt\fi}}}
186 \def\centerinlinemath{%
187   \dimen1=\ifdim\ht\sizebox<\dp\sizebox \dp\sizebox\else\ht\sizebox\fi
188   \advance\dimen1by.5pt \vrule width0pt height\dimen1 depth\dimen1 
189  \dp\sizebox=\dimen1\ht\sizebox=\dimen1\relax}
190
191 \def\lthtmlcheckvsize{\ifdim\ht\sizebox<\vsize 
192   \ifdim\wd\sizebox<\hsize\expandafter\hfill\fi \expandafter\vfill
193   \else\expandafter\vss\fi}%
194 \providecommand{\selectlanguage}[1]{}%
195 \makeatletter \tracingstats = 1 
196
197
198 \begin{document}
199 \pagestyle{empty}\thispagestyle{empty}\lthtmltypeout{}%
200 \lthtmltypeout{latex2htmlLength hsize=\the\hsize}\lthtmltypeout{}%
201 \lthtmltypeout{latex2htmlLength vsize=\the\vsize}\lthtmltypeout{}%
202 \lthtmltypeout{latex2htmlLength hoffset=\the\hoffset}\lthtmltypeout{}%
203 \lthtmltypeout{latex2htmlLength voffset=\the\voffset}\lthtmltypeout{}%
204 \lthtmltypeout{latex2htmlLength topmargin=\the\topmargin}\lthtmltypeout{}%
205 \lthtmltypeout{latex2htmlLength topskip=\the\topskip}\lthtmltypeout{}%
206 \lthtmltypeout{latex2htmlLength headheight=\the\headheight}\lthtmltypeout{}%
207 \lthtmltypeout{latex2htmlLength headsep=\the\headsep}\lthtmltypeout{}%
208 \lthtmltypeout{latex2htmlLength parskip=\the\parskip}\lthtmltypeout{}%
209 \lthtmltypeout{latex2htmlLength oddsidemargin=\the\oddsidemargin}\lthtmltypeout{}%
210 \makeatletter
211 \if@twoside\lthtmltypeout{latex2htmlLength evensidemargin=\the\evensidemargin}%
212 \else\lthtmltypeout{latex2htmlLength evensidemargin=\the\oddsidemargin}\fi%
213 \lthtmltypeout{}%
214 \makeatother
215 \setcounter{page}{1}
216 \onecolumn
217
218 % !!! IMAGES START HERE !!!
219
220 \stepcounter{chapter}
221 \stepcounter{chapter}
222 \stepcounter{section}
223 \stepcounter{section}
224 \stepcounter{subsection}
225 \stepcounter{subsection}
226 \stepcounter{subsubsection}
227 \stepcounter{subsubsection}
228 \stepcounter{subsection}
229 \stepcounter{chapter}
230 \stepcounter{section}
231 \stepcounter{section}
232 \stepcounter{section}
233 {\newpage\clearpage
234 \lthtmlinlinemathA{tex2html_wrap_inline1028}%
235 $n$%
236 \lthtmlinlinemathZ
237 \lthtmlcheckvsize\clearpage}
238
239 \stepcounter{subsection}
240 \stepcounter{subsection}
241 \stepcounter{subsection}
242 \stepcounter{subsection}
243 \stepcounter{subsection}
244 {\newpage\clearpage
245 \lthtmlinlinemathA{tex2html_wrap_inline1032}%
246 $N=1{\ldots} 5$%
247 \lthtmlinlinemathZ
248 \lthtmlcheckvsize\clearpage}
249
250 \stepcounter{subsection}
251 \stepcounter{subsection}
252 \stepcounter{section}
253 \stepcounter{subsection}
254 \stepcounter{subsection}
255 \stepcounter{subsection}
256 \stepcounter{subsection}
257 \stepcounter{section}
258
259
260 \newedenvironment{winprop}[2]{
261   
262   \begin{description}
263 %
264       \item[Winprop:] \texttt{#1} (#2)
265       \item[Description:]
266 }
267 {
268   
269   \end{description}
270 }%
271
272 \stepcounter{subsection}
273 \stepcounter{subsection}
274 \stepcounter{subsection}
275 \stepcounter{subsubsection}
276 \stepcounter{subsubsection}
277 \stepcounter{subsubsection}
278 \stepcounter{chapter}
279 \stepcounter{section}
280 \stepcounter{subsection}
281 \stepcounter{subsubsection}
282 \stepcounter{subsubsection}
283 \stepcounter{subsubsection}
284 \stepcounter{section}
285 \stepcounter{subsection}
286 \stepcounter{subsection}
287 \stepcounter{subsubsection}
288 \stepcounter{subsubsection}
289 \stepcounter{subsubsection}
290 \stepcounter{subsubsection}
291 \stepcounter{subsubsection}
292 \stepcounter{subsection}
293 \stepcounter{section}
294 \stepcounter{subsection}
295 {\newpage\clearpage
296 \lthtmlinlinemathA{tex2html_wrap_inline1981}%
297 $(0, 1]$%
298 \lthtmlinlinemathZ
299 \lthtmlcheckvsize\clearpage}
300
301 \stepcounter{subsection}
302 \stepcounter{chapter}
303 \stepcounter{section}
304 \stepcounter{section}
305 \stepcounter{subsection}
306 \stepcounter{subsection}
307 \stepcounter{section}
308 \stepcounter{section}
309 \stepcounter{chapter}
310 \stepcounter{section}
311 {\newpage\clearpage
312 \lthtmlinlinemathA{tex2html_wrap_inline6076}%
313 $-1$%
314 \lthtmlinlinemathZ
315 \lthtmlcheckvsize\clearpage}
316
317 \stepcounter{subsection}
318 \stepcounter{subsection}
319 \stepcounter{subsection}
320 \stepcounter{subsection}
321 \stepcounter{subsection}
322 \stepcounter{subsection}
323 \stepcounter{subsection}
324 {\newpage\clearpage
325 \lthtmlinlinemathA{tex2html_wrap_inline6080}%
326 $-2$%
327 \lthtmlinlinemathZ
328 \lthtmlcheckvsize\clearpage}
329
330 \stepcounter{subsection}
331 \stepcounter{subsection}
332 \stepcounter{subsection}
333 \stepcounter{subsection}
334 \stepcounter{subsection}
335 \stepcounter{subsection}
336 \stepcounter{subsection}
337 \stepcounter{subsection}
338 \stepcounter{subsection}
339 \stepcounter{section}
340 \stepcounter{subsection}
341 \stepcounter{subsection}
342 \stepcounter{subsection}
343 \stepcounter{subsection}
344 \stepcounter{subsection}
345 \stepcounter{section}
346 \stepcounter{subsection}
347 \stepcounter{subsection}
348 \stepcounter{subsection}
349 \stepcounter{section}
350 \stepcounter{subsection}
351 \stepcounter{section}
352 \stepcounter{subsection}
353 {\newpage\clearpage
354 \lthtmlinlinemathA{tex2html_wrap_inline9064}%
355 $\{t,m,b\}\times\{t,c,b\}$%
356 \lthtmlinlinemathZ
357 \lthtmlcheckvsize\clearpage}
358
359 \stepcounter{section}
360 \stepcounter{section}
361 \stepcounter{section}
362 \appendix
363 \stepcounter{chapter}
364 \addtocounter{enumi}{-1}
365 \stepcounter{chapter}
366
367 %
368 \providecommand{\fnlisti}[1]{\htmlref{\texttt{#1}}{fn:#1}\\}%
369
370
371 \end{document}