updated NEWS
[luatex.git] / manual / luatex-lua.tex
blobb8381b08ae97a9eab0da71b31da98f9f90eb7256
1 \environment luatex-style
2 \environment luatex-logos
4 \startcomponent luatex-lua
6 \startchapter[reference=lua,title={\LUA\ general}]
8 \section[init]{Initialization}
10 \subsection{\LUATEX\ as a \LUA\ interpreter}
12 There are some situations that make \LUATEX\ behave like a standalone \LUA\
13 interpreter:
15 \startitemize[packed]
16 \startitem
17 if a \type {--luaonly} option is given on the commandline, or
18 \stopitem
19 \startitem
20 if the executable is named \type {texlua} or \type {luatexlua}, or
21 \stopitem
22 \startitem
23 if the only non|-|option argument (file) on the commandline has the extension
24 \type {lua} or \type {luc}.
25 \stopitem
26 \stopitemize
28 In this mode, it will set \LUA's \type {arg[0]} to the found script name, pushing
29 preceding options in negative values and the rest of the commandline in the
30 positive values, just like the \LUA\ interpreter.
32 \LUATEX\ will exit immediately after executing the specified \LUA\ script and is,
33 in effect, a somewhat bulky standalone \LUA\ interpreter with a bunch of extra
34 preloaded libraries.
36 \subsection{\LUATEX\ as a \LUA\ byte compiler}
38 There are two situations that make \LUATEX\ behave like the \LUA\ byte compiler:
40 \startitemize[packed]
41 \startitem if a \type {--luaconly} option is given on the commandline, or \stopitem
42 \startitem if the executable is named \type {texluac} \stopitem
43 \stopitemize
45 In this mode, \LUATEX\ is exactly like \type {luac} from the standalone \LUA\
46 distribution, except that it does not have the \type {-l} switch, and that it
47 accepts (but ignores) the \type {--luaconly} switch.
49 \subsection{Other commandline processing}
51 When the \LUATEX\ executable starts, it looks for the \type {--lua} commandline
52 option. If there is no \type {--lua} option, the commandline is interpreted in a
53 similar fashion as in traditional \PDFTEX\ and \ALEPH. Some options are accepted
54 but have no consequence. The following command|-|line options are understood:
56 \starttabulate[|lT|p|]
57 \NC --fmt=FORMAT \NC load the format file \type {FORMAT} \NC\NR
58 \NC --lua=FILE \NC load and execute a \LUA\ initialization script\NC\NR
59 \NC --safer \NC disable easily exploitable \LUA\ commands \NC\NR
60 \NC --nosocket \NC disable the \LUA\ socket library \NC\NR
61 \NC --help \NC display help and exit \NC\NR
62 \NC --ini \NC be iniluatex, for dumping formats \NC\NR
63 \NC --interaction=STRING \NC set interaction mode: \type {batchmode}, \type {nonstopmode}
64 \type {scrollmode} or \type {errorstopmode} \NC \NR
65 \NC --halt-on-error \NC stop processing at the first error\NC \NR
66 \NC --kpathsea-debug=NUMBER \NC set path searching debugging flags according to
67 the bits of \type {NUMBER} \NC \NR
68 \NC --progname=STRING \NC set the program name to \type {STRING} \NC \NR
69 \NC --version \NC display version and exit \NC \NR
70 \NC --credits \NC display credits and exit \NC \NR
71 \NC --recorder \NC enable filename recorder \NC \NR
72 \NC --etex \NC ignored \NC \NR
73 \NC --output-comment=STRING \NC use \type {STRING} for \DVI\ file comment instead of
74 date (no effect for \PDF) \NC \NR
75 \NC --output-directory=DIR \NC use \type {DIR} as the directory to write files to \NC \NR
76 \NC --draftmode \NC switch on draft mode i.e.\ generate no output in \PDF\ mode \NC \NR
77 \NC --output-format=FORMAT \NC use \type {FORMAT} for job output; \type {FORMAT} is \type {dvi} or
78 \type {pdf} \NC \NR
79 \NC --[no-]shell-escape \NC disable/enable \type {\write18{SHELL COMMAND}} \NC \NR
80 \NC --enable-write18 \NC enable \type {\write18{SHELL COMMAND}} \NC \NR
81 \NC --disable-write18 \NC disable \type {\write18{SHELL COMMAND}} \NC \NR
82 \NC --shell-restricted \NC restrict \type {\write18} to a list of commands
83 given in \type {texmf.cnf} \NC \NR
84 \NC --debug-format \NC enable format debugging \NC \NR
85 \NC --[no-]file-line-error \NC disable/enable \type {file:line:error} style messages \NC \NR
86 \NC --[no-]file-line-error-style \NC aliases of \type {--[no-]file-line-error} \NC \NR
87 \NC --jobname=STRING \NC set the job name to \type {STRING} \NC \NR
88 \NC --[no-]parse-first-line \NC ignored \NC \NR
89 \NC --translate-file= \NC ignored \NC \NR
90 \NC --default-translate-file= \NC ignored \NC \NR
91 \NC --8bit \NC ignored \NC \NR
92 \NC --[no-]mktex=FMT \NC disable/enable \type {mktexFMT} generation with \type {FMT}
93 is \type {tex} or \type {tfm} \NC \NR
94 \NC --synctex=NUMBER \NC enable \type {synctex} \NC \NR
95 \stoptabulate
97 A note on the creation of the various temporary files and the \type {\jobname}.
98 The value to use for \type {\jobname} is decided as follows:
100 \startitemize
101 \startitem
102 If \type {--jobname} is given on the command line, its argument will be the
103 value for \type {\jobname}, without any changes. The argument will not be used
104 for actual input so it need not exist. The \type {--jobname} switch only
105 controls the \type {\jobname} setting.
106 \stopitem
107 \startitem
108 Otherwise, \type {\jobname} will be the name of the first file that is read
109 from the file system, with any path components and the last extension (the
110 part following the last \type {.}) stripped off.
111 \stopitem
112 \startitem
113 An exception to the previous point: if the command line goes into interactive
114 mode (by starting with a command) and there are no files input via \type
115 {\everyjob} either, then the \type {\jobname} is set to \type {texput} as a
116 last resort.
117 \stopitem
118 \stopitemize
120 The file names for output files that are generated automatically are created by
121 attaching the proper extension (\type {.log}, \type {.pdf}, etc.) to the found
122 \type {\jobname}. These files are created in the directory pointed to by \type
123 {--output-directory}, or in the current directory, if that switch is not present.
125 \blank
127 Without the \type {--lua} option, command line processing works like it does in
128 any other web2c-based typesetting engine, except that \LUATEX\ has a few extra
129 switches.
131 If the \type {--lua} option is present, \LUATEX\ will enter an alternative mode
132 of commandline processing in comparison to the standard web2c programs.
134 In this mode, a small series of actions is taken in order. First, it will parse
135 the commandline as usual, but it will only interpret a small subset of the
136 options immediately: \type {--safer}, \type {--nosocket}, \type
137 {--[no-]shell-escape}, \type {--enable-write18}, \type {--disable-write18}, \type
138 {--shell-restricted}, \type {--help}, \type {--version}, and \type {--credits}.
140 Now it searches for the requested \LUA\ initialization script. If it cannot be
141 found using the actual name given on the commandline, a second attempt is made by
142 prepending the value of the environment variable \type {LUATEXDIR}, if that
143 variable is defined in the environment.
145 Then it checks the various safety switches. You can use those to disable some
146 \LUA\ commands that can easily be abused by a malicious document. At the moment,
147 \type {--safer} \type {nil}s the following functions:
149 \starttabulate[|l|l|]
150 \NC \bf library \NC \bf functions \NC \NR
151 \NC \type {os} \NC \type {execute} \type {exec} \type {setenv} \type {rename} \type {remove} \type {tmpdir} \NC \NR
152 \NC \type {io} \NC \type {popen} \type {output} \type {tmpfile} \NC \NR
153 \NC \type {lfs} \NC \type {rmdir} \type {mkdir} \type {chdir} \type {lock} \type {touch} \NC \NR
154 \stoptabulate
156 Furthermore, it disables loading of compiled \LUA\ libraries and it makes \type
157 {io.open()} fail on files that are opened for anything besides reading.
159 \type {--nosocket} makes the socket library unavailable, so that \LUA\ cannot use
160 networking.
162 The switches \type {--[no-]shell-escape}, \type {--[enable|disable]-write18}, and
163 \type {--shell-restricted} have the same effects as in \PDFTEX, and additionally
164 make \type {io.popen()}, \type {os.execute}, \type {os.exec} and \type {os.spawn}
165 adhere to the requested option.
167 Next the initialization script is loaded and executed. From within the script,
168 the entire commandline is available in the \LUA\ table \type {arg}, beginning with
169 \type {arg[0]}, containing the name of the executable. As consequence, the warning
170 about unrecognized option is suppressed.
172 Commandline processing happens very early on. So early, in fact, that none of
173 \TEX's initializations have taken place yet. For that reason, the tables that
174 deal with typesetting, like \type {tex}, \type {token}, \type {node} and
175 \type {pdf}, are off|-|limits during the execution of the startup file (they
176 are nilled). Special care is taken that \type {texio.write} and \type
177 {texio.write_nl} function properly, so that you can at least report your actions
178 to the log file when (and if) it eventually becomes opened (note that \TEX\ does
179 not even know its \type {\jobname} yet at this point). See \in {chapter} [libraries]
180 for more information about the \LUATEX-specific \LUA\ extension tables.
182 Everything you do in the \LUA\ initialization script will remain visible during
183 the rest of the run, with the exception of the aforementioned \type {tex},
184 \type {token}, \type {node} and \type {pdf} tables: those will be
185 initialized to their documented state after the execution of the script. You
186 should not store anything in variables or within tables with these four global
187 names, as they will be overwritten completely.
189 We recommend you use the startup file only for your own \TEX|-|independent
190 initializations (if you need any), to parse the commandline, set values in the
191 \type {texconfig} table, and register the callbacks you need.
193 \LUATEX\ allows some of the commandline options to be overridden by reading
194 values from the \type {texconfig} table at the end of script execution (see the
195 description of the \type {texconfig} table later on in this document for more
196 details on which ones exactly).
198 Unless the \type {texconfig} table tells \LUATEX\ not to initialize \KPATHSEA\
199 at all (set \type {texconfig.kpse_init} to \type {false} for that), \LUATEX\
200 acts on some more commandline options after the initialization script is
201 finished: in order to initialize the built|-|in \KPATHSEA\ library properly,
202 \LUATEX\ needs to know the correct program name to use, and for that it needs to
203 check \type {--progname}, or \type {--ini} and \type {--fmt}, if \type
204 {--progname} is missing.
206 \section{\LUA\ behaviour}
208 \LUA s \type {tonumber} function may return values in scientific notation,
209 thereby confusing the \TEX\ end of things when it is used as the right|-|hand
210 side of an assignment to a \type {\dimen} or \type {\count}.
212 Loading dynamic \LUA\ libraries will fail if there are two \LUA\ libraries loaded
213 at the same time (which will typically happen on \type {win32}, because there is
214 one \LUA\ 5.2 inside \LUATEX, and another will likely be linked to the \DLL\ file
215 of the module itself). We plan to fix that later by switching \LUATEX\ itself to
216 using de \DLL\ version of \LUA\ 5.2 inside \LUATEX\ instead of including a static
217 version in the binary.
219 \LUATEX\ is able to use the kpathsea library to find \type {require()}d modules.
220 For this purpose, \type {package.searchers[2]} is replaced by a different loader
221 function, that decides at runtime whether to use kpathsea or the built|-|in core
222 \LUA\ function. It uses \KPATHSEA\ when that is already initialized at that point
223 in time, otherwise it reverts to using the normal \type {package.path} loader.
225 Initialization of \KPATHSEA\ can happen either implicitly (when \LUATEX\ starts
226 up and the startup script has not set \type {texconfig.kpse_init} to false), or
227 explicitly by calling the \LUA\ function \type {kpse.set_program_name()}.
229 \LUATEX\ is able to use dynamically loadable \LUA\ libraries, unless
230 \type {--safer} was given as an option on the command line. For this purpose,
231 \type {package.searchers[3]} is replaced by a different loader function, that
232 decides at runtime whether to use \KPATHSEA\ or the built|-|in core \LUA\
233 function. It uses \KPATHSEA\ when that is already initialized at that point in
234 time, otherwise it reverts to using the normal \type {package.cpath} loader.
236 This functionality required an extension to kpathsea:
238 \startnarrower
239 There is a new kpathsea file format: \type {kpse_clua_format} that searches for
240 files with extension \type {.dll} and \type {.so}. The \type {texmf.cnf} setting
241 for this variable is \type {CLUAINPUTS}, and by default it has this value:
243 \starttyping
244 CLUAINPUTS=.:$SELFAUTOLOC/lib/{$progname,$engine,}/lua//
245 \stoptyping % $
247 This path is imperfect (it requires a \TDS\ subtree below the binaries
248 directory), but the architecture has to be in the path somewhere, and the
249 currently simplest way to do that is to search below the binaries directory only.
250 Of course it no big deal to write an alternative loader and use that in a macro
251 package.
253 One level up (a \type {lib} directory parallel to \type {bin}) would have been
254 nicer, but that is not doable because \TEXLIVE\ uses a \type {bin/<arch>}
255 structure.
256 \stopnarrower
258 In keeping with the other \TEX|-|like programs in \TEXLIVE, the two \LUA\ functions
259 \type {os.execute} and \type {io.popen}, as well as the two new functions \type
260 {os.exec} and \type {os.spawn} that are explained below, take the value of \type
261 {shell_escape} and|/|or \type {shell_escape_commands} in account. Whenever
262 \LUATEX\ is run with the assumed intention to typeset a document (and by that we
263 mean that it is called as \type {luatex}, as opposed to \type {texlua}, and that
264 the commandline option \type {--luaonly} was not given), it will only run the
265 four functions above if the matching \type {texmf.cnf} variable(s) or their \type
266 {texconfig} (see \in {section} [texconfig]) counterparts allow execution of the
267 requested system command. In \quote {script interpreter} runs of \LUATEX, these
268 settings have no effect, and all four functions function as normal.
270 The \type {f:read("*line")} and \type {f:lines()} functions from the io library
271 have been adjusted so that they are line|-|ending neutral: any of \type {LF},
272 \type {CR} or \type {CR+LF} are acceptable line endings.
274 \type {luafilesystem} has been extended: there are two extra boolean functions
275 (\type {lfs.isdir(filename)} and \type {lfs.isfile(filename)}) and one extra
276 string field in its attributes table (\type {permissions}). There is an
277 additional function \type {lfs.shortname()} which takes a file name and returns
278 its short name on \type {win32} platforms. On other platforms, it just returns
279 the given argument. The file name is not tested for existence. Finally, for
280 non|-|\type {win32} platforms only, there is the new function \type
281 {lfs.readlink()} hat takes an existing symbolic link as argument and returns its
282 content. It returns an error on \type {win32}.
284 The \type {string} library has an extra function: \type {string.explode(s[,m])}.
285 This function returns an array containing the string argument \type {s} split
286 into sub-strings based on the value of the string argument \type {m}. The second
287 argument is a string that is either empty (this splits the string into
288 characters), a single character (this splits on each occurrence of that
289 character, possibly introducing empty strings), or a single character followed by
290 the plus sign \type {+} (this special version does not create empty sub-strings).
291 The default value for \type {m} is \quote {\type { +}} (multiple spaces). Note:
292 \type {m} is not hidden by surrounding braces as it would be if this function was
293 written in \TEX\ macros.
295 The \type {string} library also has six extra iterators that return strings
296 piecemeal:
298 \startitemize
299 \startitem
300 \type {string.utfvalues(s)}: an integer value in the \UNICODE\ range
301 \stopitem
302 \startitem
303 \type {string.utfcharacters(s)}: a string with a single \UTF-8 token in it
304 \stopitem
305 \startitem
306 \type {string.characters(s)} \NC a string containing one byte
307 \stopitem
308 \startitem
309 \type {string.characterpairs(s)} two strings each containing one byte or an
310 empty second string if the string length was odd
311 \stopitem
312 \startitem
313 \type {string.bytes(s)} a single byte value
314 \stopitem
315 \startitem
316 \type {string.bytepairs(s)} two byte values or nil instead of a number as
317 its second return value if the string length was odd
318 \stopitem
319 \stopitemize
321 The \type {string.characterpairs()} and \type {string.bytepairs()} iterators
322 are useful especially in the conversion of \UTF-16 encoded data into \UTF-8.
324 There is also a two|-|argument form of \type {string.dump()}. The second argument
325 is a boolean which, if true, strips the symbols from the dumped data. This
326 matches an extension made in \type {luajit}.
328 The \type {string} library functions \type {len}, \type {lower}, \type {sub}
329 etc.\ are not \UNICODE|-|aware. For strings in the \UTF8 encoding, i.e., strings
330 containing characters above code point 127, the corresponding functions from the
331 \type {slnunicode} library can be used, e.g., \type {unicode.utf8.len}, \type
332 {unicode.utf8.lower} etc. The exceptions are \type {unicode.utf8.find}, that
333 always returns byte positions in a string, and \type {unicode.utf8.match} and
334 \type {unicode.utf8.gmatch}. While the latter two functions in general {\it
335 are} \UNICODE|-|aware, they fall|-|back to non|-|\UNICODE|-|aware behavior when
336 using the empty capture \type {()} but other captures work as expected. For the
337 interpretation of character classes in \type {unicode.utf8} functions refer to
338 the library sources at \hyphenatedurl {http://luaforge.net/projects/sln}. Version
339 5.3 of \LUA\ will provide some native \UTF8 support.
341 \blank
343 The \type {os} library has a few extra functions and variables:
345 \startitemize
347 \startitem
348 \type {os.selfdir} is a variable that holds the directory path of the
349 actual executable. For example: \type {\directlua {tex.sprint(os.selfdir)}}.
350 \stopitem
352 \startitem
353 \type {os.exec(commandline)} is a variation on \type {os.execute}. Here
354 \type {commandline} can be either a single string or a single table.
356 If the argument is a table: \LUATEX\ first checks if there is a value at
357 integer index zero. If there is, this is the command to be executed.
358 Otherwise, it will use the value at integer index one. (if neither are
359 present, nothing at all happens).
361 The set of consecutive values starting at integer~1 in the table are the
362 arguments that are passed on to the command (the value at index~1 becomes
363 \type {arg[0]}). The command is searched for in the execution path, so there
364 is normally no need to pass on a fully qualified pathname.
366 If the argument is a string, then it is automatically converted into a table
367 by splitting on whitespace. In this case, it is impossible for the command
368 and first argument to differ from each other.
370 In the string argument format, whitespace can be protected by putting (part
371 of) an argument inside single or double quotes. One layer of quotes is
372 interpreted by \LUATEX, and all occurrences of \type {\"}, \type {\'} or \type
373 {\\} within the quoted text are unescaped. In the table format, there is no
374 string handling taking place.
376 This function normally does not return control back to the \LUA\ script: the
377 command will replace the current process. However, it will return the two
378 values \type {nil} and \type {'error'} if there was a problem while
379 attempting to execute the command.
381 On \MSWINDOWS, the current process is actually kept in memory until after the
382 execution of the command has finished. This prevents crashes in situations
383 where \TEXLUA\ scripts are run inside integrated \TEX\ environments.
385 The original reason for this command is that it cleans out the current
386 process before starting the new one, making it especially useful for use in
387 \TEXLUA.
388 \stopitem
390 \startitem
391 \type {os.spawn(commandline)} is a returning version of \type {os.exec},
392 with otherwise identical calling conventions.
394 If the command ran ok, then the return value is the exit status of the
395 command. Otherwise, it will return the two values \type {nil} and \type
396 {'error'}.
397 \stopitem
399 \startitem
400 \type {os.setenv('key','value')} sets a variable in the environment.
401 Passing \type {nil} instead of a value string will remove the variable.
402 \stopitem
404 \startitem
405 \type {os.env} is a hash table containing a dump of the variables and
406 values in the process environment at the start of the run. It is writeable,
407 but the actual environment is {\em not\/} updated automatically.
408 \stopitem
410 \startitem
411 \type {os.gettimeofday()} returns the current \quote {\UNIX\ time}, but as a
412 float. This function is not available on the \SUNOS\ platforms, so do not use
413 this function for portable documents.
414 \stopitem
416 \startitem
417 \type {os.times()}returns the current process times according to \ the
418 \UNIX\ C library function \quote {times}. This function is not available on
419 the \MSWINDOWS\ and \SUNOS\ platforms, so do not use this function for
420 portable documents.
421 \stopitem
423 \startitem
424 \type {os.tmpdir()} creates a directory in the \quote {current directory}
425 with the name \type {luatex.XXXXXX} where the \type {X}-es are replaced by a
426 unique string. The function also returns this string, so you can \type
427 {lfs.chdir()} into it, or \type {nil} if it failed to create the directory.
428 The user is responsible for cleaning up at the end of the run, it does not
429 happen automatically.
430 \stopitem
432 \startitem
433 \type {os.type} is a string that gives a global indication of the class of
434 operating system. The possible values are currently \type {windows}, \type
435 {unix}, and \type {msdos} (you are unlikely to find this value \quote {in the
436 wild}).
437 \stopitem
439 \startitem
440 \type {os.name} is a string that gives a more precise indication of the
441 operating system. These possible values are not yet fixed, and for \type
442 {os.type} values \type {windows} and \type {msdos}, the \type {os.name}
443 values are simply \type {windows} and \type {msdos}
445 The list for the type \type {unix} is more precise: \type {linux}, \type
446 {freebsd}, \type {kfreebsd}, \type {cygwin}, \type {openbsd}, \type
447 {solaris}, \type {sunos} (pre-solaris), \type {hpux}, \type {irix}, \type
448 {macosx}, \type {gnu} (hurd), \type {bsd} (unknown, but \BSD|-|like), \type
449 {sysv} (unknown, but \SYSV|-|like), \type {generic} (unknown).
450 \stopitem
452 \startitem
453 \type {os.version} is planned as a future extension.
454 \stopitem
456 \startitem
457 \type {os.uname()} returns a table with specific operating system
458 information acquired at runtime. The keys in the returned table are all
459 string valued, and their names are: \type {sysname}, \type {machine}, \type
460 {release}, \type {version}, and \type {nodename}.
461 \stopitem
463 \stopitemize
465 In stock \LUA, many things depend on the current locale. In \LUATEX, we can't do
466 that, because it makes documents unportable. While \LUATEX\ is running if
467 forces the following locale settings:
469 \starttyping
470 LC_CTYPE=C
471 LC_COLLATE=C
472 LC_NUMERIC=C
473 \stoptyping
475 \section {\LUA\ modules}
477 The implied use of the built|-|in Lua modules in this section is deprecated. If
478 you want to use one of these libraries, please start your source file with a
479 proper \type {require} line. At some point \LUATEX\ will switch to loading these
480 modules on demand.
482 Some modules that are normally external to \LUA\ are statically linked in with
483 \LUATEX, because they offer useful functionality:
485 \startitemize
487 \startitem
488 \type {slnunicode}, from the \type {Selene} libraries, \hyphenatedurl
489 {http://luaforge.net/projects/sln}. (version 1.1) This library has been
490 slightly extended so that the \type {unicode.utf8.*} functions also accept the
491 first 256 values of plane~18. This is the range \LUATEX\ uses for raw binary
492 output, as explained above.
493 \stopitem
495 \startitem
496 \type {luazip}, from the kepler project,
497 \hyphenatedurl{http://www.keplerproject.org/luazip/}. (version 1.2.1, but
498 patched for compilation with \LUA\ 5.2)
499 \stopitem
501 \startitem
502 \type {luafilesystem}, also from the kepler project, \hyphenatedurl
503 {http://www.keplerproject.org/luafilesystem/}. (version 1.5.0)
504 \stopitem
506 \startitem
507 \type {lpeg}, by Roberto Ierusalimschy, \hyphenatedurl
508 {http://www.inf.puc-rio.br/~roberto/lpeg/lpeg.html}. (version 0.10.2) This
509 library is not \UNICODE|-|aware, but interprets strings on a
510 byte|-|per|-|byte basis. This mainly means that \type {lpeg.S} cannot be
511 used with \UTF\ characters encoded in more than two bytes, and thus \type
512 {lpeg.S} will look for one of those two bytes when matching, not the
513 combination of the two. The same is true for \type {lpeg.R}, although the
514 latter will display an error message if used with multibyte characters.
515 Therefore \type {lpeg.R('aä')} results in the message \type {bad argument
516 #1 to 'R' (range must have two characters)}, since to \type {lpeg}, \type {ä}
517 is two 'characters' (bytes), so \type {} totals three. In practice this is
518 no real issue.
519 \stopitem
521 \startitem
522 \type {lzlib}, by Tiago Dionizio, \hyphenatedurl
523 {http://luaforge.net/projects/lzlib/}. (version 0.2)
524 \stopitem
526 \startitem
527 \type {md5}, by Roberto Ierusalimschy \hyphenatedurl
528 {http://www.inf.puc-rio.br/~roberto/md5/md5-5/md5.html}.
529 \stopitem
531 \startitem
532 \type {luasocket}, by Diego Nehab \hyphenatedurl
533 {http://w3.impa.br/~diego/software/luasocket/} (version 2.0.2). The \type
534 {.lua} support modules from \type {luasocket} are also preloaded inside the
535 executable, there are no external file dependencies.
536 \stopitem
538 \stopitemize
540 \stopchapter
542 \stopcomponent