2 \documentclass[english,a4paper,11pt,oldtoc,mctitle]{rapport3}
3 \RequirePackage{ifthen}
7 \usepackage[latin1]{inputenc}
8 \usepackage[dvipdfm]{hyperref}
15 \usepackage[nottoc]{tocbibind}
16 \usepackage{enumerate}
17 \usepackage[a4paper]{geometry}
24 \providecommand{\note}[1]{\color{red}**#1**}%
25 \providecommand{\file}[1]{\emph{#1}}%
26 \providecommand{\type}[1]{#1}%
27 \providecommand{\spec}[1]{#1}%
28 \providecommand{\indextype}[1]{\index{#1@#1}}
31 \providecommand{\key}[1]{\textbf{#1}}%
32 \providecommand{\code}[1]{\texttt{#1}}%
33 \providecommand{\codestr}[1]{`\texttt{#1}'}%
34 \providecommand{\var}[1]{\texttt{#1}}%
35 \providecommand{\command}[1]{\texttt{#1}}
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}}
44 \providecommand{\tabhead}[1]{\hline #1 \\\hline}
49 \newenvironment{function}{
56 \providecommand{\synopsis}[1]{
57 \item[Synopsis:] \texttt{#1}
59 \providecommand{\funcname}[1]{
60 \item[Function:] \texttt{#1}
62 \providecommand{\hookname}[1]{
63 \item[Hook name:] \label{#1}\texttt{#1}
65 \providecommand{\hookparams}[1]{
66 \item[Parameters:] \texttt{#1}
70 \newenvironment{funcdesc}{
77 \providecommand{\xchapter}[1]{\chapter{#1}}%
78 \providecommand{\xsection}[1]{\section{#1}}%
79 \providecommand{\xsectionstar}[1]{\section*{#1}}%
80 \providecommand{\xsubsection}[1]{\subsection{#1}}
83 \title{Configuring and extending Ion3 with Lua}
84 \author{Tuomo Valkonen \\tuomov at iki.fi}
93 \usepackage[dvips]{color}
98 \usepackage[latin1]{inputenc}
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
117 \ifx\AtBeginDocument\undefined \newcommand{\AtBeginDocument}[1]{}\fi
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
127 \let\realnormalsize=\normalsize
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
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}
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
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{}%
211 \if@twoside\lthtmltypeout{latex2htmlLength evensidemargin=\the\evensidemargin}%
212 \else\lthtmltypeout{latex2htmlLength evensidemargin=\the\oddsidemargin}\fi%
218 % !!! IMAGES START HERE !!!
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}
234 \lthtmlinlinemathA{tex2html_wrap_inline1059}%
237 \lthtmlcheckvsize\clearpage}
239 \stepcounter{subsection}
240 \stepcounter{subsection}
241 \stepcounter{subsection}
242 \stepcounter{subsection}
243 \stepcounter{subsection}
245 \lthtmlinlinemathA{tex2html_wrap_inline1063}%
248 \lthtmlcheckvsize\clearpage}
250 \stepcounter{subsection}
251 \stepcounter{subsection}
252 \stepcounter{section}
253 \stepcounter{subsection}
254 \stepcounter{subsection}
255 \stepcounter{subsection}
256 \stepcounter{subsection}
257 \stepcounter{section}
260 \newedenvironment{winprop}[2]{
264 \item[Winprop:] \texttt{#1} (#2)
272 \stepcounter{subsection}
273 \stepcounter{subsection}
274 \stepcounter{subsection}
275 \stepcounter{subsection}
276 \stepcounter{subsubsection}
277 \stepcounter{subsubsection}
278 \stepcounter{section}
279 \stepcounter{subsection}
280 \stepcounter{subsection}
281 \stepcounter{subsection}
282 \stepcounter{subsubsection}
283 \stepcounter{subsubsection}
284 \stepcounter{subsubsection}
285 \stepcounter{chapter}
286 \stepcounter{section}
287 \stepcounter{subsection}
288 \stepcounter{subsubsection}
289 \stepcounter{subsubsection}
290 \stepcounter{subsubsection}
291 \stepcounter{section}
292 \stepcounter{subsection}
293 \stepcounter{subsection}
294 \stepcounter{subsubsection}
295 \stepcounter{subsubsection}
296 \stepcounter{subsubsection}
297 \stepcounter{subsubsection}
298 \stepcounter{subsubsection}
299 \stepcounter{subsection}
300 \stepcounter{section}
301 \stepcounter{subsection}
302 \stepcounter{subsection}
304 \lthtmlinlinemathA{tex2html_wrap_inline2263}%
307 \lthtmlcheckvsize\clearpage}
309 \stepcounter{subsection}
310 \stepcounter{chapter}
311 \stepcounter{section}
312 \stepcounter{section}
313 \stepcounter{subsection}
314 \stepcounter{subsection}
315 \stepcounter{section}
316 \stepcounter{section}
317 \stepcounter{chapter}
318 \stepcounter{section}
319 \stepcounter{subsection}
320 \stepcounter{subsection}
321 \stepcounter{subsection}
322 \stepcounter{subsection}
323 \stepcounter{subsection}
324 \stepcounter{subsection}
325 \stepcounter{subsection}
326 \stepcounter{subsection}
328 \lthtmlinlinemathA{tex2html_wrap_inline5540}%
331 \lthtmlcheckvsize\clearpage}
334 \lthtmlinlinemathA{tex2html_wrap_inline5542}%
337 \lthtmlcheckvsize\clearpage}
339 \stepcounter{subsection}
340 \stepcounter{subsection}
341 \stepcounter{subsection}
342 \stepcounter{subsection}
343 \stepcounter{subsection}
344 \stepcounter{subsection}
345 \stepcounter{subsection}
346 \stepcounter{subsection}
347 \stepcounter{subsection}
348 \stepcounter{subsection}
349 \stepcounter{section}
350 \stepcounter{subsection}
351 \stepcounter{subsection}
352 \stepcounter{subsection}
353 \stepcounter{subsection}
354 \stepcounter{subsection}
355 \stepcounter{section}
356 \stepcounter{subsection}
357 \stepcounter{subsection}
358 \stepcounter{subsection}
359 \stepcounter{section}
360 \stepcounter{subsection}
361 \stepcounter{section}
362 \stepcounter{subsection}
364 \lthtmlinlinemathA{tex2html_wrap_inline7792}%
365 $\{t,m,b\}\times\{t,c,b\}$%
367 \lthtmlcheckvsize\clearpage}
369 \stepcounter{section}
370 \stepcounter{section}
371 \stepcounter{subsection}
372 \stepcounter{section}
373 \stepcounter{section}
374 \stepcounter{section}
375 \stepcounter{subsection}
377 \stepcounter{chapter}
378 \addtocounter{enumi}{-1}
379 \stepcounter{chapter}
382 \providecommand{\fnlisti}[1]{\htmlref{\texttt{#1}}{fn:#1}\\}%