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