fixed some messages (trunk, HH)
[luatex.git] / source / texk / web2c / luatexdir / NEWS
blob9dfed8895e7944f783c6b0d12eeb9f2c5ab5af9f
2 This file is in the public domain.
4 ==============================================================
5 Luatex beta-0.85.0 was released 2015111400 (5509)
6 ==============================================================
9 -- roadmap
11 The 0.85 release is has a lot of changes. It is the prelude to 0.90 which itself is
12 a prelude to the 0.95 that will go on texlive 2016. The 1.00 release will happen
13 around the 2016 context meeting. After that 2.* will become the next experimental
14 branch (leading to 3.*). The most important changes between 0.80 and 0.85 are mentioned
15 below. For more information consult the manual.
17 -- the backend commands
19 There is a better separation between front- and backend code. Some of the generic
20 \pdf* commands have been promoted to core primitives (with different names), some
21 have been removes like ximagecolordepth and ximagebbox have been removed and
22 all that are left have been organized differently. The backend is now more abstract
23 and provides three primitives only
25   \pdfextension <keyword> <optional spec>
26   \pdfvariable  <keyword>
27   \pdffeedback  <keyword>
29 The first replaces \pdfannot and alike, the second replaces the variables that can
30 be sused to control behaviour, and the third accesses the read only variables. See
31 luatex-pdf.tex in the context distribution for a plain definition file.
33 The big advantage of the separation (basically core (lua)tex + extensions) is that
34 changes in the backend don't have consequences for the frontend and it's easier to
35 locate possible issues in the code. We might split a bit more at the lua end too.
37 -- nodes
39 The boundary, dir and localpar whatsits are now normal nodes. The xforms and ximage
40 whatsits are now a special kind of rule nodes (subtypes 1 and 2) and known as box-
41 and image resources (see manual). Also, empty rules are now a valid subtype (subtype
42 3) with related commands \nohrule and \novrule.
44 At the lua end one can now access the fields of a spec subnode directly in the parent,
45 which has the benefit of more control and robust assignments (no need to check for
46 writeability) while we keep the concept of shared glue specs (tex internals). By
47 staying close to traditional TeX the Knuthian documentation still applies in most
48 cases.
50 The pdf action nodes are now pdf_action whatsit nodes (so no longer a pseudo core
51 node).
53 You can get the node subtypes with the node.subtypes function which adds a layer
54 of abstraction (foo.subtype = "string" might be added in the future).
56 -- expansion
58 The hz optimization already only supported level 2 optimization, but now has a variant
59 3 that does only stretch glyphs and not kerns. Pending is a change where we go back to
60 percentages instead of fractions of em.
62 -- math
64 The old/new codepath has been checked and italic correction which is fundamental
65 different between the engines has been (partially) redone.
67 We now have \mathsurroundskip that replaces mathsurround when it's non zero.
69 The \mathtoptions (old 1) directive can be used for testing. This primitive is mostly for
70 ourselves and used for development.
72 The \Umathcharclass, \Umathcharfam and \Umathcharslot primitives can be used to fetch
73 properties of a math character.
75 The new \Uleft, \Uright and \Umiddle fence operators accept "height <dimen>", "depth
76 <dimen>" and the "noaxis" keyword as well the "exact" keyword for non-fitting ones. There
77 is also \Uvextension. Optionally one can specify a 'class'.
79 The \Udelimiter[under|over] and \U[under|over]delimiter primitives accept a width as well
80 as left, middle and right keywords (for non fitting ones). There is also \Uhextension.
82 The \abovewithdelimiter command accepts 'exact' as keyword (before the dimension) which nils
83 the excessive spacing. The normal vgaps still apply.
85 We have a new fraction primitive \Uskewed with a companion \Uskewedwithdelims. Optional
86 keywords are 'noaxis' and 'exact'.
88 There is a new directive \mathdisplayskipmode (esp for controlling the > 0 below skip check).
90 With \mathscriptsmode you can fix anchoring of scripts (as needed for chemistry).
92 The \Umathaccent commands accept a width and fraction argument.
94 -- hyhenation
96 The discretionary command now accept an optional "penalty <number>" specification
97 where the penalty will be stored with the node. Default is hyphenpenalty.
99 -- file io
101 texio.write/write_nl now writes to file if the first argument is a (valid) number
102 reference to a file opened at the tex end
104 -- lua interface
106 The tex.<internal variable> is hopefully better now. The tex.get* also can handle
107 the built in registers. Especially prevdepth access should work out ok now.
109 -- and ...
111 As usual there are lots of small fixes, improvements, overhauls, small additions,
112 hopefully all mentioned in the manual.
114 -- warning
116 This version is probably not compatible with the macro package that you use as some
117 engine specific initializations need to take place (\pdf commands) and some node types
118 have been changed. We now have separated pdf backend commands and the only left
119 primitive categories are: core, (tex), etex and luatex, so no more pdftex, omega and
120 umath (where the distinction became to fuzzy). Of course you can still prefix.
124 ==============================================================
125 Luatex beta-0.81.0 was released 2015100722 (5350)
126 ==============================================================
130 * A couple of primitives are removed, renamed and/or promoted to core (luatex) primitives. 
131 Here's a summary. It might demand some adaption in the way macro packages initialize so we will mention them here explicitly in advance. As shown below, a simple way to get backward compatibility is to \let old ones to new ones. So,
133    Updating to this version also might demand an update in the
134    macro package that you use!
136 Here we go:
138 % removed, can be done with callbacks if needed, one can define dimen dummies, like
140 \newdimen\pdfeachlineheight
141 \newdimen\pdfeachlinedepth
142 \newdimen\pdflastlinedepth
143 \newdimen\pdffirstlineheight
144 \newdimen\pdfignoreddimen
146 % removed, were already obsolete, one can \let them
148 \let\pdftexversion \luatexversion
149 \let\pdftexrevision\luatexrevision
150 \let\pdftexbanner  \luatexbanner
152 % promoted (from pdftex), so pdf prefix gone, one can \let them
154 \let\pdfnormaldeviate \normaldeviate
155 \let\pdfuniformdeviate\uniformdeviate
156 \let\pdfsetrandomseed \setrandomseed
157 \let\pdfrandomseed    \randomseed
159 % promoted (from omega), so pdf prefix gone, one can \let them
161 \let\pdfpagewidth \pagewidth
162 \let\pdfpageheight\pageheight
164 % redundant (etex wins over omega), so \font-less ones gone, one can \let them
166 \let\chardp\fontchardp
167 \let\charht\fontcharht
168 \let\charit\fontcharit
169 \let\charwd\fontcharwd
171 % promoted (from aleph)
173 \pagerightoffset
174 \pagebottomoffset
176 % promoted (from pdftex)
178 \ifincsname
179 \expanded
180 \quitvmode
182 % removed (from pdftex), so *pdf* ones gone, one can \let them
184 \let\ifpdfabsnum   \ifabsnum
185 \let\ifpdfabsdim   \ifabsdim
186 \let\ifpdfprimitive\ifprimitive
187 \let\pdfprimitive  \primitive
189 % promoted (from omega)
191 \pagedir
192 \bodydir
193 \pardir
194 \textdir
195 \mathdir
197 % promoted (from aleph)
199 \boxdir
201 % promoted (from pdftex)
203 \lpcode
204 \rpcode
205 \efcode
206 \leftmarginkern
207 \rightmarginkern
209 \tagcode
210 \letterspacefont
212 % promoted (from pdftex), so *pdf* ones gone, one can \let them
214 \let\pdfprotrudechars\protrudechars
215 \let\pdfadjustspacing\adjustspacing
217 \let\pdfnoligatures  \ignoreligaturesinfont
218 \let\pdffontexpand   \expandglyphsinfont
220 % promoted (from pdftex), so *pdf* ones gone, one can \let them
222 \let\pdfsavepos \savepos
223 \let\pdflastxpos\lastxpos
224 \let\pdflastypos\lastypos
226 % on the todo list are:
228 \pdfoutput         : \outputmode
229 \pdfmatrix         : will get a normal syntax, no weird { } parsing
231 \pdfcolorstackinit : might become obsolete
232 \pdfcolorstack     : might become obsolete
234 So, apart from a few, the \pdf* primitives now relate to the backend only.
236 % There is also a new primitive:
238 \hyphenationmin
240 This one determines the minimum word length (per language).
241  At the same time we moved the (ex)hyphenpenalties 
242 in the disc nodes so you can inject discretionaries with specific penalties.
244 There will also be an updated manual.
245 Hans
248 * new epdf.openMemStream(s,l,docid)
249 to create a pdf from a lightuserdata or  string.
250 (experimental, do not use in production.)
252 * uniform random generator in mplib is now specific for each numbersystem;
254 * too_precise implemented for binary number system;
256 * several bug fixes.
259 ==============================================================
260 Luatex beta-0.80.0 was released 20150319 (5195)
261 ==============================================================
263 * New library newtokenlib. It will replace the current token lib.
264 * Fixed a bug on the normal random generator for double/decimal/binary
265   number systems.
266 * Several others bugs fixed.
269 ==============================================================
270 Luatex beta-0.79.3.1 was released 20150122 (5140)
271 ==============================================================
273 * Fixed a bug in  mp.w with a wrong input that gives a seg. fault.
277 ==============================================================
278 Luatex beta-0.79.3 was released 20150121 (5130)
279 ==============================================================
282 * It's now possible with the MinGW compilers to build luatex and luajittex as DLL 
283   for Windows 32bit/64bit.  The files are:
284   libkpathsea-6.dll  luajittex.exe  luatex.exe  texlua52.dll  texluajit.dll
285   In the next release the build.sh script be updated; for the moment just add
286   "--enable-shared -disable-native-texlive-build " after --disable-all-pkgs 
287   in TL_MAKE. 
288   Building as DLL was tested only for Windows.
290 * When possibile  symbols in the exe are now hidden: 
291   this should avoid conflicts with the loading of dynamic shared object.
293 * several bugfixes and improvements. The patches for MetaPost
294   fix seg. faults occourred with wrong inputs.
295   The functions:
296    mp_get_numeric_value, mp_get_string_value, mp_get_boolean_value 
297   works if the value is a variable (i.e. not an internal variable, 
298   a loop variable and a macro argument);
299   only mp_get_numeric_value now has support for loop variable
300   and internal variable (but still  not for macro arguments).
303 ==============================================================
304 Luatex beta-0.79.2 was released 20141111 (5082)
305 ==============================================================
308 * WARNING: the structure of the format file is changed.
309   After  the  Web2C \TeX's magic constant: "W2TX"  there is now
310   a FORMAT_ID, a 32bit field that cannot be between 0 and 256 (included)
311   so that there are no conflicts with the preexisting  structure
312   of the format.
313   The value can be seen with --debug-format and currently is
314   907 (the sum of the values of the bytes of the ASCII string "don knuth").
316 * There is a new set of lua functions for StructElement and Attribute,
317   convenient (even if not indispensable) for tagged pdf.
318   
320 * several bugfixes and improvements.
323 ==============================================================
324 Luatex beta-0.79.0 was released 20140328 (4960)
325 ==============================================================
327 * The luafontloader now returns 'tsidebearing' glyph values
328   for OT/TT fonts, if applicable.
330 * new lua variables: stats.luatex_hashtype, stats.luatex_hashchars,
331   stats.lastluaerrorstring; the luajittex string hash method is now
332   lua 5.1 compliant which gives better results for similar strings
334 * new lua functions: tex.init_rand(), tex.uniform_rand(),
335   tex.normal_rand(), tex.lua_math_randomseed(), tex.lua_math_random(),
336   tex.show_context(); these helpers make luatex and luajittex compatible
338 * In the lua node interface, there were often issues with rubbish
339   in (especially) 'prev' fields because luatex itself never looks
340   at those values. This is now cleaned up to prevent weird stuff
341   happening inside lua node processing code.
343 * pdf.pageattributes, pdf.pagesattributes, pdf.info, pdf.catalog,
344   pdf.names and pdf.trailer now behave consistent and can be used
345   to add these properties at the lua end in addition to their \pdf*
346   counterparts atthe tex end; there are now pdf.get* and pdf.set*
347   commands for them too (in future versions the old ways can become
348   obsolete)
350 * new accessors pdf.geth, pdfgetv, pdfgetpos, getgetmatrix as well
351   as pdfhasmatrix helpers (in future versions the direct pdf.h and
352   pdf.v accessor can become obsolete)
354 * the pdf.pdf* variables have been removed (they were already
355   obsolete for some years)
357 * a new properties mechanism for associating lua tables with nodes
358   that get cleaned up when nodes a freed (see manual for details)
360 * several improvements to the way temporary (backend) data is stored
361   at the lua end (better protection, more consistent)
363 * a 'l' type for user nodes that holds a lua variable (can be set
364   at the lua end)
366 * if a late lua node is set at the lua end the string value can be
367   a function as well which is then executed during serialization to
368   the backend stream
370 * Various small speedups
372 * Various smallish fixes to the node direct interface
374 * LPeg is now at version 0.12
376 * Some small fixes to the CFF (font) parsing
378 * Font file inclusion reporting messages on the terminal now
379   comply to the texconfig.trace_file_names setting
381 * Removed some of the additional luafontloader.info() return
382   information that was added in 0.78.2, but could not work
383   properly.
385 * new primitive \luafunction (see manual), with associated
386   lua.get_functions_table() function
388 * lua error message reporting has been altered a bit to make
389   the distinction between \directlua and other lua source code
390   sources clearer
392 * Additional pdf document data functionality in the 'pdf' table
393   has been cleaned up internally
395 * Additional pdf destination names can now be set via lua.
397 * New callbacks: finish_pdfpage, show_error_message,
398   show_lua_error_hook, start_file, stop_file
400 * Handling of \tracinglostchars is fixed
402 * Embedded metapost library version is now 1.900
404 * luajittex is now included in the distribution. One can use
405   buildjit.sh to build both luatex and luajittex, where
406   supported by the platform
408 * Synchronization with the TeXLive sources updated the following
409   libraries:
410   * libpng is now 1.6.10
411   * poppler is now 0.25.2
413 ==============================================================
414 Luatex beta-0.78.2 was released 20140113 (4748)
415 ==============================================================
417 * Extended luafontloader's info() function to include data
418   from the 'pfminfo' and 'names' structure.
420 * Fixed a bug in the luafontloader library that made loading
421   some fonts extremely slow (LastResort.ttf)
423 * Removed a recent extension in the luafontloader library that
424   made loading fonts with lots of glyphs slow (ArialUnicoce.ttf).
425   Note: the extension made sure that there were no duplicate
426   glyph names in the font after loading.
428 * Restored --recorder output for lua files (dofile/loadfile/io.open)
430 * One-at-a-time pattern adding from lua used to require enormous
431   amounts of memory
433 * luatex's fontloader.to_table() no longer reports 'altuni' table
434   information for alternates that are solely driven by the font
435   encoding. This fixes loading time issues for fonts that fill
436   encodings by copying a single glyph many times, like e.g.
437   LastResort.ttf from Apple.
439 * The datestamp no longer appears in any banners. The associated
440   \luatexdatestamp primitive is deprecated and will be removed
441   in 0.80.0.
443 * Synchronization with the TeXLive sources updated the following
444   libraries:
445   * cairo is now 1.12.16
446   * pixman is now 0.32.4
447   * lua is now 5.2.3
448   * zlib is now 1.2.8
449   * poppler is now 0.25.0
451 * That same TL synchronization also fixes these issues:
452   * Always write "\nendstream" to the PDF for PDF/A-1b compliance.
453   * Large file support (>4GB) in Lua
454   * Big images could overflow on systems where sizeof(long)=4.
455   * In writing CID CFF fonts to the PDF, and end_dict() was missing.
456   * Unknown 'post' table versions (found in some broken ttf/otf
457     fonts) are now treated as-if they specified version 3.0.
458   * Fix crashes on 32-bit systems caused by bad C header inclusion
459     order
460   * Handle '--luac' and '--luaconly' properly
461   * luatex is now released under GPLv2+, not just GPLv2.
462   * luatex can now find .ofm metric files even if the extension
463     is not given explicitly.
465 * node.unset_attribute() was broken in 0.78.0
467 * The UTF-8 commandline patch from 0.78.0 for Win32 was removed
468   again (did not work properly)
470 ==============================================================
471 Luatex beta-0.78.0 was released 20131231
472 ==============================================================
474 * Instead of using expanded fonts, just calculate the expanded
475   width of glyphs where needed, and carry expand info in the
476   glyph nodes (all based on Hans' suggestions). All font expansion
477   functions are disabled and most are removed.
479 * New, faster (but limited) direct node access from lua, see
480   the manual for details
482 * Support for Apple Advanced Typography (AAT) information in
483   fonts is dropped
485 * Extended build script for mingw/msys (includes 64-bit support)
487 * Various patches from/via Akira Kakuta for better Win32
488   integration
490 * Fixes for some bugs in de pdfscanner library (mostly related
491   to inline images)
493 * Maximum hyphenated word length is now 64Kb characters.
495 * Various patches from Khaled Hosny and Luigi Scarso for the
496   luafontloader subsystem
498 * Fix for a crash when re-dumping formats
500 * Fix for a Selene unicode library bug where some characters in
501   UTF-8 were incorrectly flagged as having the 'Space' property
503 * Some smaller fixes
505 ==============================================================
506 Luatex beta-0.76.0 was released 20130405
507 ==============================================================
509 * Metapost 1.801.
511 * Small patches from TeXLive 2013, as well as an update to the
512   latest libraries (libpng, poppler, etc.)
514 * Speed up printing (of TeX strings) to the terminal and log.
516 * New lua function node.end_of_math().
518 * Fixed a memory leak in the lua function pdfscanner.scan().
520 ==============================================================
521 Luatex beta-0.75.0 was released 20130301
522 ==============================================================
524 News:
526 * New expandable primitive \Uchar.
528 * Metapost 1.790.
530 * New version of lnodelib.c with speedups by Hans and Luigi.
531   Also added some extra sanity checks to the Lua node field
532   setting functions.
534 * Support 'umath' in tex.extraprimitives(), so that formats can
535   make the \Umath* primitives unprefixed, now that they will be
536   provided by XeTeX as well.
538 * Removed a bunch of deprecated primitives
539   * \AlephVersion, \Alephrevision, \Alephversion, \Alephminorversion
540   * \OmegaVersion, \Omegarevision, \Omegaversion, \Omegaminorversion
541   * \omathcode, \odelcode, \omathchardef, \omathchar, \omathaccent,
542     \odelimiter, \oradical
543   * \Umathbotaccent, \Umathaccents
545 * Fix large file support.
547 * Fix Lua's loadfile().
549 * Removed the cidmap callbacks again (let that be done by user lua
550   code after the fact).
552 * Removed the fatal error on fonts where num_glyphs is too high,
553   as that problem is actually harmless.
555 * Some compilation issues under Win32 and Solaris resolved.
557 * Allow math extender objects to be zero width.
559 * The 'epdf' library has been extended to deal with finding and
560   saving embedded files (catalog:numEmbeddedFiles() and catalog:
561   embeddedFile, new EmbFile object).
563 ==============================================================
564 Luatex beta-0.74.0 was released 20121224
565 ==============================================================
567 News:
569 * lua 5.2
570   There are no patches to the core Lua files; a future version
571   of luatex will switch to loading the regular lua 5.2 dynamic
572   library instead of depending on a statically compiled
573   one.
575 * A bleeding-edge version of luasocket is included, as there
576   is no 5.2-compatible official release yet.
578 * A new lua extension is the two-argument version of
579   string.dump from Luajit:
581     string.dump(function f, [boolean strip])
583 * mpost 1.780
585 * The implied existence of the following lua libraries is now
586   deprecated:
588      debug, unicode.*, luazip, lfs, lpeg, zlib, gzip, md5,
589      socket.*, profiler, epdf, fontloader, mplib, and
590      pdfscanner.
592   Future versions of luatex will load these modules on demand
593   from dynamic libraries.
595   Please update your sources to include a 'require' line for
596   each of the library modules mentioned.
598 * Two new callbacks: find_cidmap_file and load_cidmap_file
599   (used by the fontloader to discover .cidmaps)
601 ==============================================================
602 Luatex beta-0.72.0 was released 20121210
603 ==============================================================
605 News:
607 * update various used libraries, including mplib 1.770,
608   poppler 0.21, libpng 1.5, and lpeg 0.10.2.
610 * new 'pdfscanner' lua library.
612 * various OpenType math fixes, including \Umathcharnumdef.
614 * improved placement of bottom accents.
616 * various other small fixes that have accumulated over the past
617   year-and-a-half.
619 ==============================================================
620 Luatex beta-0.70.1 was released 20110519
621 ==============================================================
623 News:
625 * fixed: recorder file location from TL (Akira).
627 * fixed: missing newline on 'No output' line.
629 * fixed: relative names in synctex file.
631 * fixed: 16bit png images in generated %!PDF-1.4.
633 * fixed: building with (installed) libpng < 1.5.0
635 * fixed: year in --version output.
637 * fixed: box output to synctex.
639 * fixed: FontDescriptor for non-embedded OpenType fonts has an
640   invalid FontFile3 entry (#654)
642 * fixed: crash on non-existent images.
644 * fixed: small memory leak in the ipc code.
646 * fixed: tex.print() and tex.sprint() don't recognize -2 as the
647   first argument (#659)
649 ==============================================================
650 Luatex beta-0.70.0 was released 20110506
651 ==============================================================
653 News:
655 * fixed: various changes needed for libpng 1.5.2.
657 * fixed: node.fields() for nodes without subtype.
659 * fixed: non-argument use of os.execute().
661 * fixed: tex.[s|t|]print() with invalid catcode table arguments.
663 * fixed: recorder filename location with --output-directory.
665 * fixed: display alignment in TRT mode.
667 * luatex now uses the standard synctex files from Jérome Laurens.
670 ==============================================================
671 Luatex beta-0.66.0 was released 20110412
672 ==============================================================
674 News:
676 * fixed: linebreak_filter doesn't do its default job when
677   tex.linebreak is used
679 * fixed: \escapechar ignored by \meaning
681 * fixed: wrong px default
683 * fixed: font kern attribute inheritance
685 * fixed: "nop" unrecognized in virtual fonts
687 * fixed: assertion failure in dviluatex when font ptmr8t used
689 * fixed: tex.settoks for with strings with embedded zeroes
691 * fixed: an indexing problem with nonexistent font glyphs
693 * fixed: some crashes and other bugs on the 'subtype' and 'prev'
694   fields (not all node types have those fields)
696 * fixed: crash on  token.csname_id ("")
698 * fixed: initialize the statically allocated node's type ids
700 * fixed: fencepost error in math parameter counting
702 * fixed: math family numbers > 255 are allowed
704 * fixed: compilation failure on Hurd
706 * fixed: a small bug leading to displacements when reading
707   the AccentTop table
709 * fixed: \directlua followed by \pdfximage generates error if
710   draft mode is active
712 * fixed: a problem with \vadjust pre in alignments
714 * fixed: a lua stack growing problem in the backend in 0.65.0,
715   resulting in an inability to create more than a few thousand
716   generated pages
718 * fixed: inclusion of Scribus-generated pdfs
720 * adapt: the default form margin is now zero (was 1bp before)
722 * adapt: libpng 1.4.4, zzuplib 0.13.60, mplib 1.504
724 * adapt: small changes to the build system and new imports from
725   the texlive repository
727 * feature: new function node.currentattr() queries the current
728   active attribute list
730 * feature: Lua font loading; ignore unknown enumeration keys in
731   MathConstants
733 * feature: JPEG 2000 image support
735 * feature: continuing work on the 'epdf' library
737 * doc: the 'epdf' lua library is now documented
739 * doc: various other manual corrections
742 ==============================================================
743 Luatex beta-0.65.0 was released 20101213
744 ==============================================================
746 News:
748 * The Aleph and Omega version primitives are deprecated.
750 * The Apple Snow Leopard Truetype font collections now work
751   properly.
753 * Libpng has been updated to 1.4.4, and zlib to 1.2.5.
755 * New lua functions node.next() and node.prev().
757 * The already deprecated for some time node.protrusion_skipable()
758   function has been removed.
760 * fontloader.apply_featurefile() and fontloader.apply_afmfile()
761   now return nil,<errortable> on failure.
763 * The various node list fields in the lua node interface have
764   been renamed from 'list' to 'head', e.g. tex.box[0].head,
765   and the 'list' name is deprecated. For now, the deprecation
766   is silent, as 'list' will stay for quite some time. Please
767   update your lua source as soon as possible, though.
769 * The call node.type(<node>) now returns "node". The existing
770   functionality is otherwise unchanged.
772 * Luafilesystem has been updated to 1.5.0. NOTE: there is an
773   incompatible change in the directory iterator method.
775 * The restriction on linebreak_filter has been eased: at least one
776   horizontal box should be returned, but that is not necessarily
777   the last node any more.
779 * Backward compatibility has been restored for \meaning\mathchar
781 * node.first_character() has been renamed to node.first_glyph()
782   to better match its actual functionality.
784 * The \Umathaccent primitive now supports both/bottom keywords,
785   and \Umathbotaccent / \Umathaccents are now deprecated.
787 * The \Umathaccent primitive now also supports the fixed keyword,
788   which supports non-growing math accents even if the font says
789   there are extensible variants.
791 * Ongoing work on the epdf library.
793 Bugfixes:
795 * Assignment to \dimen65535 was broken earlier.
797 * <box>.head.prev is now always initialized to null (0).
799 * luatex -lua=<script> '\relax' no longer exits immediately,
800   instead going into interactive mode as it should.
802 * The \jobname was initialized wrongly for input file names
803   with multiple dots in them.
805 * The synctex file is now written in the right place when
806   --output-directory is given.
808 * \letterspacefont could cause crashes, especially when combined
809   with font expansion.
811 * Luatex would crash on linux32 systems if it was build in an
812   environment where LFS (>2GB files) was enabled by default.
814 * Node lists created by node.copy_list() could not be hyphenated
815   due to an assertion error.
817 * Synctex support was partially broken since 0.60.0.
819 * With OpenType math fonts, accents with multiple parts
820   (like the \vec arrow) forgot to include all parts if the
821   accentee was too narrow.
823 * With OpenType math fonts, accents over any class except 0 and 7
824   were misplaced.
826 * kpse.lookup("plain", {all = true}) was broken in kpathsea
827   itself (no extension given as well as --all specified).
829 * A FontForge bug made Cambria Math accents look bad, and the
830   placement of math top accents did not allow a marker at the
831   origin (patches by Stefan Philipp)
833 * Cut&Paste from PDF was sometimes broken due to bad ToUnicode map.
835 * Many small manual improvements (thanks to Paul Isambert)
837 * An other bugfix to lpeg 0.9 (from Roberto Ierusalimsky)
839 * Some small fixes to writet1.w (from Han The Thanh)
841 * A build failure because of bad libz configuration on Win32
843 ==============================================================
844 Luatex beta-0.64.0 was released 20101112
845 ==============================================================
847 News:
849 * New lua functions pdf.refobj(), pdf.maxobjnum() and pdf.objtype()
851 * New lua function node.is_node()
853 * The max_strings configuration variable's maximum value is
854   raised to be identical to texlive's maximum (2097151), and
855   same for param_size (32767).
857 * The embedded mplib is now 1.503.
859 * Minor cleanups in the output of fontloader.to_table():
861   - removed out-of-range altuni's from the output
862   - don't dump the extra encodings, just the actual font encoding
863   - export the encoding's name also as 'enc_name' at one level up
864   - no longer exporting unset macstyles, nor zero uniqueids
865   - fix creationtime and modification time
867 * Ongoing work on the epdf library
869 Bugfixes:
871 * Fix a bug where an explicit hyphen prevented hyphenation for the
872   whole rest of the paragraph
874 * Internal font copying forgot to copy the last font dimen
876 * os.selfdir() is now documented
878 * patch quad (\fontdimen6) in \letterspacefont to be compatible
879   with pdftex
881 * Multi-page pdf inclusion was very slow in 0.63.0
883 * Some extra checks added to the handling of glue_spec node
884   objects in lua code.
886 * Some node.prev pointers have been corrected (but this is not
887   quite finished).
889 * A small fix to lpeg 0.9.
892 ==============================================================
893 Luatex beta-0.63.0 was released 20100909
894 ==============================================================
896 News:
898 * Drop tex.ht[], tex.wd[], tex.dp[].
900 * Drop OCP support (and associated primitives).
902 * Add tex.catcode[], tex.lccode[], tex.sfcode[], tex.uccode[],
903   tex.mathcode[] and tex.delcode[] and associated functions.
905 * Add CIDset tables to the output pdf where appropriate.
907 * Added a 'string' field to late_lua nodes on the lua side. This
908   field does not convert the assigned string to a tokenlist.
910 * The result of fontloader.open() now has some virtual accessors
911   (as well as fontloader.to_table).
913 * There is now a `short reference' in the manual folder
914   (functionref.pdf)
916 Bugfixes:
918 * Fix a crash on an empty font (bugreport #468).
920 * Fix a crash for extremely long pattern arguments.
922 * Fix a crash on bad virtual character arguments in lua.
924 * Fix hyphenation exceptions.
926 * Prevent linebreak between initial local_par paragraph whatsit
927   and a following skip (bugreport #437).
929 * Fix placement of scripts on textstyle big operators in MATH
930   fonts (bugreport #466).
932 * Fix a crash on the return value of MPlib's 'postscript'
933   operation on images.
935 * Fix a crash on \leftghost & \rightghost in math mode.
937 ==============================================================
938 Luatex beta-0.62.0 was released 20100823
939 ==============================================================
941 News:
943 * LuaTeX now uses libpoppler (0.12.4) instead of xpdf.
945 * All backend functions now report what file they were searching
946   for whenever a file cannot be found.
948 * Input-ed lua files are now mentioned in the fls file if
949   the --recorder switch is specified on the command line.
951 * Paragraph indentation hlist nodes and hlist and vlist nodes
952   generated by alignment rows and cells now have a subtype
953   (3 for indent box, 4 for rows/columns, 5 for cells).
955 * The 'epdf' lib is in active development and still growing.
957 * The 'fontforge' table is finally removed (was deprecated
958   since 0.40).
960 Bugfixes:
962 * A new mplib import fixes two bad bugs in mplib:
963   - string equality test was wrong
964   - type declarations could delete pre-existing variables
966 * PNG images with transparency could create random size
967   differences in the generated PDF.
969 * In some special cases, font expansion could cause wrong
970   spacing in the generated PDF.
972 * \letterspacefont was broken since a very long time.
974 * The node subtype of the \leftskip and \rightskip glues was
975   wrong.
977 * Some memory leaks have been removed.
979 * Various manual fixes.
981 ==============================================================
982 Luatex beta-0.61.0 was released 20100728
983 ==============================================================
985 New features:
987 * New lua library 'epdf' for introspection of PDF inclusions,
988   see the manual for details.
990 * Mplib version 1.502 is now included (which is still beta,
991   so be careful).
993 * new "finish_pdffile" and "pre_dump" callbacks.
995 * new function pdf.pageref()
997 * In the lua 'tex' library: assignment to internal glue
998   parameters is now allowed.
1000 * New lua function tex.error().
1002 Bugfixes:
1004 * Fix for crashes on fonts with bad Panose values.
1006 * Fix for a box placement bug that could sometimes cause text
1007   to overlap.
1009 * Fix for a few small PDF/A1-a compatibility bugs.
1011 * Fix \letterspacefont.
1013 * Fix \Ustopdisplaymath in combination with aligned displays.
1015 * In math delimiters, the last of a chain of predefined sizes
1016   was always ignored if there were also extensible parts.
1018 ==============================================================
1019 Luatex beta-0.60.2 was released 20100701
1020 ==============================================================
1022 Bugfixes:
1024 * Various small portability fixes, especially for non-gcc
1025   compilers.
1027 * Updated synctex from Jerome Laurens.
1029 * fix bug #406: \pdfliteral hinders hyphenation.
1031 * fix pdf overprinting bug (related to \pdfliteral).
1033 * patch from Akira Kakuto that ensures that only absolute commands
1034 that are inside the %PATH% will be executed in win32's restricted
1035 \write18
1037 * fix a buffer overflow in luafontloader.
1039 * fix cross-platform share-ability of generated formats.
1041 * fix a few typos in the manual.
1043 * fix trashing of the null glue spec by attribute reference code.
1045 * documented the deprecated state and brokenness of otp processing.
1048 ==============================================================
1049 Luatex beta-0.60.1 was released 20100428
1050 ==============================================================
1052 New features:
1054 * renamed node.skipable() to node.skippable().
1056 * More git discovery patches in getluatexsvnversion.sh.
1058 * Added --warnings=[no|min|yes|max|all] option to build.sh.
1060 * While cross-compiling, build.sh now adds an extra linker switch
1061   to allow win32 exes to use 3G instead of 2G of virtual memory.
1063 Bugfixes:
1065 * os.exec() & os.spawn() handled the environment differently from
1066   os.execute() on Win32 (patch from Tomek)
1068 * Builds with --enable-ipc were broken.
1070 * Assigning and acquiring \fontdimen s from TeX code was broken.
1072 * An initial attempt at fixing bug #372 (\predisplaydirection).
1074 * An attempt to fix \eqno/\leqno placements in mixed direction
1075   \mathdir/\textdir.
1077 * Our local xpdf patch is reverted, it is not needed any more.
1079 * The os.selfdir variable was not documented, as well as broken
1080   on WIN32.
1082 * Fix "\input tikz hello \bye" bug, plus fix one sign error.
1084 * Fix handling of lua script files with UNC names.
1086 ==============================================================
1087 Luatex beta-0.60.0 was released 20100404
1088 ==============================================================
1090 New features:
1092 * os.name now knows about CYGWIN (from Elie Roux)
1094 * Internal handling of direction specifiers is faster now.
1096 * Each glyph node now has three new virtual read-only fields:
1097   width, height, and depth (values in scaled points, of course)
1099 * There are new functions node.protrusion_skipable() and
1100   tex.badness() (useful for paragraph breaking in lua)
1102 * Also new: tex.linebreak(). See the manual for details.
1104 * All lua errors now report file and line numbers to aid in
1105   debugging.
1107 * Import of metapost 1.211.
1109 * pdf.pdfcatalog will be replaced soon by the new pdf.catalog
1110   pdf.pdfinfo will be replaced soon by the new pdf.info
1111   pdf.pdfnames will be replaced soon by the new pdf.names
1112   pdf.pdftrailer will be replaced soon by the new pdf.trailer
1114 * pdf.pdfmapfile and pdf.pdfmapline are replaced by the new
1115   pdf.mapfile() and pdf.mapline() functions. (a function interface
1116   fits these parameters better because they never return anything).
1118 * New read-write lua variables: pdf.pageattributes, pdf.pageresources,
1119   pdf.pagesresources
1121 * getluatexsvnversion.sh now correctly detects git-svn and still
1122   manages to find a valid SVN revision number (from Patrick Gundlach)
1124 * Many of the source files have been converted to CWEB.
1126 Bug fixes:
1128 * GNU libtool is now used to solve the various technical issues with
1129   dynamic loading of lua modules.
1131 * Error detection in scan_integer_part was wrong due to missing
1132   initialization of OK_so_far (spotted by Javier Mugica)
1134 * Synctex was broken in 0.51-0.52.
1136 * \lastlinefit was broken since ... well, nearly forever.
1138 * Reading of binary files with length zero was broken.
1140 * Trapping of unitialized rules (this was for sloppily created
1141   rule nodes from lua)
1143 * pdf.immediateobj('streamfile') was broken on 64-bit platforms.
1145 * tex.linebreak did not take the given left and right skip, but
1146   instead used the current TeX-side values (bug #356).
1148 * the found 'MAKE' command in build.sh is now fed into configure to fix
1149   problems with that not finding GNU make even when it is actually
1150   installed.
1152 * dofile(<nil>) and loadfile(<nil>) in batch mode now give an
1153   error and continue instead of pointlessly waiting for user input.
1155 * Reverted commit #3417 (the buildpage experiment) as it causes bad
1156   things to happen when items are waiting during page breaks.
1158 * Overrule loaders[4] in --safer mode, make require() behave
1159   closer to normal lua 5.1, and add some nicer error messages
1160   (based on an email and patches from Manuel Pegourie-Gonnard)
1162 * Added an extra sanity check for GDEF loading in luafontloader,
1163   based on a crash caused by Linux' AkaashNormal.ttf.
1166 ==============================================================
1167 Luatex beta-0.52.0 was released 20100316
1168 ==============================================================
1170 New features:
1172 * Various small manual improvements.
1174 * A better version of getluatexsvnversion.sh, from Tomek.
1176 * node.copy_list() now allows the second (optional) argument to
1177   be nil.
1179 * An import of the current state of the texlive repository
1180   (kpathsea and build system).
1182 Bug fixes:
1184 * An attempt fix for bug #345 (math kerning is not perfect): when the
1185   current math font is a new math font, check against \catcode <cur_c>
1186   == 11 to suppress the italic correction, instead of looking at
1187   the value of space(<cur_f>).
1189 * There is a new <tfmtable> key: 'units_per_em' (defaults to 0).
1190   This is part of a fix for bug #200 (Problem with CFF fonts having
1191   em-size other than 1000): there is a special correction to the
1192   embedded cff font itself and the font scale if the font to be output
1193   is opentype or type1 in unicode encoding and the 'units_per_em
1194   differs' from zero.
1195   <tfmtable>.units_per_em has to be passed back to luatex from
1196   the lua font loading code for this to work.
1198 * A fix for bug #314 (problem with pk file).
1200 * lua code can no longer change the internal preallocated glue_spec
1201   nodes (as that resulted in weird spacing bugs). For this, glue_specs
1202   now have a new field: 'writable'. If that field is false, a copy
1203   has to be made of the glue_spec instead of doing an assignment
1204   to it.
1206 * Setting of \textdir inside the output routine could trash output
1207   on following pages due to a lingering internal variable.
1209 * \pdfthread crashed because the arguments were handled in reverse
1210   order.
1212 ==============================================================
1213 Luatex beta-0.51.0 was released 20100312
1214 ==============================================================
1216 New features:
1218 * Various small manual improvements.
1219 * The backend message "cannot open Type 1 font file for reading"
1220   now reports which Type1 font it was looking for.
1221 * Fontforge clears some font names at loading time that will be
1222   refilled in at font generation time, but the fontloader should not
1223   do that. Patch from Khaled Hosny.
1224 * New synctex code imported from TeXLive.
1225 * luamd5/md5.h is renamed to luamd5/luamd5.h to avoid confusion.
1226 * Embedded mplib is now 1.209.
1227 * Some experimental tweaking of buildpage_filter, see the manual
1228   for details.
1229 * Luatex now detects kfreebsd (from Alan Braslau)
1230 * The new lua function tex.sp() converts a string to a number
1231   representing scaled points.
1232 * There is now support for revision numbers in the banner and stats
1233   library again.
1234 * The command line help and manual documentation page is extended.
1235 * node.hpack() now also accepts "cal_expand_ratio" and "subst_ex_font"
1236   modifiers.
1237 * node.hpack() and node.vpack() now give back the badness of the box
1238   as second return value.
1239 * node.copy_list() now allows a second (stop) argument, this stopper
1240   is not copied.
1241 * new lua functions in lfs: lfs.readlink() and lfs.shortname().
1242 * new lua function tex.tprint() that can combine multiple catcode
1243   regime prints in one function call.
1244 * new lua sub-table: tex.nest[] (read/write access to the semantic
1245   nest state).
1246 * New lua functions in kpse: kpse.lookup() and kpse.version(). See
1247   the manual for more details.
1248 * New lua function tex.shipout().
1250 Bug fixes:
1252 * There problems in the pdf output for Type3 (pk) fonts.
1253 * Fix a bug that allowed bad commandline quoting.
1254 * Fix a bug that sometimes caused crashes when \pdfprotrudechars.
1255 * The build script now exports CONFIG_SHELL to avoid problems with
1256   /bin/dash.
1257 * The was a bug in the generated /Image /ProcSet.
1258 * status.font_bytes reported the wrong value.
1259 * Lots of compiler warnings are removed (thanks Javier Mugica).
1260 * Patch to fontloader.info() to accept filenames with embedded
1261   parentheses.
1262 * Fix a \write error with docstrip package.
1263 * Fixed a crash on AdobeMyungjoStd-Medium.otf.
1264 * Fix coco stack overflows, needed for lpeg.
1265 * \pdfcompresslevel wasn't initialized for early immediate objects.
1266 * Fix for slanted fonts when HZ was on (slant angle was multiplied).
1267 * When concatenating content streams, put a space between them.
1268 * Allow pfb lines to end with \r as well as \n (for msam10.pfb).
1269 * Fix the internal string->scaled point conversion in the lua
1270   interface.
1271 * Memory leaks in the fontloader removed, thanks to patches from
1272   Elie Roux.
1273 * Fix a crash caused by the combination of coroutines and font.each().
1275 Removed features:
1277 * Support for Type3 .pgc files (nobody used them).
1279 ==============================================================
1280 Luatex beta-0.50.0 was released 20091224
1281 ==============================================================
1283 New features:
1285 * Fonts now listen also to the 'extend' key in the lua font
1286   metrics table, and the processing for this is done via de
1287   pdf text matrix instead of via the font matrix, which means
1288   it now works for all font types.
1290 * The embedded Metapost library is now at version 1.209.
1292 Dropped features:
1294 * It is no longer possible for fonts from embedded pdf files
1295   to be replaced by / merged with the document fonts of the
1296   enveloping pdf. This regression may be temporary, depending
1297   on how the rewritten font backend will look after beta 0.60.
1299 Bug fixes:
1301 * Use of \middle confused the \mathstyle operation.
1303 * \pdfcolorstack handling was broken.
1305 * node.unset_attribute() had a bug whereby it inverted the
1306   requested result in some cases (the node on which the unset
1307   was called was sometimes the only node at the current level
1308   that *kept* the attribute).
1310 * During font expansion, the internal font copy had one character
1311   information object less than the original, resulting in the
1312   disappearance of a glyph in some fonts when font expansion
1313   was active.
1315 * Placement of operator scripts of OT MATH fonts is adjusted
1316   to be conformant with Word's logic where the italic correction
1317   is only used to tuck in the subscript and for nothing else.
1319 * luafontloader.open() no longer writes directly to stderr in
1320   case of internal font errors.
1322 * Any <pdf_refobj_node>.objnum could not be assigned to.
1324 * The lua 'pdf' table could not be assigned to.
1326 * The lua 'md5' library was returning incorrect results on
1327   64-bit architectures.
1329 * Luatex now compiles on GNU Hurd systems.
1331 * Fix segfault when embedding stream file object (these
1332   backend segfaults were a side-effect of the string pool
1333   patches).
1335 ==============================================================
1336 Luatex beta-0.47.0 was released 20091218
1337 ==============================================================
1339 New features:
1341 * New read-write lua variables pdf.pdfcatalog, pdf.pdfnames,
1342   pdf.pdfinfo, pdf.pdftrailer
1344 * The horizontal mode nodes that are added to lines during line
1345   breaking now inherit the attributes from the first and last node
1346   inside the created line.
1348 * The new function pdf.registerannot(<number>) registers an
1349   annotation object number to be included in the current
1350   page's /Annots list.
1352 * The variables <metrics>.Mathconstants.FractionDelimiterSize
1353   and <metrics>.Mathconstants.FractionDelimiterDisplayStyleSize
1354   are added to the font table. This allows proper setting of the
1355   size parameters for TeX's ...withdelims math primitives.
1357 * The internal representation of the string pool is reorganized
1358   (the pool of string characters is now allocated dynamically),
1359   and as a side-effect the lua variable status.init_pool_ptr
1360   is deprecated and will be removed in a later version. Also,
1361   status.pool_ptr now simply returns the current number of bytes
1362   in use for string characters.
1364 * There are new lua variables pdf.pdfmapline and pdf.pdfmapfile
1365   (write-only strings that mimic \pdfmapline and \pdfmapfile).
1367 * \pdfobj data and attribute are now stored as C strings instead
1368   of as token lists (this should speed up cases with a lot of data).
1370 * Artificially slanted fonts now work via the pdf text matrix
1371   (instead of adjusting the actual font) so that it now also
1372   works for non-Type1 fonts. The lua <metrics>.slant font key is
1373   now obeyed in all cases.
1375 * The lua function font.id(<string>) returns the internal font id
1376   number belonging to a control sequence name.
1378 * Pdf image inclusion is optimized such that objects from an
1379   external pdf will now be included only once even if they are
1380   referenced from multiple inclusions.
1382 Bug fixes:
1384 * Protrusion for non-TLT documents did not work properly for
1385   the hyphenation character.
1387 * \lastbox could not remove the paragraph indent box for non-TLT
1388   documents.
1390 * Pdf images (\pdfximage) are no longer kept open during the
1391   whole run, but closed and reopened. An error is raised if
1392   the file has changed between \pdfximage and \pdfrefximage.
1393   This prevents the 'too many open files' error when lots of
1394   images are included.
1396 * On Win32 Pdf image files are locked during the time that it is
1397   open, to prevent unnoticed file changes by external sources.
1399 * Compilation now again works on FreeBSD.
1401 * Format sharing between 32-bit and 64-bit architectures was
1402   broken.
1404 * Unsetting attributes from lua could sometimes result in
1405   the unset state persisting beyond the current group level.
1407 * If something went wrong in the scanning of pdf action items,
1408   the error message reported the current primitive name
1409   incorrectly.
1411 * Luatex would crash on non-existant pdfs that were referenced
1412   from map file entries.
1414 ==============================================================
1415 Luatex beta-0.46.0 was released 20091126
1416 ==============================================================
1418 New features:
1420 * The build.sh script now has better support for new MacOSX-es
1421   (patch from Mojca).
1423 * Luatex now has experimental support for dynamic loading of
1424   external compiled lua libraries. Building luatex and loading
1425   external .so/.dll files is reported to work on Windows,
1426   linux and osx, other platforms are still unknown.
1428 * pdf.obj{type="stream"} no longer converts its argument to and
1429   from a tokenlist. This allows the use of binary data in the
1430   "string" argument. Such data does still have to hidden from
1431   the normal file parser by putting the code in a dofile()
1432   or by using string.char(), though.
1434 Bug fixes:
1436 * Luatex 0.45.0 was not able to find truetype nor opentype fonts
1437   if there were no callbacks defined (patch from Pawel).
1439 * 0.45.0 printed the user input instead of the full pathname
1440   for \input-ed tex files.
1442 * The TFM reader now rejects fonts with tfm names that are
1443   longer than 255 characters because such font names cannot
1444   be stored in a DVI file.
1446 * The combination of \immediate\pdfxform followed by a later
1447   \pdfrefxform could cause broken pdf output files because
1448   the box used for the form could have been freed and even
1449   reused already at that moment in time, sometimes resulting
1450   in an invalid transformation matrix.
1452 * The placement of super- and subscripts for displaystyle
1453   \int's in CambriaMath is now better than before. It still
1454   needs a tweak to the metrics though: in the current version,
1455   the italic correction has to be substracted from the width
1456   of the integral sign to get correct placement (context mkiv
1457   does this).  to be continued ...
1459 ==============================================================
1460 Luatex beta-0.45.0 was released 20091118
1461 ==============================================================
1463 New features:
1465 * Loading big OTF fonts via lua is now much faster than before,
1466   at the expense of a bit of precision loss in the calculated
1467   bounding boxes.
1469 * Two new token lists are provided: \pdfxformresources and
1470   \pdfxformattr, as an alternative to \pdfxform keywords.
1472 * \input and \openin now accept braced filenames.
1474 * The \endlinechar can now be set to any value between 0 and 127.
1476 * Luatex can now optionally use kpathsea to find lua require()
1477   files.
1479 * The new primitives \aligntab and \alignmark are aliases for
1480   the use of & and # in alignments.
1482 * \pdfrefximage [width <dimen>] [height <dimen>] [depth <dimen>] <imageref>
1483   overrules settings from \pdfximage for this \pdfrefximage call only
1485 * The print precision for small numbers in lua code (tostring)
1486   has been improved.
1488 * Akira Kakuto suppled a patch that restricts writing to files
1489   with names such as latex.bat etc. (on windows only)
1491 * (un-feature): from now on luatex now only handles 4 direction
1492   specifiers: TLT (latin), TRT (arabic), RTT (cjk), and LTL
1493   (mongolian). The other directions now generate an error.
1495 * (un-feature): xpdf's automatic lower- and uppercasing retry attempts
1496   for nonfound image pdf files has been removed.
1498 * The callbacks hpack_filter, vpack_filter and pre_output_filter
1499   pass on an extra string argument for the direction, when known
1500   (nil == use default).
1502 * The lua functions node.hpack(), node.vpack() and node.dimensions()
1503   now accept an optional direction argument (not given == use default).
1505 * \pdfrefxform [width <dimen>] [height <dimen>] [depth <dimen>] <formref>
1506   scales a form object; similar principle as with \pdfximage: depth alone
1507   doesn't scale, it shifts vertically.
1509 * A change to the relative ordering inside font name discovery for use
1510   by the backend: now it tries <f>.psname first, as that is much less
1511   likely to contain spaces.
1513 * For ttc fonts, now the used subfont name and its index id are printed
1514   to the terminal, and if the backend cannot find a ttc subfont, the
1515   run is aborted.
1517 Bug fixes:
1519 * Prevent crashes for lua-loaded fonts without a (tfm) name.
1521 * Remove spurious newlines in the output pdf that could be the
1522   result of using \pdfximage for an included pdf figure too early.
1524 * Full font embedding for wide otf and ttf fonts now really
1525   works (older versions only pretended that it did work).
1527 * node.dimensions() sometimes continued past the 'stop' node.
1529 * Images inside virtual fonts were broken.
1531 * The processing of \language=-1 was wrong, resulting in
1532   hyphenation attempts even though there was no proper language
1533   set up.
1535 * Fix for finding files in --output-directory.
1537 * Fix for handling of --file-line-error.
1539 * tex.box[] assingments are now checked to make sure the assigned
1540   node has the right id (hlist or vlist).
1542 * show_node_list (as in \showbox) produced spurious local_par
1543   whatsit prints in the output after direction nodes.
1545 * The handling of pdf literals has been sped up.
1547 ==============================================================
1548 Luatex beta-0.44.0 was released 20091027
1549 ==============================================================
1551 New features:
1553 * libpng is now 1.2.40.
1555 * hlist nodes now have a subtype to distinguish hlists generated
1556   by the paragraph breaking, explicit \hbox commands, and other
1557   (as-yet-undefined) sources.
1559 * \pdfobj now has an extra optional keyword: 'uncompressed',
1560   which forces the object to be written to the PDF in plain
1561   text (see the manual for the exact details).
1563 * The lua file from the luamd5 library (which provides the
1564   md5.hexsuma() function) is now embedded in the executable.
1566 Bug fixes:
1568 * \latelua now works in DVI mode again.
1570 * status.output_file_name could crash when used too soon.
1572 * In 0.43, rules were not output at all in DVI mode.
1574 * \leavevmode\penalty-10000\penalty-10000 crashed luatex.
1576 * the API of margin kern nodes to lua was using the wrong
1577   fields in the nodes.
1579 * A few fixes to the manual.
1581 * PDF Xref stream dicts were slightly non-conformant.
1583 * There was too much space between two consecutive math displays
1584   (this bug was inherited from Aleph)
1586 * Synctex was broken (thanks, Akira)
1588 * Font mark classes were handled incorrectly by the fontloader
1589   code.
1591 * There was a crash possible with certain types of named PDF
1592   destinations.
1594 * Math delimiters and large operators in new MATH fonts no
1595   longer apply the italic correction (this fixes placements
1596   of super- and subscripts on such items for those fonts).
1598 * The converter from lua strings to token lists (for the node
1599   interface) sometimes generated invalid tokens.
1601 * CFF (OpenType) fonts now listen to 'embedding="full"'. TTF
1602   is still todo.
1604 * Font tables with 'embedding="no"' would cause luatex to crash.
1606 * \pdfobj file {} failed to find the file if there was no lua
1607   callback in place.
1609 * An optimization in MS Mincho caused luatex to crash.
1611 ==============================================================
1612 Luatex beta-0.43.0 was released 20090819
1613 ==============================================================
1615 New features:
1617 * There is a new allowed key in the table trhat is returned
1618   by lua-loaded fonts: <f>.psname. This value should be set
1619   to the original PostScript font name of the font. Fonts inside
1620   dfont and ttc collections are fetched using this field
1621   (if it is missing, <f>.fullname will be used instead).
1623 * It is now possible to use Apple dfont font files
1624   (those that contain at least one outline font).
1626 * \latelua is now allowed inside leaders.
1628 * There is a new callback: process_output_buffer, from Manuel
1629   Pégourié-Gonnard. This callback is called just before
1630   \write acts, so it can be used to alter the file encoding
1631   of text output files.
1633 * There is a new node.dimensions() function, which calculates
1634   the natural size of (part of) a list of nodes.
1636 * The new primitive \gleaders provides 'globally aligned'
1637   leaders.
1639 * The DVI and PDF backends now share much code internally.
1641 * The embedded MPlib is now 1.207.
1643 * libpng is now 1.2.39.
1645 Bugfixes:
1647 * We fixed lots of anonymous bugs introduced in 0.42.0 (as expected)
1649 * fontloader.info() errors are no longer fatal, the function now
1650   just returns a nil,"error string" pair.
1652 * Automatically inserted kerns for \accents are now once again
1653   valid word ends, as in \TEX.
1655 * Fixed the placement of math displays in mixed direction
1656   settings.
1658 * The \pdfcompresslevel is now dynamic again.
1660 ==============================================================
1661 Luatex beta-0.42.0 was released 20090717
1662 ==============================================================
1664 * There is a new node.tail() function
1666 * lua-loaded fonts now support a 'nomath' key to speed up
1667   loading the lua table.
1669 * A bugfix in the ttf reader for the inclusion backend, and
1670   (also in the backend) support for treating ttc files by
1671   pretending they are single ttf fonts (both patches from pdftex)
1673 * Add Khaled Hosny's man page to the repository
1675 * The \pdfcompresslevel is now effectively fixed as soon as
1676   output to the pdf file has occurred.
1678 * Patched status.filename so that it (nearly) always returns a
1679   file name.
1681 * fix '\the\delcode' and disable '\the\odelcode', '\the\Udelcode',
1682   and '\the\Udelcodenum'
1684 * Handle jfifs where either xres or yres is 0 and the other
1685   res is != 0 (from pdftex)
1687 * The single-argument version of lang.hyphenate() was broken.
1689 * Get rid of the \directlua/\latelua number warning.
1691 * The Lua coroutine patch (coco) is now disabled on linux
1692   powerpc architectures (because it caused crashes)
1694 * Removed obsolete pdftex primitives:
1695   \pdfoptionalwaysusepdfpagebox
1696   \pdfoptionpdfinclusionerrorlevel
1697   \pdfforcepagebox
1698   \pdfmovechars
1700 * The loading speed of large fonts (especially ttf) via the
1701   fontloader library, and the inclusion speed for subsetting
1702   in the backend have both been improved.
1704 * The 'pdf' lua library has been enhanced with various new
1705   functions, see the manual for details.
1707 * BLT and BRT glyph position fixed.
1709 * Various fixes for synctex offsets.
1711 * Support for exotic font string encodings has been removed
1712   from the fontloader library.
1714 * The embedded MPlib is now 1.205.
1716 * libpng is now 1.2.38.
1718 ==============================================================
1719 Luatex beta-0.40.6 was released 20090625
1720 ==============================================================
1722 * Fix two string vs. toks bugs in the lua node interface:
1723   whatsit,annot and whatsit,startlink data assignments were
1724   made directly as strings instead of being converted to tokens.
1726 * Sometimes pdf.print() could be used before the proper structures
1727   were initialized.
1729 * There was a bug in the type codes for the lua package filter
1730   callback: wrong extra info was passed to lua for the alignment
1731   and vsplit cases.
1733 * The math parameters \Umathlimitdownvgap, \Umathlimitdownbgap,
1734   and \Umathlimitdownkern have been renamed to \Umathlimitbelowbgap,
1735   \Umathlimitbelowvgap, and \Umathlimitbelowkern to be more
1736   consistent with the other parameter names.
1738 * The embedded MPlib is now 1.204.
1740 * Handling of UTF-8 hyphenation exceptions has been fixed.
1742 * There were a number of typos in the manual.
1744 ==============================================================
1745 Luatex beta-0.40.5 was released 20090610
1746 ==============================================================
1748 * One of the internal print functions accidentally encoded its
1749   argument string to UTF-8 even though it was already UTF-8.
1751 * Some of the log and terminal UTF-8 output was gibberish.
1753 ==============================================================
1754 Luatex beta-0.40.4 was released 20090609
1755 ==============================================================
1757 * \the\textfont0 returned a number instead of doing a font
1758   switch.
1760 * The embedded MPlib is now 1.203.
1762 ==============================================================
1763 Luatex beta-0.40.3 was released 20090608
1764 ==============================================================
1766 * A set of portability fixes for the AIX compiler from Vladimir
1767   Volovich.
1769 * A set of fixes to the synctex support.
1771 * A patch to the build script to prevent installed X11 headers
1772   from being required.
1774 * Some weave (web syntax) fixes from Manuel Pégourié-Gonnard.
1776 * A simplification in luatex.ch (it is now less verbose
1777   about the web2c-specific extensions) from Karl Berry.
1779 * A fix in the handling of UTF-8 (input) file names.
1781 * Hyphenation exceptions were case sensitive in 0.40.2.
1783 * libpng is now 1.2.37.
1785 ==============================================================
1786 Luatex beta-0.40.2 was released 20090603
1787 ==============================================================
1789 * Fix for a compilation warning under Cygwin.
1791 * A complicated bugfix by Hartmut for a rounding problem in the
1792   VF loading that resulted in 'character width mismatch in font
1793   XY.vf ignored' messages at large load sizes
1795 * The embedded MPlib is now 1.202.
1797 * The post_page_number callback was accidentally run when
1798   shipping out xforms as well as during actual pages.
1800 * When a math accent char doesn't have a bot_accent placer,
1801   luatex now uses the top_accent placer, if present.
1803 * A crash caused by \Uroot .. {<list>}{...} is fixed
1805 * A portability fix for solaris 8 sparc using sun studio
1806   compiler, and one for glibc > 2.9.90
1808 * luatex -ini now sets the \catcode of the BOM character to
1809   ignore
1811 * Kpathsea is updated from TeXLive, giving four extra types of
1812   searchable files: 'font feature files','cid maps','mlbib',
1813   and 'mlbst'.
1815 * libpng is now 1.2.36
1817 ==============================================================
1818 Luatex beta-0.40.1 was released 20090508
1819 ==============================================================
1821 * Vertical placement of root radicals and degrees is fixed.
1823 * The use of \pageleftoffset could deviate from \hoffset
1824   if \mag != 1000.
1826 * LuaTeX now issues a warning if \pagedir !- \bodydir during
1827   shipout.
1829 * The previous crash in font.read_tfm() was still not quite
1830   correct.
1832 * The Web2C version is now also printed in the --version
1833   and --credits output.
1836 * There is a new MPlib 1.200 release candidate with a few minor
1837   fixes included.
1839 * The xpdf library is updated to patch level 3.
1841 * New imports to the build system, from texlive. In particular,
1842   there is now configure-level support for building with
1843   libpoppler and support for building under cygwin 1.7 is added.
1845 ==============================================================
1846 Luatex beta-0.40.0 was released 20090422
1847 ==============================================================
1849 * The embedded MPlib is updated to version 1.200.
1851 * Texlua would crash if run font.read_tfm() was used.
1853 * Luatex would crash on empty \patterns.
1855 * Lots of small C code cleanups.
1857 * \textdir inside a \hbox dir *** was wrong earlier.
1859 * 0.39.0 introduced a bug that would make luatex crash whenever
1860   font expansion was used.
1862 * Font tables returned by define_font can now have a key named
1863   'cache' that controls the internal lua font table caching.
1865 * There is no longer a need for an explicit --progname if there
1866   is no input file given.
1868 ==============================================================
1869 Luatex beta-0.39.0 was released 20090415
1870 ==============================================================
1872 * iniluatex will from now on start up with only the TeX82 primitives
1873   and \directlua, everything else has to be bootstrapped via
1874   tex.enableprimitives(). This change was planned for 0.40.0,
1875   but *now* is the time to test it.
1877 * A bugfix for \primitive in various expandable contexts,
1878   and \primitive now generates an error message when the
1879   argument is not actually a primitive's name.
1881 * There was a bug found in the math accent handling.
1883 * Large math operators are now treated like extensible characters
1884   in the sense that they can be composed of segments.
1886 * The extra assign- and restore tracing information from eTeX
1887   had a massive bug because of a dangling else in the pascal web.
1888   As a side-effect of fixing this bugs, all such potential errors
1889   in the pascal web have been fixed (for now).
1891 * The math parameters can now be set and queried from lua code
1892   via the new tex.setmath() and tex.getmath() functions.
1894 * Reflection in a \hbox was broken.
1896 * There was a leak of direction nodes in the paragraph builder.
1898 * The font backend now does a small peek to differentiate
1899   truetype and postscript style opentype fonts. This fixes
1900   the "Can't find CFF table" bug for otf's with truetype outlines.
1902 * Parameters and registers can now also be assinged to globally
1903   from lua (see the manual for details).
1905 * It is now possible to query the current math style while a
1906   formula is still being constructed by using the new read-only
1907   value \mathstyle. Associated is the new command \Ustack that
1908   is to be used as a prefix for {.. \over ..} and friends.
1909   See the manual for more information.
1911 * The embedded MPLib is brought up to date with the current
1912   metapost repository (version 1.110 and a few small patches).
1914 * Luatex can now handle two breakpoints inside a single ligature
1915   (like for the functional word of-f-ice). The solution is not
1916   perfect yet, but the chance of missed hyphenation points in
1917   actual documents should now be negligible.
1919 * Some speedups in the font loading code, and in the handling of
1920   pdf_literal nodes that are set from within Lua code.
1922 * Some source code and manual cleanup, as usual.
1924 ==============================================================
1925 Luatex beta-0.38.0 was released 20090410
1926 ==============================================================
1928 * tex.enableprimitives() had a bug were previously defined (but
1929   currently undefined) control sequences prevented the creation
1930   of the new csname.
1932 * The special calling format callback.register('name', false)
1933   not only disables the callback, but also the builtin code it
1934   is supposed to replace.
1936 * Empty \localleftbox and \localrightbox -es are now suppressed.
1938 * Support for <f>.MathConstants.SubscriptShiftDownWithSuperscript
1939   was added, to solve the lack of "sub2" in OpenType math.
1941 * Luatex now supports horizontal super- and subscript placement
1942   corrections via the OpenType MATH mathkern table. See the
1943   manual for details.
1945 * node.write() no longer copies its argument node list before
1946   appending it.
1948 * There are six new primitives that are verbose forms
1949   of one and two byte special tokens:
1950   \Usuperscript \Usubscript
1951   \Ustartmath \Ustopmath
1952   \Ustartdisplaymath \Ustopdisplaymath
1954 * The attribute node leaks in math mode and alignmetns have been
1955   fixed.
1957 * The 11 simple math noads are now combined into a single "noad"
1958   node type.
1960 * Static linking against libstdc++ is working once again.
1962 * There is a small fix in the keyword scanner to solve the
1963   problem of 'Runaway ... while scanning ???' that could happen
1964   for some primitives.
1966 * Lua now also has the "architecture independent bytecode"
1967   patch applied.
1969 * Lua is updated to version 5.1.4 with coco patches 1.1.5, and
1970   lpeg is now 0.9.
1972 * Some TRT/TLT backend bugs are fixed.
1974 * Various manual updates.
1976 ==============================================================
1977 Luatex beta-0.37.0 was released 20090331
1978 ==============================================================
1980 * Luatex now implements shell_escape = 'p', a new feature
1981   in web2c that intends to make \write18 more secure. As
1982   a side-effect, if luatex is used for typesetting, it will
1983   now also apply shell_escape = 'p' and shell_escape = 'f'
1984   to the lua functions io.popen(), os.execute(), os.exec(),
1985   and os.spawn().
1986   Nothing has changed for the case where luatex is used as
1987   a script interpreter.
1989 * Attributes can now have negative values. The special value
1990   for 'unset' is lowered to -0x7FFFFFFF (it used to be -1).
1992 * The lua 'kpse' library now has an object-oriented interface
1993   as companion to the procedural interface. This is useful for
1994   e.g. controlling the discovery of mplib files.
1996 * The new internal integer parameter \outputbox allows setting
1997   of the output box number (default: 255, max: 65535)
1999 * The new primitives \Udelimiterunder and \Udelimiterover
2000   complete the set of 'StretchStacks' for OpenType Math.
2002 * Fixed a bug in font string conversions on the Macintosh that
2003   resulted in warnings about 'unaligned pointers being freed'.
2005 * Khaled Hosny spotted a bunch of manual errors.
2007 * There was bug in the width of math_accent objects when
2008   there were super- or subscripts attached to the accentee.
2010 * In PDF mode, TRT \leaders were bugged.
2012 * The source tree now uses the new texlive build system that
2013   Peter Breitenlohner created.
2015 * There is now a single build.sh instead of four separate
2016   ones. It has a few options:
2017       --make      : only make, no make distclean; configure
2018       --parallel  : make -j 2 -l 3.0
2019       --nostrip   : do not strip binary
2020       --mingw     : crosscompile for mingw32 from i386-linux
2021       --ppc       : crosscompile for ppc osx on intel osx
2023   Note: --parallel still sometimes causes crashes due to
2024   timing errors, so use that option with care.
2026 * Many compiler warnings have been removed (but not all yet).
2028 ==============================================================
2029 Luatex beta-0.36.0 was released 20090323
2030 ==============================================================
2032 * The included fontforge code is stripped considerably, and
2033   the lua table to access the code is renamed to 'fontloader'.
2034   The old name ('fontforge') will remain present for a while,
2035   but will eventually go away.
2037 * New lua functions: tex.primitives(), tex.extraprimitives,
2038   tex.enableprimitives().  This is a prelude to a big change
2039   in the next beta: iniluatex will from now on start up with
2040   only the TeX82 primitives and \directlua, everything else
2041   has to be bootstrapped via tex.enableprimitives().
2042   See the manual for more details.
2044 * Support for multiple lua states has been removed, and at the
2045   same time support for adding name ids to lua chunks has been
2046   added.  See the manual for more details.
2048 * More changes to the PDF backend to make it support non-latin
2049   directions (form and image placement, vertical typesetting,
2050   synctex).
2052 * The kpathsea library is updated. Highlights: cleaner build
2053   process (thanks to Peter Breitenlohner), cleaner mingw32
2054   (cross)compilation support, and a new reentrant API.
2056 * Some possible endless loops within extended delimiters in
2057   math mode are now trapped.
2059 * Movements inside VF font characters were considerably off
2060   due to a wrong conversion routine.
2062 * Error handling for \outer has been reinstated, but can be
2063   suppressed via the new primitive \suppressoutererror.
2065 * The new primitives: \suppresslongerror and \suppressifcsnameerror
2066   that can be used to suppress errors for \par in non-long macros
2067   and for non-expandable objects inside \ifcsname ... \endcsname,
2068   respectively.
2070 * New lua function: node.vpack() via a patch from Khaled Hosny
2071   that also improves error handling in node.hpack().
2073 * Fix the typo that caused \charic (instead of \charit)
2074   to be defined as a primitive.
2076 * Suppression of hyphenation via \hyphenchar\font=-1 now works
2077   again.
2079 * The lua functions tex.print(), tex.sprint(), tex.write() now
2080   accept an array of strings as well as vararg list of strings
2081   to print.
2083 * A change to be build process: luatex.p is no longer split
2084   int smaller pieces before running the C compiler.
2086 * Melissa O'Neill contributed a bugfix to the Type1 font
2087   subsetting code.
2089 * A bunch of smaller bugfixes and cleanups (as usual).
2091 ==============================================================
2092 Luatex beta-0.35.0 was released 20090224
2093 ==============================================================
2095 * The math handling portions of LuaTeX are converted to C code,
2096   and extended to support Unicode math. There are a great many
2097   related changes, see the new Math chapter in the manual for
2098   details.
2100 * A nasty bug in the paragraph breaking routine was fixed.
2101   (All lines except the first one were believed to be wider then
2102   they really were. This affected which nodes were considered
2103   as active breakpoints)
2105 * Various changes to the PDF backend to make it support non-latin
2106   directions.
2108 * Fixed the behaviour of the page offsets. Placement of the output
2109   on the physical page should now work correctly in all directions,
2110   both in DVI and PDF.
2111   There now are \pageleftoffset and \pagetopoffset primitives,
2112   as well as
2114 * fontforge.apply_featurefile() was broken since 0.31.0
2116 * The lua profiler library is added.
2118 * The included lua filesystem library is now 1.4.1.
2120 * Reading of pk files fixed.
2122 * An optional space afer a <direction specifier> for \textdir c.s.
2123   is ignored from  now on.
2125 * \bodydir and \pagedir can now be (re)set even after the first
2126   page has been output.
2128 * The new callback mlist_to_hlist can be used to intercept the
2129   normal conversion of math lists to horizontal lists.
2131 * The programs ttf2afm and pdftosrc are removed from the luatex
2132   distribution (these belong to pdftex).
2134 * fontforge.open() now uses much less memory when opening large
2135   (CJK) fonts.
2137 * The included libpng is now 1.2.35.
2139 * Quite a lot of smaller bugfixes and cleanups (as usual).
2142 ==============================================================
2143 Luatex beta-0.31.3 was released 20081229
2144 ==============================================================
2146 This release has a bunch of updates from the development trunk
2147 (#1657-1670,1677,1678,1680,1685,1687).
2149   * Closing of files opened by \externalocp.
2151   * Fix for a locale-related bug that make PDF generation fail
2152     with a "Parsing CFF Dict failed" message when including
2153     opentype fonts.
2155   * The included metapost is now version 1.102.
2157   * PDF rules in vertical modes in RL direction where output
2158     in the wrong direction
2160   * Fix for a crash on Apple fonts that contain a 'bsln' table.
2162   * The handling of the second argument to fontforge.open() was
2163     broken
2165   * The included libpng is now 1.2.34
2167   * Handling of ttc files on Windows was broken
2170 ==============================================================
2171 Luatex beta-0.31.2 was released 20081209
2172 ==============================================================
2174 Besides fixing building issues, this release has
2176   * A small fix for a crash that could happen when using
2177     external OCPs.
2179   * A fix in the format of fontforge.to_table output.
2180     (In 0.31.1 <font>.lookups was near-empty; the lookups
2181     were accidentally output as part of the gpos table).
2183 ==============================================================
2184 Luatex beta-0.31.1 was released 20081209
2185 ==============================================================
2187 fixed a bunch of compilation errors on various platforms, but
2188 with no other visible changes.
2191 ==============================================================
2192 Luatex beta-0.31.0 was released 20081205
2193 ==============================================================
2195 This is just an intermediate release so that some testing can be
2196 done on the updated fontforge embedding.
2198 * There are new fields being generated by fontforge.to_table(),
2199   and one or two old ones have been removed. These fields are /
2200   will be documented in the manual, but very briefly:
2202   - MATH table and associated information are now exported
2203     (the main reason for the new fontforge code)
2204   - Baseline data is now exported
2205     (perhaps usable in lua code)
2206   - Multiple Master / Glyph variation data is now exported
2207     (but useless, for now)
2208   - Mac Feature (AAT) information is now exported
2209     (perhaps usable in lua code)
2210   - If (lookup) names were saved via the PfED table, these
2211     will the exported instead of the default, generated names.
2212     (as requested by Yannis)
2214 * dfont is now treated as an archive format just like ttc
2215   when it comes to fontforge.info(). NOTE: that does not mean you
2216   can actually use them, because the  backend doesn't know
2217   yet how to embed dfont fonts in the PDF, that is on the
2218   TODO list for the next big beta (0.40.0).
2220 * The executables are a lot larger than before. That is because
2221   much more of fontforge is included than before. Likely this
2222   will stay this way, because this makes upgrading the ff code
2223   much easier, and it means that luatex/FF potentially
2224   understands more font formats (after upgrading the backend,
2225   of course)
2228 ==============================================================
2229 Luatex beta-0.30.3 was released 20081128
2230 ==============================================================
2232 This release fixes a really big bug, a few smaller ones,
2233 and has updates of png and mplib:
2235 * All hyphenation patterns that were anchored at the start or
2236   end of a word were ignored in luatex versions 0.25.X and 0.30.X
2237   (and possibly even earlier).
2239 * Repeated use of \language=-1 could result in "There is not room
2240   for another language".
2242 * The lua true coroutines patch (Coco) is now disabled on OpenBSD
2243   running on non-intel platforms.
2245 * The lua socket library is patched so that it will now compile on
2246   OpenSolaris.
2248 * Luatex now has libpng 1.2.33 and mplib 1.100
2250 ==============================================================
2251 Luatex beta-0.30.2 was released 20081020
2252 ==============================================================
2254 * The Lua coco change from 0.30.1 is reverted as it gave
2255   trouble on MacOSX. Lua coco on non-intel OpenBSD platforms
2256   is now explicitly turned off.
2258 * The lua file reading speedup in 0.30.1 broke reading of
2259   files larger than 100MB.
2261 * Reading of font-related files was broken when there was a find
2262   callback, but no read callback.
2264 * The texmf.cnf array size setup values were ignored whenever
2265   --lua was given on the commandline (instead of only when
2266   texconfig.kpse_init is set to false).
2268 * glyphs with negative widths resulted in incorrect horizontal
2269   placement (overlapping) of the string in the output PDF.
2271 * Using \latelua could sometimes result in an invalid output PDF,
2272   and the argument token list was expanded too early
2274 * There was a read buffer overrun in the mapfile parser
2276 * There are two new variables in the status table:
2277   status.callbacks and status.indirect_callbacks (execution counts).
2279 ==============================================================
2280 Luatex beta-0.30.1 was released 20081009
2281 ==============================================================
2283 * Invalid return values from the linebreak_filter callback
2284   are now handled gracefully (was crashing)
2285 * a preinstalled ctangle is no longer needed except when
2286   cross-compiling
2287 * In 0.30.0, the .notdef fix was incorrectly applied to
2288   truetype / opentype fonts.
2289 * A bunch of all memory leaks is fixed
2290 * In lua, f:read('*a') now uses signicantly less memory
2291 * The number of \catcodetables is now limited to 64KB
2292   (for speed reasons)
2293 * Luatex could crash if there were PDF images with and
2294   without page /Group included on the same page
2295 * Lua coco now always uses setjmp (for OpenBSD compatibility)
2296 * The embedded mplib is updated to the latest svn version
2297 * # marks (characters with catcode 6) are no longer doubled
2298   inside \directlua
2299 * Handling the nul character (U+0000) with catcode 13
2300   (active) was broken
2301 * Luatex could crash on win32 with an access violation
2302   because there was one predefined language too few
2303   (the one matching \language=-1)
2305 ==============================================================
2306 Luatex beta-0.30.0 was released 20080930
2307 ==============================================================
2309 New features:
2311 * Readable \tex internal params that are counts, attrs, or dimens are
2312   now returned as numbers instead of strings, and skips as node objects.
2313   Read-write access to tex's skip registers added: tex.skip[0] etc.
2314 * new callback: 'linebreak_callback' to replace the internal paragraph
2315   breaking code
2316 * the tex table now supports more readable 'convert' values:
2317   tex.fontname, tex.pdffontname, tex.pdffontobjnum, tex.pdffontsize,
2318   tex.uniformdeviate, tex.number, tex.romannumeral, tex.pdfpageref,
2319   tex.pdfxformname  (each takes a number as argument)
2320 * new readable parameter: tex.fontidentifier(number) returns the
2321   \csname associated with that font id
2322 * luatex now outputs \FONT<nr> instead of \^^@ in Overfull/Underfull
2323   messages if the font's id text is zero (like for expanded fonts) (#77)
2324  * luatex --version is split into --version and --credits
2325 * There is now (again) an svn revision number in luatex --version (#91)
2326 * Add support for more read-only internal access from lua:
2327   tex.lastpenalty, tex.lastkern, tex.lastskip, tex.lastnodetype,
2328   tex.inputlineno, tex.badness, tex.pdftexversion, tex.pdflastobj,
2329   tex.pdflastxform, tex.pdflastximage, tex.pdflastximagepages,
2330   tex.pdflastannot, tex.pdflastxpos, tex.pdflastypos, tex.pdfrandomseed,
2331   tex.pdflastlink, tex.luatexversion, tex.Alephversion,
2332   tex.Omegaversion, tex.Alephminorversion, tex.Omegaminorversion,
2333   tex.eTeXminorversion, tex.eTeXversion, tex.currentgrouplevel,
2334   tex.currentgrouptype, tex.currentiflevel, tex.currentiftype,
2335   tex.currentifbranch, tex.pdflastximagecolordepth (#81)
2336 * the old --src-specials are replaced by --synctex (#63)
2337 * the \expanded primitive is backported from pdftex 1.50 (#43)
2338 * luatex now comes with libpng 1.2.32
2339 * experimental: tex.definefont(string, number) associates a
2340   csname string with a font id number
2342 Bugs fixed compared to 0.29.0:
2344 * dashes were exported wrongly by MPlib
2345 * multi-item \discretionaries were broken in various ways (#78, mailinglist)
2346 * read_font_info was sometimes called recursively from lua-loaded
2347   virtual fonts
2348 * do_vf was sometimes called on lua-loaded fonts that where
2349   already known to be virtual
2350 * trailing junk in tfm files is now ignored (needed for ecrm fonts)
2351 * pdf_ignored_dimen was initialized too late, breaking \prevdepth
2352   handling and causing output lines to overlap eachother (#72)
2353 * pdf.immediateobj() had a printf-related bug
2354 * the fontname terminal logging is fixed for strange font file names
2355 * lua tex array assignments now listen to the globaldefs setting
2356   (tex.count[0] etc) (#92,partial)
2357 * \parshape was broken (#70)
2358 * there is no longer a ".tex" extension forced on very input file (#74)
2359 * eof() for mapfiles was true one byte too soon (#76)
2360 * out of range \lefthyphenmin and \righthyphenmin settings now actually
2361   disable hyphenation (#90)
2362 * tex.unset_attribute() looked too far ahead when a to-be-unset
2363   attribute id not only did not exist in the node, but was also
2364   higher than the highest set attribute on the node. (#65)
2365 * the parameters attr and page_name of read_image() were swapped
2366   (this broke \pdfimage with attributes)
2367 * tex filenames with spaces in them on the command line are now
2368   allowed again (#30)
2369 * sometimes pfb fonts were included multiple times without valid
2370   reason (#29)
2371 * some parts of the pdftex 1.40.9 PNG transparancy hack were still
2372   present and caused transparant png handling to fail
2373 * \localinterlinepenalty and \localbrokenpenalty were broken
2374 * special case catcode tables are now handled better (#23)
2375 * the handling of missing .notdef charstrings in old pfb fonts
2376   is fixed (#27)
2378 ==============================================================
2379 Luatex beta-0.29.0 was released 20080718
2380 ==============================================================
2383 New features:
2385 * The embedded pdftex is now 1.40.9 (forthcoming) except for the
2386    following:
2387    - the png transparancy fix is skipped because it is in conflict
2388      with a macro-based solution offered by context mkiv.
2389    - LFS (PDF files > 2GiB) is not working yet.
2390    - Synctex is still missing
2392 * libpng, xpdf, and zlib are updated to their pdftex 1.0.9 levels
2394 * MPlib is updated to 1.090
2396 * The syntax of buildpage_filter is changed to avoid confusion
2397    (and crashes). See the manual for the new calling convention.
2399 Bugs fixed compared to 0.28.0:
2401 * The previous bugfix for \languages skipping numbers was wrong.
2403 * Various compile-time warnings are suppressed
2405 * \pdfsetmatrix was broken
2407 * \pdfsave and \pdfrestore were broken
2409 * Valid user_defined whatsits nevertheless were generating errors.
2412 ==============================================================
2413 Luatex beta-0.28.0 was released 20080630
2414 ==============================================================
2416 There is one new feature:
2418 There is now experimental support for non-trivial discretionaries
2419 following explicit hyphens. In analogy to \prehyphenchar and
2420 \posthyphenchar, there are two new parameters \preexhyphenchar en
2421 \postexhyphenchar. Both new parameters default to zero (nothing).
2422 When set to a nonzero value, the parameter is added to either the
2423 pre- or post- break text. Note that this is *in addition to* the
2424 hyphen already in the input. Testing and comments are very welcome.
2426 Here is a short example (no idea what is says):
2428    \pdfoutput=1
2429    \hsize=2in
2430    \postexhyphenchar=`-
2431    Seria bom se eu
2432    pudesse t\^e-lo mantido como amigo, mas por
2433    mais bem-intencionado que eu fosse, n\~ao
2434    foi possivel
2435    \bye
2439 Bugs fixed compared to 0.27.0:
2441 * Words that started off with a character with a zero \lccode
2442    were never hyphenated at all.
2444 * There was a bug in the new active characters code that prevented
2445    the latex format from being built (with Invalid character error).
2447 * There is a temporary fix for the sometimes appearing "Font has a
2448    bad FontBB" message from Acrobat.
2450 * \leaders did not actually stretch enough (the last bit of glue
2451    that has to line up the line endings was never output to the PDF).
2453 * Bad paragraph-related callbacks could result in luatex crashing.
2455 * The pre_linebreak and post_linebreak filters were never called
2456    when \output was active (this was a leftover of a superceded
2457    optimization).
2459 * 'skipping' language codes when setting up \patterns c.s. did not
2460    work (it used the next empty slot instead of the actual value of
2461    \language).
2463 * Using multiple 'attr' keywords on box items could cause random
2464    crashes.
2466 * Calling lang.hyphenate() with one argument (without specifying a
2467     tail node) could crash.
2469 * The luatex pdf banner and version reporting is cleaned up a bit.
2471 * Conflicting patterns inside \patterns now give an error:
2472      ! Conflicting pattern ignored.
2473    (duplicate identical patterns are ignored without error).
2475 ==============================================================
2476 Luatex beta-0.27.0 was released 20080624
2477 ==============================================================
2479 Bugs fixed compared to 0.25.3:
2481 * Unicode reencoding support for non-standard (i.e. older)
2482    Type1 fonts is now somewhat less broken than it was (#25)
2484 * .vf fonts using specials crashed luatex
2486 * luatex would crash on --\par (#33)
2488 * An attempt is made to get a sane default value for StemV in
2489    the created pdf (#32)
2491 * We can now guarantee that %PDF-1.* header is printed before
2492    the first pdf.print() output
2494 * lang.hyphenate() was broken
2496 * insert_before(a,a,b) was broken (#37)
2498 * argv[0] is now cleaned up before being used as a default for
2499    mem_name and prog_name (#28).
2501 * luatex would crash on loading extended fonts (fonts loaded
2502    via lua callbacks) from a format file.
2504 * The fix for pdftex bug #799 is backported from pdftex 1.40.4.
2506 * slnunicode had a bug in the unicode.utf8.gmatch iterator.
2508 * Queries of nonexisting fontdimens could cause a crash.
2510 * luatex would crash on {\textdir TLT\pardir TLT x\break\par }
2512 * Fixed wrong placement of lines in mixed-direction paragraphs
2513    that could happen in some situations.
2515 Other news:
2516 * Luatex now includes luasocket (#35)
2517    See http://www.tecgraf.puc-rio.br/~diego/professional/luasocket/
2518    for usage.
2519    There is a new commandline option: --nosocket to disable this,
2520    and that is also implied by --safer.
2522    NOTE to the binary builders: there are some unfixed configure
2523    problems when you need to add a specific library to get socket
2524    support on your platform. You probably will have to edit the
2525    generated Makefile by hand (search for 'socketlib').
2527 * There is ongoing development to the 'img' and 'mplib' libraries.
2528    See the reference manual for details.
2530 * The 'character commands' in virtual fonts now support image
2531    inclusion. See the reference manual for details.
2533 * Lua error messages now include the call stack.
2535 * \directlua and \latelua have been extended to accept a 'name'
2536    keyword. The argument is a token list that is used as the lua
2537    name of this chunk in lua error messages and call stack prints.
2538    (#42)
2540 * The lua chunk names can be interfaced via a new virtual
2541    table called lua.instancename, the values in that function as
2542    defaults in the absence of 'name' keywords.
2544 * The 2-plane limit on active character range is removed (#12).
2546 * Subsetted TTF fonts in the PDF now retain the cmap table.
2548 * There is a new Lua variable os.selfdir. This contains the
2549    full absolute pathname of the directory that the executable
2550    resides in (with symlinks resolved)
2552 * There is a new function os.uname() this returns a lua
2553    table containing various platform information items.
2555 * The node library now uses text strings for direction specifiers
2556    instead of numbers. See the reference manual for details.
2558 * The 'E' (edit) as error response functionality is now a noop.
2560 * Adding luatex 0.25.3 to texlive resulted in a few minor backports,
2561    in particular: Support for mktexfmt is added, and luatangle now
2562    identifies itself as such (instead of calling itself otangle).
2564 * We fixed a whole series of portability problems (but
2565    we probably introduced new problems as well).
2567 * Most (all?) files now have a corrected Copyright header,
2568    and link in $Id$ and  $URL$ into the object file.
2570 * Some unnecessary files were removed from the distribution.
2572 ==============================================================
2573 Luatex beta-0.25.3 was released 20080418
2574 ==============================================================
2576 Bugs fixed:
2577 * Pdftex bug no. 936 (sarovar) regarding vertical
2578   positioning of embedded PDF files if depth parameter is given.
2579 * Luatex gave bogus lua return values for the tex.wd/hd/dp
2580   values of void boxes
2581 * A few bugfixes in mplib (square pens caused hangs, elliptical
2582   pens caused confused output)
2583 * Hyphenation of uppercase words (\uchyph) was broken
2584 * Output image placements corrected for all 8 transform cases
2585   also when artbox etc. is used
2586 * There were missing maketexstring() calls in error messages
2587 * Math display contents were sometimes prematurely freed during
2588   the placement of the equation number
2589 * Setting \language=-1 could cause crashes due to an array
2590   index going out-of-bounds
2592 Other news:
2593 * build.sh.ppc is added to the source distribution. This is a
2594   script that crosscompiles osx ppc binaries from osx intel
2595 * tex.box[<chardef name>] is now supported (but still experimental)
2596 * a bunch of compiler warnings are removed
2597 * The fontforge library now dump AAT feature tags as and
2598   "<id,flags>" string
2599 * The new function font.nextid() predicts the next assigned font id
2600 * Some source code changes are backported from texlive
2602 ==============================================================
2603 Luatex beta-0.25.2 was released 20080410
2604 ==============================================================
2606 * Updated to MPlib 0.40
2607 * Bugfixes and cleanup in the lua img table code
2608 * Fix \pdflastximagepages bug from pdftex
2609 * Fix for very large tex.print strings
2610 * Update to Lpeg 0.8.1
2611 * &D Bugfix for Type1 fonts when out-of-range characters
2612   are marked as 'used'
2614 ==============================================================
2615 Luatex beta-0.25.1 was released 20080321
2616 ==============================================================
2618 * Updated to MPlib 0.30 (that is now becoming usable)
2619 * The build requirement for a pre-installed ctangle is gone
2620   (thanks to Martin)
2622 ==============================================================
2623 Luatex beta-0.25.0 was released 20080311
2624 ==============================================================
2626 New:
2628 * mplib library:
2629    This version features an embedded MP interpreter whose output
2630    can be directly accessed from lua code (mplib), without calls
2631    to an external "mpost" command. Of course it has bugs and
2632    limitations (makempx does not work, for example) but keep in
2633    mind that it is only an initial attempt.
2634    See the manual for more details.
2635 * img library:
2636    ** img.immediatewrite() is added
2637    ** images now accept a 'transform' key
2638    ** widths etc. can now be given as width="100mm"
2640 Fixed:
2642 * \parshape handling was completely broken since 0.20.0+
2643 * when \pdfprotrudechars was in effect, an assertion failure
2644    could happen when embedded \hboxes in the paragraph appeared
2645    at the end of a line.
2646 * import of otf fonts with contextual lookups has been debugged,
2647    thanks to a patch by GW himself.
2648 * compiling with gcc 4.2.3 is now supported
2649 * if you want to build from source, you need a pre-installed ctangle.
2652 ==============================================================
2653 Luatex beta-0.22.1 was released 20080227
2654 ==============================================================
2656 * The macnames.c source file for building ttf2afm is restored.
2657 * "make depend" in luatexdir now works again
2658 * luatex sometimes crashed because it attempted to expand an
2659   already expanded font
2660 * luatex aborted when --progname was given but no format name.
2661   It now sets the format name to the given progname in that case
2662 * sometimes paragraphs with near-empty lines could cause a crash
2663 * img.supportedtypes() had a bug causing it to crash
2664 * img.supportedtypes() has been renamed to img.types for consistency
2665 * img.boxes() added, returns strings representing bounding boxes
2666 * img.node() added, returns a whatsit node cf. \pdfrefximage
2667 * node.write() now accepts multiple arguments
2668 * the program_name_set switch was not set automatically from C,
2669   causing errors unless lua code called kpse.set_program_name()
2670   explicitly
2671 * kpse.set_program_name() can now be called more than once
2672   in a single run.
2673 * os.spawn{...} and os.exec{...} could cause crashes because of
2674   a memory allocation error
2676 ==============================================================
2677 Luatex beta-0.22.0 was released 20080215
2678 ==============================================================
2680 * We now have an official bug tracker: http://tracker.luatex.org
2681 * A new lua library (img) is added that allows a direct
2682    interface to the image handling of luatex. You can use this
2683    to include images from lua code instead of via the more
2684    traditional \pdfximage cs. See the manual.
2685 * An optional equal sign after \{pre,post}hyphenchar is now
2686    allowed.
2687 * os.exec() has been extended, and os.spawn() added. These
2688    functions have support for quoted strings, and they
2689    also accept a table with preseparated command arguments.
2690 * New string constants os.type and os.name are provided.
2691 * node.last_node() is added. This pops and returns the last
2692    node from luatex's 'current list'
2693 * node.write() is added. This appends a node to the end of
2694    luatex's 'current list' (experimental).
2695 * The strict check on unicode compliance in pattern files
2696    is dropped. Patterns files still have to be in proper UTF-8
2697    encoding, but the error for non-Unicode character values
2698    (like 0 - 31 and 127 - 159) is dropped.
2699 * \pdfadjustinterwordglue, \prependkern, \appendkern
2700    and associated \XXXXcode arrays are gone.
2701 * The rest of the pdftex font arrays are now merged into
2702    the new luatex font data structure. This means that you
2703    can now set up font expansion from lua code, and that a few
2704    font-related limits are gone.
2705 * The 'top_skip' field in 'insert' nodes is renamed to 'spec',
2706    for improved consistency.
2707 * kpse.show_path() added. This behaves just like
2708    $ kpsewhich --show-path
2709 * The unicode.utf8 functions now also accept values in the range
2710    1.114.112 - 1.114.367 that is used by LUATEX for raw byte output.
2712 What's been fixed:
2714 * Better node memory (de)allocation error tracking and messages
2715 * Compilation on MacOSX 10.5 was broken
2716 * There was a bug in node.insert_after
2717 * Use of \{pre,post}hyphenchar was broken
2718 * lfs.permissions was leaking memory
2719 * Some warning and error messages are improved a bit
2720 * A set of bugs in character protrusion, this seems to be working
2721    ok now.
2722 * Also, a set of bugs in font expansion. This now works in most
2723    cases but is not quite bugfree yet (problematic files for testing
2724    are welcomed).
2725 * The functions in the kpse library would crash luatex if
2726    kpse.set_program_name() was not yet called. gives an error now.
2727 * Alignments with spanned columns could cause crashes
2728 * A patch is added for problems with filename parsing on the
2729    "first input line" (by Jonathan Kew)
2730 * The hpack_filter and vpack_filter were only called for lists longer
2731    than one node.
2732 * Luatex is now more forgiving about font subsets being smaller
2733    than their expected size (issues a warning instead of aborts now)
2734 * A "double-free ignored" error for paragraphs with lines starting
2735    with discarded items was fixed.
2737 ==============================================================
2738 Luatex beta-0.20.2 was released 20071217
2739 ==============================================================
2741 * some portability fixes to the build scripts
2742 * a fix for multi-\span in alignments causing unbreakable
2743    loops
2744 * manual improvements from Jonathan Sauer
2745 * fix for undefined csnames in \directlua if
2746    web2c's hash_extra is nonzero
2747 * fix for LR text inside of a RL document
2748 * fix for open_read_file callback not being called
2749    unless find_read_file was also registered
2750 * removed the ocp status message when \ocps are not
2751    actually used
2752 * "unicodeenc" in the fontforge to_table renamed to
2753    "unicode" for improved consistency
2755 ==============================================================
2756 Luatex beta-0.20.1 was released 20071207
2757 ==============================================================
2759 * texlua was broken on Solaris because the some C header
2760    files were loaded in the wrong order.
2761 * os.tmpdir() now accepts an argument, making it easier
2762    to use. It now generates more unique filenames when
2763    it is called repeatedly in one run.
2764 * The --luaconly commandline switch is now documented
2765    in the --help text.
2766 * The new extended hyphenation exceptions were severely
2767    broken.
2768 * \pdfprotrudechars could cause luatex to abort with an
2769    assertion failure.
2770 * There was a bug in the  \span code that could cause endless
2771    loops.
2772 * The simple forms of \leaders were messed up on windows
2773    because a variable was not properly initialized.
2774 * Non-grouped \textdir commands created invalid output.
2775 * e-TeX's pseudo files were not closed properly in ini mode.
2776 * The luatex.web now weaves properly again.
2777 * I made some small improvements to the manual.
2779 ==============================================================
2780 Luatex beta-0.20.0 was released 20071205
2781 ==============================================================
2783 News compared to the last beta (0.11.2) is as follows:
2785 * Completely overhauled hyphenation and ligkern application,
2786   including the addition of a new "lang" table in lua to
2787   interface to the language parameters, some extra functions
2788   in the "node" table, and a few extra callbacks ("hyphenate",
2789   "ligaturing", "kerning", "post_linebreak_filter").
2791   There is a new chapter in the manual to document all the
2792   changes to the hyphenation and line breaking algorithms,
2793   it is simply too much to list here.
2795 * the interface of the pre_linebreak_filter,hpack_filter,
2796   vpack_filter, and pre_output_filter has changed slightly.
2798 * boxes can now get explicit attributes different from the
2799   currently active set, using a syntax like
2801   \hbox attr2=12 attr3=-1 to 12pt {Hi!}
2803 * lpeg is now at version 0.7
2805 * a whole series of exotic bugs and compiler warnings are
2806   fixed, mostly thanks to the watchful eye of Fabrice.
2808 * texio.print now accepts multiple strings as arguments.
2810 * the lua functions os.sleep(), os.times(), os.gettimeofday()
2811   and os.tmpdir() have been added.
2813 * lua now comes with the coroutine (coco) patches from the
2814   luajit project applied.
2816 * the banner line no longer claims to be TeX.
2818 * a bunch of bugs reported on the mailing list have been
2819   fixed (I hope all of them).
2821 * (internal) we found lots of small ways to speed up lua
2822   node processing.
2824 * (internal) the node (de)allocation functions have been
2825   rewritten, so that absolutely all nodes now have a type,
2826   even the ones with variable sizes.
2829 ==============================================================
2830 Luatex snapshot-20071029 was released 20071029
2831 ==============================================================
2833 * Completely overhauled hyphenation and ligkern application.
2835   There is a new chapter in the manual to document all the
2836   changes to the hyphenation and line breaking algorithms,
2837   it is simply too much to list here.
2839 * the interface of the pre_linebreak_filter,hpack_filter,
2840   vpack_filter, and pre_output_filter has changed slightly.
2842 * lpeg is now at version 0.7
2844 * a whole series of exotic bugs and compiler warnings are
2845   fixed thanks to the watchful eye of Fabrice.
2847 * texio.print now accepts multiple strings as arguments.
2849 * The lua function os.sleep() is added
2851 ==============================================================
2852 Luatex beta-0.11.2 was released 20070918
2853 ==============================================================
2855 * Pdf inclusion and subsetting of CID-based opentype fonts
2856   now works as it should.
2858 ==============================================================
2859 Luatex beta-0.11.1 was released 20070918
2860 ==============================================================
2862 A quick list of what is new and fixed since beta 0.10.2:
2864 New:
2865 * pfb+afm fonts can now be used in 'wide' (encodingbytes=2) mode
2866 * searching in PDFS using 'wide' fonts now works reasonably well
2867   (based on the tounicode feature)
2868 * related to that, tounicode information can now be passed
2869   on inside the font metrics table
2870 * font subsetting is now supported for CID-based OpenType fonts
2871   (however, there is a known bug with KpozMinProVI-Regular.otf)
2872 * fontforge's warning and error messages are now intercepted
2873   and passed on to the lua code as a second return value of
2874   the fontforge.open() function
2875 * the new primitive \suppressfontnotfounderror can suppress
2876   the TeX error for "Font not found"
2877 * The lua function font.current can now be used to set TeX's
2878   current font
2880 Fixes:
2881 * set_attribute(-1) is now the same as unset_attribute()
2882 * OpenType lookups with glyph classes would crash luatex
2883 * luazlib would not compile on debian (fix from Norbert)
2884 * CID-based fonts would crash luatex
2885 * Bare CFF should be read in binary mode (fix from Akira)
2886 * VF processing did not process packets containing zero bytes properly
2887 * the truetype collection (.ttc) handling is fixed, so that all
2888   of the fonts inside a collection can now be used reliably
2889 * application segfaults and stack overflows are intercepted
2890   so that luatex can quit a bit more gracefully
2891 * an assertion failuer on systems with signed chars (linux-powerpc)
2892   is fixed
2893 * a crash on AMD64 linux was fixed
2894 * the lua "pdf" table code was wrong
2895 * \ifcsname did not work properly for UTF-8 characters
2896 * Use of the math-related functions using make_fraction (like \atop)
2897   caused a crash
2898 * \handling of \if\noexpand was wrong
2899 * applied a patch that cleans up XForm and page calculations
2900 * "autoconf" support from zziplib is stripped
2902 ==============================================================
2903 Luatex beta-0.10.2 was released 20070814
2904 ==============================================================
2906 Bugs fixed:
2908 * the primitive \span was completely broken
2909 * \pdfexpandfont (font expansion) misbehaved if it was used more
2910    than once
2911 * virtual fonts: sometimes they used the wrong internal font id,
2912    loading vf fonts via fonts.read_vf() was impossible, and sometimes
2913    virtual fonts created segfaults
2914 * while dumping formats, the last font parameter for each font was not
2915    dumped at all
2916 * zziplib was always compiled with pre-installed zlib headers, instead
2917    of the ones in the build tree
2918 * lua 5.1.2 has trouble quoting ^Z characters etc, the tentative patch
2919    for lua 5.2 from Luiz fixes that, hopefully
2920 * fontforge.font('font.pfb') now properly parses AFM boundingboxes
2921 * non-existing files in the argument for fontforge.open() or
2922    fontforge.info() could cause segfaults, now it generates an error
2923    instead
2924 * fontforge.open() did not return character widths for vertical fonts
2925    as it should
2926 * on Windows, fontforge believed that ttc files (TrueType Collections)
2927    were actually directories. ttc processing is still not 100% correct,
2928    but it is getting better
2929 * the build system used explicit 'make' sometimes
2930 * the auto-growing string pool was not used everywhere
2931 * there were some typos in the documentation parts of the pascal web
2932 * use of \parshape could easily exhaust all available memory
2935 New features:
2937 * support for applying Adobe Feature files (.fea) and Adobe Font
2938    Metrics (.afm) is added to the fontforge library
2939 * fontforge.info() will now return an array of tables for the contents
2940    for ttc files
2941 * support for a 'texluac' personality was added, to replace the 'luac'
2942    command from the official Lua distribution
2944 ==============================================================
2945 Luatex beta-0.10.1 was released 20070719
2946 ==============================================================
2948 This was a hotfix because beta-0.10.0 was completely broken.
2950 ==============================================================
2951 Luatex beta-0.10.0 was released 20070718
2952 ==============================================================
2954 The latest version of the manual is included in the package, and I
2955 am not going to repeat all of that. There were some minor changes
2956 compared to the previous snapshot, but mostly just bugfixes and
2957 documentation improvements.
2959 ==============================================================
2960 Luatex snapshot-20070626 was released 20070626
2961 ==============================================================
2963 * Integrated the lua library lzlib, this defines tables with
2964    bindings for zlib (including eazy-to-use gzip support)
2965 * Updated to slnunicode version 1.1
2966 * Some small cleanups in the sparse array handling
2967 * Moved the raw byte support out of the valid unicode range
2968 * Fixed a bug in the OFM font reader
2969 * Removed the pdftex snap nodes (and associated primitives)
2972 ==============================================================
2973 Luatex snapshot-20070622 was released 20070622
2974 ==============================================================
2976 Not a lot of news, but it fixes a few important bugs in the lua
2977 node processing. Also a few utility functions are added:
2979 * tex.round()
2980    rounds and bounds checks a lua number to make sure it is
2981    a valid tex integer.
2982 * tex.scale()
2983    multiplies a number (or the numeric values in a table)
2984    with a fixed quantity, and calls tex.round() on the result.
2985 * node.has_field()
2986    Test if a node has a specified field name
2987 * node.remove()
2988    removes a node from a nodelist, while keeping the list intact
2989 * node.insert_before()
2990    inserts a new node into a nodelist, just before a specified
2991    location node
2992 * node.insert_before()
2993    inserts a new node into a nodelist, just after a specified
2994    location node
2995 * node.hpack()
2996    packages a nodelist into a hlist node
2999 ==============================================================
3000 Luatex snapshot-20070619 was released 20070619
3001 ==============================================================
3003 * The lua node processing interface is completely reworked.
3004    It is now completely based on userdata, and uses a new lua table
3005    called 'node' to hold the methods. More detailed information
3006    is in the manual (of course).
3008 * There is a fifth node processing callback:
3009       pre_output_filter
3010    this is executed just before the packaging of \box 255.
3012 * The hpack_filter and pre_linebreak_filter callbacks now
3013    receive an extra argument indicating the number of top-level
3014    glyphs in the node list.
3016 * Virtual fonts can now contain a 'node' key in the glyph
3017    commands: the value should be a hlist node (i.e.: a horizontal
3018    box), and that will then be output for each character access
3019    in that font.
3021 * A new set of registers is added, called \attribute. These are
3022    values that will be automatically attached to nodes created in
3023    their scope. More information in the manual.
3025 * Direct read/write access to TeX's box registers is addded to
3026    the lua 'tex' table.
3028 * TeX's main memory now grows dynamically, and the (de)allocation
3029    routines have been rewritten completely.
3031 * The 'kpse' table is extended with extra interface functions, to
3032    allow texlua to be used as a scripting engine.
3034 * The \pdftexversion command now returns 200, not 140.
3036 * The displayed banner and --version screens are cleaned up.
3038 * The format file is now RLE compressed. Not as small as before,
3039    but unpacking is much faster.
3042 ==============================================================
3043 Luatex snapshot-20070426 was released 20070426
3044 ==============================================================
3046 This past month I have been busy with nodes and lists of nodes,
3047 so the big new feature in this release is that there are four
3048 callbacks that operate on node lists:
3050   buildpage_filter
3051   pre_linebreak_filter
3052   hpack_filter
3053   vpack_filter
3055 The preliminary documentation for these is in the manual, but the basic
3056 idea is that you can filter a node list just before LuaTeX starts doing
3057 something with it (like line breaking). This functionality is not stable
3058 yet: the node presentation of the various node types is pretty much OK
3059 now, but keep in mind the following:
3061   * math noads and math typesetting are not handled at all (yet)
3062   * not all hpacks and vpacks are intercepted (yet)
3063   * the nested node list handling will probably change
3064   * A conversion tool for nodes to/from dictionaries is planned,
3065     but not done yet
3067 The other changes in this snapshot are various bugfixes (for builds
3068 on various platforms as well as font issues) and speedups (in the
3069 execution of callbacks and the creation of lua font representations).
3072 ==============================================================
3073 Luatex snapshot-20070322 was released 20070322
3074 ==============================================================
3076 * I have changed the token_filter callback quite rigorously,
3077    mostly because of speed issues. The raw speed of trivial
3078    lua token handling is now only about 20 times slower than
3079    the native handling. Not bad at all, considering it has to move
3080    between interpreted and compiled code for each and every
3081    token. If you do not run the token filter inside \output,
3082    the effective run speed difference should not be much more
3083    than a factor 1.5.
3085    Two big differences: you have to call token.get_next()
3086    yourself, and the token table is now a three-item array
3087    instead of a five-key hash. The minimal example changes to
3089    \directlua0{
3090      callback.register('token_filter', function ()
3091        return token.get_next()
3092        end)
3093    }
3095    more details are in the manual.
3097 * I've fixed a few bugs in the handling of Opentype TTF, and added
3098    a new key in the font definition table:
3100       f.encodingbytes = (1|2)
3102    The default is 2 for opentype and truetype format, 1 otherwise.
3103    Later on, it will become possible to have a type1 font in 2-byte
3104    (CID) encoding or a truetype font in traditional encoding (1-byte),
3105    but I have not covered all cases yet.
3109 ==============================================================
3110 Luatex snapshot-20070309 was released 20070309
3111 ==============================================================
3113 * The OCP debug information is removed again.
3115 * There is a new callback that I am quite excited about myself:
3116    'token_filter'.
3119 A bit of text from the reference manual:
3120 --------------------
3121 This callback allows you to change the modify any lexical token that
3122 enters the \type{main_control} function before \LUATEX\ executes the
3123 associated command.
3125 Note: not all tokens can be intercepted yet, only those that are `seen'
3126 by \LUATEX's main control function.  Supplemental tokens like the bodies
3127 of macro definitions and the right-hand side of register assignments
3128 are not seen. For now, this is intentional.
3130 \startfunctioncall
3131       function (table <token>)
3132          return table <token>
3133       end
3134 \stopfunctioncall
3136 Calling convention for this callback is bit more complicated then for
3137 most other callbacks.  Initially, lua function will be called with the
3138 next token from \type{get_next()} as argument, represented as a small
3139 lua table.  The function should either return a lua table representing
3140 a valid to-be-processed token, or something else like nil or an empty
3141 table.
3143 If your lua function does not return a table representing a valid
3144 token, it will be immediately called again with yet another token
3145 from \type{get_next()} as argument, until it eventually does return
3146 a useful token.
3148 But if the function does return a usable token, then that token will
3149 be processed by \LUATEX. Afterwards, the function will be called
3150 again, but now without an argument. This is repeated until it stops
3151 returning tokens.  Then processing reverts back to the other branch.
3153 The point behind that roundabout calling convention is that it
3154 allows the lua function to buffer tokens for various uses. That in
3155 turn makes it possible to do some really advanced things like
3156 replacing OTPs.
3158 Now about that table. The table that the function will receive
3159 contains four fields:
3161 \starttabulate[|l|i|p|]
3162 \NC Key     \NC  type    \NC                Explanation \NC\FR
3163 \NC cmd     \NC  string \NC A representation of  \LUATEX's internal
3164                              command code\NC\NR
3165 \NC chr     \NC  number \NC The command code modifier\NC\NR
3166 \NC cs      \NC  string \NC If the token came from a csname, this
3167                              is  that csname\NC\NR
3168 \NC mod     \NC character \NC A single character string representing
3169 the current processing mode. One of {\bf v}ertical, {\bf h}orizontal,
3170 display {\bf m}ath, {\bf n}o, internal {\bf V}ertical,
3171             restricted {\bf H}orizontal, or inline {\bf M}ath mode.\NC\LR
3172 \stoptabulate
3174 If you modify the table before returning it, then it is wise to return
3175 either a (\type{cmd}, \type{chr}) pair, or a \type{cs} string.  That is
3176 because if both options are present, the pair has precedence and the
3177 string is ignored. On the return table, {\bf mod} is ignored always.
3178 --------------
3180 I have no long example code yet and it is not as complete as one
3181 would want it to be because it is not intercepting everything that
3182 comes in, only the bits that are triggered by the main control
3183 loop.
3185 I decided to do a fast snapshot release for two reasons:
3187 * It is one of the easier extensions to get started with if you want
3188    to learn a bit about lua programming
3190 * I would welcome feedback on the token interface, because it will
3191    be needed in other places as well, soon. I am still not sure
3192    whether converting the command to/from strings is worth it, for
3193    example. And maybe it would be less confusing if you could return
3194    a list of tokens instead of being called repeatedly?
3196 Here is the trivial example to get you started:
3198     \directlua0{
3199       callback.register('token_filter', function (t) return t end)
3200     }
3203 ==============================================================
3204 Luatex snapshot-20070307 was released 20070307
3205 ==============================================================
3208 * Non-CID PostScript-based Opentype fonts are now combined over
3209    the entire document, and properly subsetted. The code is
3210    borrowed from xdvipdfmx with some minor adjustments
3212    Adding support for CID-keyed OpenType fonts would not be hard
3213    but at the moment I lack example input (and incentive).
3215 * A small extension to the virtual fonts structure: you can use
3217      f.fonts[1] = { 'id' = 38}
3219    to do a backreference to a previously defined font. This saves quite
3220    a few computations
3222 * There was a bug in the handling of \leaders in the output whereby
3223    it's width was taken to be twice what it should be while writing
3224    to the PDF, fixed now.
3226 * The font inclusion code is cleaned up a bit by Hartmut.
3228 * Some compilation problems were fixed.
3230 * There is (quite a bit of) debugging information printed out when
3231    OTPs are in use, because I am tracking down a bug reported by Idris.
3233    The input of each and every OTP step is shown on the terminal in
3234    a line line this:
3236      [57902][1568][58423][1568][58408][1568][58921]
3238    those are the decimal values of ocp i/o characters. If you don't
3239    need them, don't worry about it.
3241 ==============================================================
3242 Luatex snapshot-20070302 was released 20070302
3243 ==============================================================
3245 * The 'snapshot version' banner is now calculated dynamically
3246   at build time. This aids in figuring out what binary people
3247   are actually running, but it can possibly break the build on
3248   systems that do not have a `date` command.
3250 * The do_vf() function that checks for virtual font existance
3251   is now run immediately after the font definition instead of
3252   being postponed until characters are output.
3254 * The 'define_font' callback interface has changed a little.
3255   It is now:
3256     retval = function (name,size,fontid)
3258   where fontid is the internal font number of the font that
3259   is currently being defined, and retval can be either a table
3260   (as before) or a different, previously defined fontid. This is
3261   useful if a previous definition can be reused instead of
3262   creating a whole new font structure.
3264 * The internal font data structure has been redone. Glyph index
3265   inside a font is now handled by a sparse array, so that use
3266   of e.g. 0xFB01 (fi-ligature) no longer creates a 64000+ entries
3267   character array.
3269 * The internal cache-ing of font metric information is turned
3270   off completely, because it was based on the assumption that
3271   name + size were a unique identifier for a font. This can no
3272   longer be guaranteed.
3274 * word boundary processing now works OK again, thanks to the
3275   introduction of two virtual characters in the font table
3276   definition. Besides the normal numeric entries in the
3277   f.characters table, there can now also be two string keys:
3278   "left_boundary" and "right_boundary". The  ligatures and kerns
3279   of the 'left_boundary' character are used for the pre-word
3280   boundary processing, ligatures and kerns between characters
3281   and 'right_boundary' are used for the post-word processing.
3283 * Lua font table references are no longer cached by the
3284   executable ,in order to preserve memory. (the only downside
3285   is that font.fonts[] access is now slower because of the need
3286   to recreate the lua table).
3288 * There are other some small changes to the font table formats.
3289   Please see the manual for details.
3291 * A 'real' font can now still have virtual characters if they
3292   are loaded via lua. Just set the 'commands' section and/or
3293   the 'fonts' array to your liking, and it should work out.
3295   If you have created no 'fonts' array at all, then the default
3296   font (indentifier '1')  is the current font, so that you
3297   can create virtual duplicates of already existing characters.
3299   Note: this does not work the other way. There can not be
3300   'real' characters in a virtual font!
3302 * Truetype-based opentype fonts no longer require Acrobat 7
3303   t(hey are now written out as if they are normal truetype).
3305 * A lua init script can now set 'texconfig.formatname' and/or
3306   'texconfig.jobname'. If ther is no file or format specified
3307   on the commandline, then, if, one of those keys is present,
3308   that key will be used instead of simply quitting with an
3309   error.
3311 * Placement of boxes and rules in right-to-left mode is debugged,
3312   and now seems to work ok.
3314 * Virtual font loading is debugged.
3316 * Some memory leaks are resolved
3318 * HZ font expansion should work ok again, but is not tested.
3320 * a few of the warning during opentype loading have been removed
3321   because the problems are rather harmless and turned out to be
3322   triggered by almost every font.
3325 ==============================================================
3326 Luatex snapshot-20070218 was released 20070218
3327 ==============================================================
3329 * The pdftex stuff is now updated to 1.40.3
3330   (and on top of that, it still has those extra patches announced in
3331   snapshot 20070202)
3333 * The virtual font parser is debugged and now appears rather stable.
3335 * There is one extra virtual command:
3337     "commands" = {
3338        {"slot", 1, 97}, -- place character 97 'a' in local font 1.
3339      }
3341   This is just a shortcut for {"font",1}, {"char", 97}
3343 * Some small memory leaks have been fixed. Luatex does not leak big
3344   time, but I'd like to get back to valgrind reporting '0 out of 0',
3345   instead of the current 800 bytes or so (that is a slow process).
3347 * You can read a truetype or opentype font from within lua code
3348   using font.read_ttf() or font.read_otf(), respectively.
3350   This feature uses a fair bit of the fontforge code, making the
3351   binary rather a bit larger than before. Just so you know.
3353   Apple (AAT, as well as encoding) support is still largely missing,
3354   and bitmap-only and old Multiple-Master truetype fonts are not
3355   supported at all (and never will be).
3357   The output format is (shadily) documented in the reference manual.
3358   At the moment, it very closely resembles the internal font stucture
3359   that is used by fontforge.
3361 * LuaTeX can now write wide OpenType fonts to the PDF file.
3363   There is no subsetting support yet, and a ToUnicode CMap is also
3364   still missing, but nevertheless it is already somewhat useful. The
3365   rule is very simple: if a font uses code points above 255, then it
3366   is considered to be a `wide' font, and it will be written out as
3367   a Type0 CID-keyed font to the PDF.
3369   Caveat: Getting suitable metrics into LuaTeX can be a bit of problem
3370   right now, because font.read_otf() does not produce anything that
3371   can be fed back into define_font without extra processing.  Hans has
3372   some experimental Lua code for ConTeXt (of course :-)) and that is
3373   how I know it works.  You can expect a nicer interface soon,
3374   hopefully next week, in the form of a simplistic table conversion
3375   routine.
3377 * I have started work on supporting Aleph's bidi typesetting in PDF
3378   mode as well, simple text seems to be largely ok. More complicated
3379   documents will no doubt still show some bugs, but fixing those will
3380   be easy (once they are discovered). Exactly what happens with specials
3381   is not yet investigated.
3383 * Omega's (16-bit) wide virtual fonts now work OK in PDF mode. This
3384   means that many Aleph files can now be run in PDF mode directly.
3385   (the documents that use UTF-8 input encoding)
3388 ==============================================================
3389 Luatex snapshot-20070202 was released 20070202
3390 ==============================================================
3393 * The pdftex stuff is now updated to 1.40.2, and on top of that, it has
3395    - an extra patch from Han The Thanh that adds a primitive to control
3396      the merging of fonts from external pdf images (\pdfreplacefonts),
3397      and a bugfix for virtual font handling.
3399    - an extra patch by Hartmut Henkel that removes a number of malloc()s
3400      and free()s from the calls to the compression library, thereby
3401      making luatex run a bit faster.
3403 * luatex now happily accepts the following low-level syntax:
3405     \font\myfont = <general text> <at specifier>
3407    It feeds the <general text> to either kpathsea or a lua script for
3408    further processing after stripping the braces.
3410    In itself, this is not all that useful, but the reason for this
3411    syntax extension is that it paves the road for a macro package
3412    to do something like this:
3414     \font\myfont = {font="Times New Roman", color="\darkred",
3415                     encoding="ec", features="liga", size=10bp}
3417    without having to resort to system-specific quoting mechanisms.
3418    Macro (and other) expansion takes inside the braced argument.
3420    (I am considering adding this extension to \input as well).
3422 * It is now possible to define a font into the font.fonts[]
3423    directly from lua, but becayse use is limited, I am only
3424    mentioning it to be complete.
3426    Syntax:
3427         <number> id = font.define(<table> font)
3429 * There is a (not very reliable yet) virtual font parser accessible
3430    from lua.
3432    Syntax:
3433         <table> vfdata = font.read_vf(<string> name, <number> size)
3435    The interpreter tries to give a reasonable representation of a
3436    virtual font file (the .vf file). Besides a few simple top-level
3437    items:
3439      designsize  -- in scaled points
3440      size        -- also in sp
3441      name        -- the file name
3442      checksum    -- the vf checksum
3443      header      -- the header comment  (if any)
3445    it also has a top-level array 'fonts' wherein each item is a mini-
3446    array describing one of te mapped fonts. An example makes this
3447    easy to understand
3449     "fonts" = { {"ptmr8a",655360}, {"psyr", 600000} }
3451    says that the first referenced font (index 1) in this virtual font
3452    is ptrmr8a.tfm loaded at 10pt,  and the second is psyr.tfm loaded
3453    at a little over 9pt. These index numbers are used by the character
3454    command definitions that follow.
3456    At top level, there is a 'characters' array, just as for a normal
3457    font, except that each item has only two keys:
3459      "width"    -- the tfm width (as stored in the .vf)
3460      "commands" -- an array of virtual font commands for a character.
3462    each of the items in the 'commands' array is itself a tiny hash.
3464    Each of those mini-hashes represents a single character packet
3465    command. Here is a 'commands' entry that contains every possible
3466    one at least once:
3468      "commands" = {
3469         {"push"},                     -- remember where we are
3470         {"right", 5000},              -- move right 0.08pt
3471         {"font", 1},                  -- select the fonts[1] entry
3472         {"setchar", 97},              -- place character 97 'a'
3473         {"pop"},                      -- go all the way back
3474         {"down", -200000},            -- move *up* about 3pt
3475         {"special", "pdf: 1 0 0 rg"}  -- switch to red color
3476         {"rule", 500000, 20000}       -- draw a bar
3477         {'special',"pdf: 0 g"}        -- back to black
3478       }
3481 * But the big news is that you can now define your own virtual fonts
3482    on the fly, by adding a few statements to the table returned to
3483    the 'define_font' callback.
3485    There are a few requirements:
3487    - The table has to have a top-level key 'type', and it's value
3488      must be 'virtual'.
3490      The presence of this key with the specific value 'virtual'
3491      will trigger handling of the rest of the special virtual font
3492      fields in the table, but the mere existance of 'type' is
3493      enough to prevent luatex from looking for a virtual font
3494      on its own.
3496      Therefore, this also works 'in reverse': if you are absolutely
3497      certain that a font is not a virtual font, assigning the value
3498      'base' or 'real' to 'type' will inhibit tex from looking for a
3499      virtual font file, thereby saving you a disk search.
3501    - There must be a top-level 'fonts' array, as explained above.
3502      Any fonts that are not yet known to luatex at that moment,
3503      will be loaded automatically (Warning: do not ever use a font
3504      in 'fonts' with the same name you will return in the table you
3505      are defining right now!).
3507    - Each and every character in the fonts needs to have a 'commands'
3508      key, as explained above.
3510    The main point behind these restrictions is that a font is
3511    *either* a base font *or* a virtual font. It cannot be both
3512    at the same time.
3515 ==============================================================
3516 Luatex snapshot-20070126 was released 20070126
3517 ==============================================================
3520 * Underscores in pascal identifiers are now retained.
3522    This took quite a bit of work. The web2c conversion tools
3523    needed only small adjustments, but most of the existing C
3524    code depended on the removal of the underscores. I had to
3525    go through changing many lines. 99% of all identifiers are
3526    now written the same on the pascal side as on the C side.
3527    This makes writing interface code quite a bit less confusing.
3529    Not everything is completely clean yet, because I did
3530    not want to change the web2c-specific C files. I often
3531    took the other approach and removed the underscores
3532    from the web2c options (like 'parsefirstlinep') in the
3533    change file instead. Ugly, but predictable.
3535    There is about a dozen or so of #defines left, that map
3536         memoryword -> memory_word
3537          strpool    -> str_pool
3538    etc.
3540 * The virtual font parsing and interpreting is now done in C.
3541    (this is because it needs to be interfaced with the lua-based
3542    font loader)
3544 * I am in the process of merging: the VF stuff; the TFM stuff;
3545    the lua font loading; and the pdftex font backend into one
3546    interface, so there were some smallish changes relating to
3547    that as well. Nothing worth mentioning just yet except that
3548    luatex now will read "ovf" files as well as "vf" files.
3550 * There are a few really small bugfixes for bug reports I received
3551   on this list and by email.
3553 ==============================================================
3554 Luatex snapshot-20070119 was released 20070119
3555 ==============================================================
3557 The largest new bit is the existence of a font.fonts array, that you
3558 can use to query/adjust the internal defined tex fonts. See the manual
3559 for more details.
3561 Two small new lua extensions are added as well:
3563    * os.setenv() -- to change the environment
3564    * os.exec()   -- a non-returning os.execute()
3566 And a bit of cleanup in the commandline processing.
3569 ==============================================================
3570 Luatex snapshot-20070117 was released 20070117
3571 ==============================================================
3573 * the pdftex core is updated to 1.40.1, and web2c to 7.5.6
3575 * the pdftex-specific documentation is removed
3577 * lua lpeg library updated to 0.4
3578    ( http://www.inf.puc-rio.br/~roberto/lpeg.html )
3580 * the C part of the lua md5 library is added to the binary
3581    ( http://www.inf.puc-rio.br/~roberto/md5/md5-5/md5.html )
3583 * --luaonly now puts the script itself at arg[0], and
3584    preceding commandline items in the negative indices
3585    (instead of starting the count at zero).
3586    This new approach is compatible with the standalone lua
3587    interpreter.
3590 ==============================================================
3591 Luatex snapshot-20070107 was released 20070107
3592 ==============================================================
3594 Hot on the heels of 20070105, a new snapshot. It turns out
3595 that using the callback to define a font broke all ligatures.
3596 This snapshot fixes that, and it has a few minor updates to
3597 the manual. Next shapshot will be after the inclusion of
3598 pdftex 1.40.1.
3600 ==============================================================
3601 Luatex snapshot-20070105 was released 20070105
3602 ==============================================================
3604  * the calculations that converted lua strings into tex units
3605    were horrendously wrong, this was discovered by Pawel.
3607  * io.lines() was still using the old, line ending sensitive,
3608    code from the lua core distribution
3610  * The main font memory is allocated as needed^(1) instead of
3611    statically pre-allocated.
3613  * ligatures and kerns are separated completely from each other,
3614    so use of \noligatures no longer inhibits kerning as well
3616  * Metrics can be loaded using a callback: 'define_font'.
3617    The value returned should be a lua table representing a tfm
3618    file.
3620  * there is a new lua table: font. It has one function:
3621    font.read_tfm() that returns a table reprentation of the tfm
3622    contents, for use with the above mentioned callback
3624  * I dropped suppport for "Level 1" OFM files. I would like
3625    to have a try at those extended font files, but I lack
3626    examples (fonts nor documents). I am not even sure such
3627    fonts have ever existed in the 'real world'.
3631 ==============================================================
3632 Luatex snapshot-20061208 was released 20061208
3633 ==============================================================
3635 * There is a new switch: --safer. This disables a number of lua
3636    functions that are more or less dangerous (a detailed list is
3637    in the manual)
3639 * Two longstanding bugs have been fixed: \latelua works once
3640    again (patch by Hartmut) and a bug that caused mysterious crashes
3641    turned out to be a problem inside the paragraph builder
3642    (reconstitution of ligatures)
3644 * Six new string iterators have been added to the string library:
3645       string.characters        (one 1-letter string)
3646       string.bytes             (one byte)
3647       string.characterpairs    (two 1-letter strings)
3648       string.bytepairs         (two bytes)
3649       string.utfcharacters     (a one-character utf-8 string)
3650       string.utfvalues         (a unicode code point number)
3652 * The top 256 values of the unicode range (starting at hex
3653    value "10FF00) are now reserved for byte output. Characters
3654    in that range will be written by luatex after substracting
3655    that offset. The net result is that \char"10FFA9 is written
3656    as byte value hex A9 = decimal 169 = copyright sign in latin1
3658    This trick allows byte-oriented output to \pdfliterals and
3659    \specials, but should be considered very experimental.
3661 * There is a new callback called 'process_input_buffer' that can
3662     be used to mutate the line buffer just before LuaTeX actually
3663     starts looking at it.
3665 * The statistics table now has readable items
3666         statistics.inputid
3667         statistics.lasterrorstring
3668     that represent TeX's current input id and the last error string
3670 * The show_error_hook callback no longer receives any arguments
3671 * There is a new switch: --safer. This disables a number of lua
3672    functions that are more or less dangerous (a detailed list is
3673    in the manual)
3675 * Two longstanding bugs have been fixed: \latelua works once
3676    again (patch by Hartmut) and a bug that caused mysterious crashes
3677    turned out to be a problem inside the paragraph builder
3678    (reconstitution of ligatures)
3680 * Six new string iterators have been added to the string library:
3681       string.characters        (one 1-letter string)
3682       string.bytes             (one byte)
3683       string.characterpairs    (two 1-letter strings)
3684       string.bytepairs         (two bytes)
3685       string.utfcharacters     (a one-character utf-8 string)
3686       string.utfvalues         (a unicode code point number)
3688 * The top 256 values of the unicode range (starting at hex
3689    value "10FF00) are now reserved for byte output. Characters
3690    in that range will be written by luatex after substracting
3691    that offset. The net result is that \char"10FFA9 is written
3692    as byte value hex A9 = decimal 169 = copyright sign in latin1
3694    This trick allows byte-oriented output to \pdfliterals and
3695    \specials, but should be considered very experimental.
3697 * There is a new callback called 'process_input_buffer' that can
3698     be used to mutate the line buffer just before LuaTeX actually
3699     starts looking at it.
3701 * The statistics table now has readable items
3702         statistics.inputid
3703         statistics.lasterrorstring
3704     that represent TeX's current input id and the last error string
3706 * The show_error_hook callback no longer receives any arguments
3708 * The statistics table now has readable items
3709         statistics.luabytecodes
3710         statistics.luastates
3711         statistics.luabytecode_bytes
3712         statistics.luastate_bytes
3713    for memory statistics reporting
3716 * The statistics table now has readable items
3717         statistics.luabytecodes
3718         statistics.luastates
3719         statistics.luabytecode_bytes
3720         statistics.luastate_bytes
3721    for memory statistics reporting
3724 ==============================================================
3725 Luatex snapshot-20061204 was released 20061204
3726 ==============================================================
3728 * The LuaTeX interpreter can now be run as a standalone lua script
3729   processor, by using a commandline like this:
3731     luatex --luaonly=luatools.lua
3733 * Luafilesystem (http://www.keplerproject.org/luafilesystem/ ) is
3734   included.
3736 * There are a total of eight new file discovery callbacks:
3737     find_vf_file
3738     find_ocp_file
3739     find_map_file
3740     find_enc_file
3741     find_sfd_file
3742     find_pk_file
3743     find_data_file
3744     find_opentype_file
3745   this enhances the orthogonality of the callback system, nothing
3746   fundamental is changed.
3748 * There is a new callback called 'process_input_buffer' that can
3749   be used to mutate the line buffer just before LuaTeX actually
3750   starts looking at it.
3752 * The 'reader' and 'close' functions from 'open_read_file' now
3753   receive the table they are defined in as a function argument,
3754   that can be used as a per file localized data store.
3756 * Updated the Lua to the latest 5.1.1, with all known bug patches
3757   from the website applied as well
3759 * Runtime autoloading of lua .so files is now off on all platforms.
3761 * The statistics table now has readable items
3762     statistics.filename
3763     statistics.linenumber
3764   that represent TeX's current file name and line number
3766 * The support for user-defined type3 font .pgc files and the
3767   associated 'read_miscfonts_file' callback has been removed.
3768   (nobody used it anyway)
3770 * General cleanups to the source tree and build process.
3772 ==============================================================
3773 Luatex snapshot-20061023 was released 20061023
3774 ==============================================================
3776 * there was a missing callback: find_font_file
3777 * program_invocation_name was not set
3778 * buf_size could not be more that 300k
3781 ==============================================================
3782 Luatex snapshot-20061013 was released 20061013
3783 ==============================================================
3785 Last friday I uploaded a new snapshot and today I finally
3786 finished updating the manual to go with it. The changes all
3787 relate to startup, file i/o, and callbacks. The main achievement
3788 is: you can now run luatex without it *ever* initializing kpathsea.
3790 Because I am lazy, I have checked in the pdf of the manual
3791 as well, so that I can say: Please look at
3793   https://foundry.supelec.fr/plugins/scmsvn/viewcvs.php/manual/
3794     /luatexref-t.pdf?root=luatex&rev=148&view=log
3796 for all the details.  :-)
3798 ==============================================================
3799 Luatex snapshot-20061002 was released 20061002
3800 ==============================================================
3803 * Some infrastructure changes:
3805   libs/slnunicode-0.9.1/ renamed to libs/slnunicode/
3806   libs/zziplib added
3807   libs/luazip added
3809   (zziplib is using a different version of autofoo. I know I have
3810   messed up something in the build process, but the bit we need
3811   compiles ok so I've postponed attempting to fix it)
3813 * The callback logic has changed quite a bit.
3815   - all callbacks are now only possible in lua state 0.
3817   - The callback 'input_line' has disappeared, and is replaced by
3818     'open_read_file'. One of the return values of that callback
3819     is a table that defines a 'reader' function for line reading.
3821     See the manual for further information on this.
3823   - There are some new callbacks for the reading of various binary
3824     files. The current ones are:
3826     "read_ocp_file", "read_vf_file", "read_data_file", "read_font_file",
3827     "read_map_file".
3829     The rest of the file types will follow soon (fonts, enc files, and
3830     images).
3832   - There are also some new callbacks that 'find' a file's pathname:
3834     "find_truetype_file", "find_type1_file", "find_image_file"
3836     here too, more will follow later.
3838   - the functions from io. that were copied to texio have been removed
3839     again. The new callbacks do not pass file pointers around, so
3840     they ere not longer needed
3842   - the 'open_write_file' is temporarily unavailable
3844 * startup.lua is now always loaded into lua state 0
3846 * The luazip library from kepler is linked in, so there the table 'zip'
3847   is accessible from all lua states.
3849 ==============================================================
3850 Luatex snapshot-20060922 was released 20060922
3851 ==============================================================
3853 * The texio table has gained a new function:
3855      tex_file = texio.open(filename)
3857    returns a file handle of a type that luatex can use
3858    internally (the return of io.open is unusable in callbacks
3859    because it will be garbage-collected at a random time)
3862 * In related news, there are two new callbacks you can define:
3864         callback.register('open_read_file', f)
3865         callback.register('open_write_file', f)
3867    where your function should have the following conventions:
3869    function f (number id_number, string asked_name)
3870       return boolean success, string actual_name, tex_file filep
3871    end
3873    id_number:   zero for the log or \input files  or TeX's \read
3874                 number incremented by one (\read0 becomes 1).
3875    asked_name:  the user-supplied filename
3877    success:     return false for error, true otherwise.
3879    The remaining two items are only looked at if you return true:
3881    actual_name:  the true filename used (with extension!)
3882    filep:        a file object opened though texio.open()
3885 * The tex.print function has an extra optional parameter:
3887        tex.print(ctt_id n, strings ...)
3889    This prints the strings using the catcode regime defined by
3890    \catcodetable n (assuming n is valid, see below)
3892 * The new function tex.sprint has the same lua conventions as
3893    tex.print, but behaces slightly different on the tex side:
3895    ** tex does not switch to the 'new_line' state (this implies
3896       that leading spaces are not ignored)
3897    ** no \endlinechars are inserted
3898    ** trailing spaces are not removed from the argument
3900 * Catcode tables are a completely new feature, that allows
3901    you to switch the current catcode regime in one simple
3902    statement:
3904    \catcodetable <count>
3906       Switches to the use of a different set of catcodes (table),
3907       that is stored under the number <count>. Such a table has to
3908       be previously created using one of the two command below, or
3909       the number 0 (which is pre-inititialized)
3911       This command obeys normal grouping rules.
3913    \initcatcodetable <count>
3915       creates a new, global, independent catcode table with catcodes
3916       matching the code that are predefined by initex (tex -ini).
3918      This allocation is global
3920    \savecatcodetable <count>
3922       copies the current set of catcodes to a new, global, table
3923       with id number <count>. The definitions in this new table
3924       are all treated as if they were made in the outermost level.
3926      This allocation is global
3928    At the end of each grouping level, items within all existing
3929    catcodetables are restored, regardless of which one is the
3930    currently active table.
3932    Catcode table numbers cannot be larger than 0xFFFFFFF (228-1)
3934 * There is a new lua table: lua. It contains three read-only
3935    items:
3937      lua.id          -- the id number of the instance
3938      lua.version     -- a luatex version identifier string
3939      lua.startupfile -- the full filename (+path) of startup.lua
3941    and it also contains a read/write array:
3943      lua.bytecode[]  -- lua executable bytecode
3945    This array can be used to save and restore lua functions
3946    across lua states. The accepted values are for assignments
3947    are functions and nil. Likewise, the retrieved value is
3948    either a function or nil.
3950    The contents of the lua.bytecode array is stored inside the
3951    format file, so it can also be used to preload lua code.
3954 * The format files are quire a bit smaller than before
3957 ==============================================================
3958 Luatex snapshot-20060915 was released 20060915
3959 ==============================================================
3961 * There is a new TEX primitive: \formatname. It is similar
3962   to \jobname (read-only). In initex, the expansion is empty,
3963   otherwise the expansion is the same as the \jobname from
3964   the initex run.
3966 * the lua "tex" table has been expanded with a few of the 'convert'
3967   codes (read-only). The supported ones at this moment are:
3969   tex.eTeXVersion
3970   tex.OmegaVersion
3971   tex.AlephVersion
3972   tex.pdftexrevision
3973   tex.pdftexbanner
3974   tex.pdfnormaldeviate
3975   tex.jobname
3976   tex.formatname
3977   tex.eTeXrevision
3978   tex.Omegarevision
3979   tex.Alephrevision
3981   This list looks haphazard,  but it really is not. These are
3982   all the cases of the 'convert' internal command that do not
3983   require an argument.
3985 * The metatables of the subtables like tex.dimen[] etc. are now
3986   adjustable from lua (not that I recommend doing that;-)).
3988 * On the lua side, there is a new global value: "luaid"
3989   It holds the internal id number of this \directlua instance.
3991 * There is a new lua table, "callback", that has the single function
3992   "callback.register", used to register callbacks.   This replaces
3993   the previous concoction (see my message about snapshot 20060901).
3994   Syntax is :
3996   callback.register(<callback name>,function (f) ... end)
3998   where the <callback name> is for the moment, either "input_line"
3999   or "show_error_hook".
4001   This function internalizes the callback function in such a way
4002   that you no longer have to worry about \luacallback (which has
4003   been removed), nor does it matter if you redefine a function
4004   accidentally.
4006  The internal testing for callback presence is also quite a bit
4007  faster, thanks to this change. Callback assignments are global
4008  and the "input_line" always takes effect starting on the next
4009  input line to be read from an actual file.
4012 * \detokenizedlua has been removed. It is functionally replaced by
4013   the new function call tex.write("").
4015   Each argument to each call of tex.write () counts as an input
4016   line, but:
4017   ** all catcodes on that line are either 'space' (for " ") or
4018      'character' for all others.
4019   ** there is no \newlinechar appended.
4021 * The implementation of tex.print() has changed as well:
4023   ** the very last tex.print() line from a \directlua
4024      will no longer have a trailing \newlinechar
4025      (this is very convenient when \directlua is used
4026      within an \edef)
4027   ** tex.print() is quite a lot faster than before, and the total amount
4028      of returnable text from a \directlua is now only limited by
4029      available system RAM. However, each separate tex.print ()
4030      argument has to fit in TeX's input buffer.
4032 * The new primitive \luastartup can be set inside the format file
4033   to specify the lua instance number in which a possible runtime
4034   startup.lua script is executed (initex always uses 0)
4036 * There is a new primitive \scantextokens. Differences with
4037   eTeX's \scantokens are:
4039   ** the last line (usually only) from \scantextokens
4040      does not have a \newlinechar
4042   ** \scantextokens never raises an eof error.
4044   This means things like
4046   \edef\testone
4047         {\scantextokens{\ifnum1=1 true}\else false\fi}
4049   are legal input (but potentially dangerous!).
4051 * If you say
4052      local d  = tex.dimen["unknowndimen"]
4053   'd' will now become "nil" instead of raising an error
4055    However,
4056      tex.dimen["unknowndimen"] = d
4057    is still (and probably will remain) illegal
4059 ==============================================================
4060 Luatex snapshot-20060908 was released 20060908
4061 ==============================================================
4063 * BIG CHANGE: \directlua now runs \scantokens internally.
4065   There is no longer a need to call scantokens yourself, the
4066   tex.print() output is now fed straight into a pseudo file.
4067   This is quite a bit faster as well as easier to use, but
4068   just in case you want it, the old behaviour is still present,
4069   under the new name
4071     \detokenizedlua
4074 * The texio library now has its own (partial) set of I/O commands,
4075   so that the standard lua io library is back to the distributed
4076   state (no more patched garbage collector)
4078   Note: This is really a very small change (it should not have any
4079   impact on wellbehaved input files), but I attempt to be complete
4080   in these notes, since there is no official documentation yet.
4083 * There is a new standard library available: kpse
4085   The most important function in that library is find_file:
4087     string = kpse.find_file(string filename
4088                             [,string type]
4089                             [,boolean mustexist])
4091   both "type" and "mustexist" are optional, so the function
4092   has from one upto three arguments.
4094   "type" is like the '-format' argument of kpsewhich. You can
4095      run 'kpsewich -h'  for a list. The default type is "tex".
4097   "mustexist" is like '-must-exist', and the default  is false.
4098      If you specify "true" (or a nonzero integer), then the kpse
4099      library will search the disk as well as the ls-R databases
4101   The new library also has three other functions that map
4102   straight to kpsewhich commandline options:
4104     string = kpse.expand_path(string)
4105     string = kpse.expand_var(string)
4106     string = kpse.expand_braces(string)
4108 * There is a second callback possibility:
4110     texio.show_error_hook(string message,
4111                           string|number indicator,
4112                           number lineno)
4114   This command is run from inside the TeX error function, and the
4115   idea is to allow you to do some extra reporting on top of what
4116   TeX already does (none of the normal actions are removed).
4118   "message" is the formal error message tex has given to the
4119      user (the line after the "! ")
4120   "indicator" is either a filename (when it is a string) or a
4121      location indicator (a number) that can means lots of different
4122      things like a token list id or a \read number.
4123   "lineno"  is the current line number
4125   This is an investigative item only, comments are welcome but do
4126   not take the syntax seriously.
4128   The final goal IMO is the total replacement of TeX's error
4129   handling routines, but that needs lots of adjustments
4130   in the web source because TeX deals with errors in a somewhat
4131   haphazard fashion (it needs unification first). The current
4132   hook is only for 'testing the water'.
4134 * It is now possible to use named items in the
4136     tex.count[]
4137     tex.dimen[]
4138     tex.toks[]
4140   subtables, so you can have
4142     tex.count.scratchcounter = 0
4143         local enormous = tex.dimen["maxdimen"]
4145   Luatex looks up the value for you on the fly. You have to use a
4146   valid \countdef (or \dimendef, or \toksdef), anything else will
4147   generate an error.
4149   In a normal TeX file, you don't do \dimen\maxdimen, but the
4150   lua syntax seems to be a bit cleaner to me. The intention is
4151   to evntually also allow \chardefs and macros that expand
4152   into a number (todo)
4155 * The tex table has also been extended with a large list of internal
4156   parameters (partially read/write). It is possible to access
4157   about every primitive that you can use after \the *and* is a
4158   single token. So there is
4160        integer   = tex.tracingcommands (\the\tracingcommands)
4161        integer   = tex.prevgraf        (\the\prevgraf)
4162        string    = tex.output          (\the\output)
4164   etc. for all of the internal parameters, but not the items
4165   that need extra arguments (like \the\scriptfont )
4167   The subset comprising simple integer and dimension registers
4168   are writable as well as readable (stuff like \tracingcommands
4169   and \parindent).
4171   The fact that both lists are still quite limited is a result of
4172   the very different types of things that can occur after \the and
4173   also on the LHS of an assignment. The remaining primitives will
4174   be filled in when there is a real need or implementation becomes
4175   simple, whichever comes first.
4179 ==============================================================
4180 Luatex snapshot-20060901 was released 20060901
4181 ==============================================================
4183 All changes are related to lua this time, and most are quite unstable
4184 / experimental. But first the things that are stabel/fixed bugs:
4186 * A VF loading bug that turned up in some of Hans' fonts
4187   has been fixed
4189 * A small series of bounds checking fixes to \ocplist has been
4190   added to prevent the system from crashing due to array indexes
4191   running out of bounds.
4193 * The Lua file searching paths are now fixed. The search path for lua
4194   script files now contains the following items (tried in order)
4195   1. the local directory:
4196        ./?.lua
4197     (for document-specific files)
4198   2. the items from the expansion of kpathsea's $TEXMFSCRIPTS variable,
4199     but only the parts containing 'lua' as a subpath:
4200        $TEXMFSCRIPTS<lua>/?.lua
4201        $TEXMFSCRIPTS<lua>/?/init.lua
4202      (for format-specific files)
4203   3. the $SELFAUTOPARENT sibling directory named 'lib'.
4204        $SELFAUTOPARENT/lib/lua/5.1/?.lua
4205        $SELFAUTOPARENT/lib/lua/5.1/?/init.lua
4206      (for files that are not related to tex)
4208   The search path for dynamic libraries has only
4209   1. the local directory:
4210        ./?.so
4211     (for document-specific files)
4212   2. and the $SELFAUTOPARENT sibling directory named 'lib'.
4213        $SELFAUTOPARENT/lib/lua/5.1/?.so
4215   (of course the extension is .dll on windows, but .dlls do not
4216    work at the moment so it will not do you much good)
4218 * There are two functions available within a new table called
4219   texio:
4220     texio.write (luastring)
4221     texio.write_nl (luastring)
4222   both write the luastring to the same location(s) TeX writes
4223   its stuff. So if \batchmode is on, it writes only to the
4224   log, inside a \write, it prints to the current write file,
4225   etc.
4227   A read|write interface to TeX's "file selector" will
4228   follow shortly.
4230 * At startup, luatex searches for a script named
4231     startup.lua
4232   in the path list I explained above. If such a file exists, it is
4233   loaded.
4235   This happens right before the first input file needs to be opened
4236   (that is after format loading, but before any \everyjob tokens).
4238   From within the script, you can check the value of
4240     tex.formatname
4242   that is the 'format identification' as used by TEX. When the variable
4243   is equal to nil, luatex in in 'initex' mode, otherwise it will be
4244   something like: " (format=plain 2006.9.1)"
4247 Now for the experimental portion: callbacks. Here is what I have done
4248 so far:
4250 * The main reason for wanting startup.lua is file (input) re-encoding.
4251   For this purpose, it is now possible to set up a callback for
4252   luatex to execute.
4254   If you attach a Lua function to
4256     texio.input_line
4258   then from the next input line onwards, luatex will run that
4259   function whenever it needs a new input line from a text file.
4261   Your function will receive a file handle as argument, and
4262   should return either a string or nil (with nil signalling that
4263   the end of file has occurred).
4265   The trivial case is simply this:
4267     function reader (f)
4268         return f:read()
4269     end
4270     texio.input_line = reader
4273   Warning: The implementation is not totally finished yet. For the
4274   moment the file handle ("f" in the example) is a normal lua file,
4275   with a simple but important restriction: you cannot alter its value.
4276   You cannot f:close() it, or assign it a different value. luatex
4277   will eventually close the file itself.
4279   The restriction is a side-effect of a synchronisation problem with
4280   the lua garbage collector. Because of this, it also was necessary
4281   to turn off the automatic file closing code for normal lua io
4282   files (In other words: you have to close yourself all the files
4283   you opened yourself, and you should not close any files you did
4284   not open yourself).
4286   In the near future, "f" will become a special 'texio' file object
4287   and the needed functionality from the normal io library will be
4288   reimplemented. Along with that change, there will also be a callback
4289   to open (i.e. find) files, and a simple interface to the compiled-in
4290   kpathsea to use within that callback.
4293 ==============================================================
4294 Luatex snapshot-20060825 was released 20060825
4295 ==============================================================
4297 The main change in this snapshot is that it uses far less memory.
4298 luatex -ini on my linux machine went from 326Mb (last week) to
4299 93Mb (now), and "texexec luatex" now ends at 184Mb instead of
4300 over 1/2Gb.
4302 This is achieved by two big changes:
4304 * The \mathcode, \delcode, \catcode, \sfcode, \lccode and \uccode
4305    tables are now sparse arrays that are implemented in C. They
4306    are no longer part of the TeX "equivalence table" and because
4307    each had 1.1 million entries with a few memory words each, this
4308    makes a major difference.
4310    See mathcodes.c and textcodes.c if you are interested in the
4311    gory details, but be warned: the code is still extremely
4312    rough and ugly. In particular, the dump and undump routines
4313    are far from optimal, resulting in somewhat larger format files
4314    than before (approx 1.3Mb larger with unicode-letters loaded,
4315    10k without); and the assignments do not show up when using
4316    the etex tracing routines \tracingassigns and \tracingrestores
4317    (code simply not written yet)
4319 * Single-character commands are no longer "special" internally,
4320    they are stored in the hash just like the multiletter csnames.
4323 ==============================================================
4324 Luatex snapshot-20060818 was released 20060818
4325 ==============================================================
4327 The snapshot is up to par with Aleph-RC4 (from texlive devel)
4328 and the latest pdftex beta (even newer than 20060811). However,
4329 there are some differences, to summarize:
4331 * There is no pool file (all strings are embedded)
4333 * -8bit and -translate-file are silently ignored
4335 * There is no mltex nor enctex (conflicts with aleph)
4337 * The tex functionality is always present and enabled
4338   (but see below about TeXXeT), so the asterisk or
4339   -etex switch for initex is not needed
4341 * "plus 1 filllllllll" does not generate any errors from TeX
4343 * TeXXeT (from eTeX) is not present, so the primives
4344     \TeXXeTstate
4345     \beginR
4346     \beginL
4347     \endR
4348     \endL
4349   are missing
4351 * The experimental pdftex regex match operations are removed,
4352   because that feature does not make much sense when lua is
4353   available so the primitives
4354         \pdfmatch
4355     \pdflastmatch
4356   are missing
4358 * The input translations from Aleph are not implemented, the
4359   16 related primitives are all missing
4360      \DefaultInputMode
4361      \noDefaultInputMode
4362      \noInputMode
4363      \InputMode
4364      \DefaultOutputMode
4365      \noDefaultOutputMode
4366      \noOutputMode
4367      \OutputMode
4368      \DefaultInputTranslation
4369      \noDefaultInputTranslation
4370      \noInputTranslation
4371      \InputTranslation
4372      \DefaultOutputTranslation
4373      \noDefaultOutputTranslation
4374      \noOutputTranslation
4375      \OutputTranslation
4376   All file IO assumes UTF-8, except that all the low-ascii
4377   controls except TAB, CR en LF are written to the terminal
4378   using ^^  notation (even these are binary in the log file).
4380 * Input characters can use the full range of Unicode,
4381   but it probably only makes sense to use values above
4382   the base plane for \mathcode and \catcode assignments,
4383   since the fonts as well as the hyphenation patterns
4384   are strictly 16-bit still.
4386 * The primitives
4387      \pdfpagewidth and \pagewidth,
4388      \pdfpageheight and \pageheight,
4389      \fontcharwd and \charwd,
4390      \fontcharht and \charht,
4391      \fontchardp and \chardp,
4392      \fontcharic and \charic,
4393   are all aliases of eachother.
4395 * The new primitive
4396      \clearmarks<number>
4397   clears a marks class completely.
4399 * The experimental pdftex primitives
4400      \pdfprimitive
4401      \ifpdfprimitive
4402      \ifpdfabsnum
4403      \ifpdfabsdim
4404   and provided without the extra 'pdf' prefix, so they are
4405   simply called
4406      \primitive
4407      \ifprimitive
4408      \ifabsnum
4409      \ifabsdim
4410   instead.
4412 * I probably forgot to mention some things :-)