update NEWS and luatex.c with new rev. numbers (trunk)
[luatex.git] / source / texk / web2c / luatexdir / NEWS
blob0e875eda06b916b28c43031017471b769064d575
2 This file is in the public domain.
4 ==============================================================
5 Luatex beta-0.85.0 was released 2015111400 (5550)
6 ==============================================================
7 -- roadmap
9 The 0.85 release is has a lot of changes. It is the prelude to 0.90 which itself is
10 a prelude to the 0.95 that will go on texlive 2016. The 1.00 release will happen
11 around the 2016 context meeting. After that 2.* will become the next experimental
12 branch (leading to 3.*). The most important changes between 0.80 and 0.85 are mentioned
13 below. For more information consult the manual.
15 -- the backend commands
17 There is a better separation between front- and backend code. Some of the generic
18 \pdf* commands have been promoted to core primitives (with different names), some
19 have been removes like ximagecolordepth and ximagebbox have been removed and
20 all that are left have been organized differently. The backend is now more abstract
21 and provides three primitives only
23   \pdfextension <keyword> <optional spec>
24   \pdfvariable  <keyword>
25   \pdffeedback  <keyword>
27 The first replaces \pdfannot and alike, the second replaces the variables that can
28 be sused to control behaviour, and the third accesses the read only variables. See
29 luatex-pdf.tex in the context distribution for a plain definition file.
31 The big advantage of the separation (basically core (lua)tex + extensions) is that
32 changes in the backend don't have consequences for the frontend and it's easier to
33 locate possible issues in the code. We might split a bit more at the lua end too.
35 -- nodes
37 The boundary, dir and localpar whatsits are now normal nodes. The xforms and ximage
38 whatsits are now a special kind of rule nodes (subtypes 1 and 2) and known as box-
39 and image resources (see manual). Also, empty rules are now a valid subtype (subtype
40 3) with related commands \nohrule and \novrule.
42 At the lua end one can now access the fields of a spec subnode directly in the parent,
43 which has the benefit of more control and robust assignments (no need to check for
44 writeability) while we keep the concept of shared glue specs (tex internals). By
45 staying close to traditional TeX the Knuthian documentation still applies in most
46 cases.
48 The pdf action nodes are now pdf_action whatsit nodes (so no longer a pseudo core
49 node).
51 You can get the node subtypes with the node.subtypes function which adds a layer
52 of abstraction (foo.subtype = "string" might be added in the future).
54 -- expansion
56 The hz optimization already only supported level 2 optimization, but now has a variant
57 3 that does only stretch glyphs and not kerns. Pending is a change where we go back to
58 percentages instead of fractions of em.
60 -- math
62 The old/new codepath has been checked and italic correction which is fundamental
63 different between the engines has been (partially) redone.
65 We now have \mathsurroundskip that replaces mathsurround when it's non zero.
67 The \mathtoptions (old 1) directive can be used for testing. This primitive is mostly for
68 ourselves and used for development.
70 The \Umathcharclass, \Umathcharfam and \Umathcharslot primitives can be used to fetch
71 properties of a math character.
73 The new \Uleft, \Uright and \Umiddle fence operators accept "height <dimen>", "depth
74 <dimen>" and the "noaxis" keyword as well the "exact" keyword for non-fitting ones. There
75 is also \Uvextension. Optionally one can specify a 'class'.
77 The \Udelimiter[under|over] and \U[under|over]delimiter primitives accept a width as well
78 as left, middle and right keywords (for non fitting ones). There is also \Uhextension.
80 The \abovewithdelimiter command accepts 'exact' as keyword (before the dimension) which nils
81 the excessive spacing. The normal vgaps still apply.
83 We have a new fraction primitive \Uskewed with a companion \Uskewedwithdelims. Optional
84 keywords are 'noaxis' and 'exact'.
86 There is a new directive \mathdisplayskipmode (esp for controlling the > 0 below skip check).
88 With \mathscriptsmode you can fix anchoring of scripts (as needed for chemistry).
90 The \Umathaccent commands accept a width and fraction argument.
92 -- hyhenation
94 The discretionary command now accept an optional "penalty <number>" specification
95 where the penalty will be stored with the node. Default is hyphenpenalty.
97 -- file io
99 texio.write/write_nl now writes to file if the first argument is a (valid) number
100 reference to a file opened at the tex end; you can now open 128 files from the tex end
101 (0..127) and the system command is no longer executed with 18
103 -- lua interface
105 The tex.<internal variable> is hopefully better now. The tex.get* also can handle
106 the built in registers. Especially prevdepth access should work out ok now.
108 -- and ...
110 As usual there are lots of small fixes, improvements, overhauls, small additions,
111 hopefully all mentioned in the manual.
113 -- warning
115 This version is probably not compatible with the macro package that you use as some
116 engine specific initializations need to take place (\pdf commands) and some node types
117 have been changed. We now have separated pdf backend commands and the only left
118 primitive categories are: core, (tex), etex and luatex, so no more pdftex, omega and
119 umath (where the distinction became to fuzzy). Of course you can still prefix.
123 ==============================================================
124 Luatex beta-0.81.0 was released 2015100722 (5350)
125 ==============================================================
129 * A couple of primitives are removed, renamed and/or promoted to core (luatex) primitives. 
130 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,
132    Updating to this version also might demand an update in the
133    macro package that you use!
135 Here we go:
137 % removed, can be done with callbacks if needed, one can define dimen dummies, like
139 \newdimen\pdfeachlineheight
140 \newdimen\pdfeachlinedepth
141 \newdimen\pdflastlinedepth
142 \newdimen\pdffirstlineheight
143 \newdimen\pdfignoreddimen
145 % removed, were already obsolete, one can \let them
147 \let\pdftexversion \luatexversion
148 \let\pdftexrevision\luatexrevision
149 \let\pdftexbanner  \luatexbanner
151 % promoted (from pdftex), so pdf prefix gone, one can \let them
153 \let\pdfnormaldeviate \normaldeviate
154 \let\pdfuniformdeviate\uniformdeviate
155 \let\pdfsetrandomseed \setrandomseed
156 \let\pdfrandomseed    \randomseed
158 % promoted (from omega), so pdf prefix gone, one can \let them
160 \let\pdfpagewidth \pagewidth
161 \let\pdfpageheight\pageheight
163 % redundant (etex wins over omega), so \font-less ones gone, one can \let them
165 \let\chardp\fontchardp
166 \let\charht\fontcharht
167 \let\charit\fontcharit
168 \let\charwd\fontcharwd
170 % promoted (from aleph)
172 \pagerightoffset
173 \pagebottomoffset
175 % promoted (from pdftex)
177 \ifincsname
178 \expanded
179 \quitvmode
181 % removed (from pdftex), so *pdf* ones gone, one can \let them
183 \let\ifpdfabsnum   \ifabsnum
184 \let\ifpdfabsdim   \ifabsdim
185 \let\ifpdfprimitive\ifprimitive
186 \let\pdfprimitive  \primitive
188 % promoted (from omega)
190 \pagedir
191 \bodydir
192 \pardir
193 \textdir
194 \mathdir
196 % promoted (from aleph)
198 \boxdir
200 % promoted (from pdftex)
202 \lpcode
203 \rpcode
204 \efcode
205 \leftmarginkern
206 \rightmarginkern
208 \tagcode
209 \letterspacefont
211 % promoted (from pdftex), so *pdf* ones gone, one can \let them
213 \let\pdfprotrudechars\protrudechars
214 \let\pdfadjustspacing\adjustspacing
216 \let\pdfnoligatures  \ignoreligaturesinfont
217 \let\pdffontexpand   \expandglyphsinfont
219 % promoted (from pdftex), so *pdf* ones gone, one can \let them
221 \let\pdfsavepos \savepos
222 \let\pdflastxpos\lastxpos
223 \let\pdflastypos\lastypos
225 % on the todo list are:
227 \pdfoutput         : \outputmode
228 \pdfmatrix         : will get a normal syntax, no weird { } parsing
230 \pdfcolorstackinit : might become obsolete
231 \pdfcolorstack     : might become obsolete
233 So, apart from a few, the \pdf* primitives now relate to the backend only.
235 % There is also a new primitive:
237 \hyphenationmin
239 This one determines the minimum word length (per language).
240  At the same time we moved the (ex)hyphenpenalties 
241 in the disc nodes so you can inject discretionaries with specific penalties.
243 There will also be an updated manual.
244 Hans
247 * new epdf.openMemStream(s,l,docid)
248 to create a pdf from a lightuserdata or  string.
249 (experimental, do not use in production.)
251 * uniform random generator in mplib is now specific for each numbersystem;
253 * too_precise implemented for binary number system;
255 * several bug fixes.
258 ==============================================================
259 Luatex beta-0.80.0 was released 20150319 (5195)
260 ==============================================================
262 * New library newtokenlib. It will replace the current token lib.
263 * Fixed a bug on the normal random generator for double/decimal/binary
264   number systems.
265 * Several others bugs fixed.
268 ==============================================================
269 Luatex beta-0.79.3.1 was released 20150122 (5140)
270 ==============================================================
272 * Fixed a bug in  mp.w with a wrong input that gives a seg. fault.
276 ==============================================================
277 Luatex beta-0.79.3 was released 20150121 (5130)
278 ==============================================================
281 * It's now possible with the MinGW compilers to build luatex and luajittex as DLL 
282   for Windows 32bit/64bit.  The files are:
283   libkpathsea-6.dll  luajittex.exe  luatex.exe  texlua52.dll  texluajit.dll
284   In the next release the build.sh script be updated; for the moment just add
285   "--enable-shared -disable-native-texlive-build " after --disable-all-pkgs 
286   in TL_MAKE. 
287   Building as DLL was tested only for Windows.
289 * When possibile  symbols in the exe are now hidden: 
290   this should avoid conflicts with the loading of dynamic shared object.
292 * several bugfixes and improvements. The patches for MetaPost
293   fix seg. faults occourred with wrong inputs.
294   The functions:
295    mp_get_numeric_value, mp_get_string_value, mp_get_boolean_value 
296   works if the value is a variable (i.e. not an internal variable, 
297   a loop variable and a macro argument);
298   only mp_get_numeric_value now has support for loop variable
299   and internal variable (but still  not for macro arguments).
302 ==============================================================
303 Luatex beta-0.79.2 was released 20141111 (5082)
304 ==============================================================
307 * WARNING: the structure of the format file is changed.
308   After  the  Web2C \TeX's magic constant: "W2TX"  there is now
309   a FORMAT_ID, a 32bit field that cannot be between 0 and 256 (included)
310   so that there are no conflicts with the preexisting  structure
311   of the format.
312   The value can be seen with --debug-format and currently is
313   907 (the sum of the values of the bytes of the ASCII string "don knuth").
315 * There is a new set of lua functions for StructElement and Attribute,
316   convenient (even if not indispensable) for tagged pdf.
317   
319 * several bugfixes and improvements.
322 ==============================================================
323 Luatex beta-0.79.0 was released 20140328 (4960)
324 ==============================================================
326 * The luafontloader now returns 'tsidebearing' glyph values
327   for OT/TT fonts, if applicable.
329 * new lua variables: stats.luatex_hashtype, stats.luatex_hashchars,
330   stats.lastluaerrorstring; the luajittex string hash method is now
331   lua 5.1 compliant which gives better results for similar strings
333 * new lua functions: tex.init_rand(), tex.uniform_rand(),
334   tex.normal_rand(), tex.lua_math_randomseed(), tex.lua_math_random(),
335   tex.show_context(); these helpers make luatex and luajittex compatible
337 * In the lua node interface, there were often issues with rubbish
338   in (especially) 'prev' fields because luatex itself never looks
339   at those values. This is now cleaned up to prevent weird stuff
340   happening inside lua node processing code.
342 * pdf.pageattributes, pdf.pagesattributes, pdf.info, pdf.catalog,
343   pdf.names and pdf.trailer now behave consistent and can be used
344   to add these properties at the lua end in addition to their \pdf*
345   counterparts atthe tex end; there are now pdf.get* and pdf.set*
346   commands for them too (in future versions the old ways can become
347   obsolete)
349 * new accessors pdf.geth, pdfgetv, pdfgetpos, getgetmatrix as well
350   as pdfhasmatrix helpers (in future versions the direct pdf.h and
351   pdf.v accessor can become obsolete)
353 * the pdf.pdf* variables have been removed (they were already
354   obsolete for some years)
356 * a new properties mechanism for associating lua tables with nodes
357   that get cleaned up when nodes a freed (see manual for details)
359 * several improvements to the way temporary (backend) data is stored
360   at the lua end (better protection, more consistent)
362 * a 'l' type for user nodes that holds a lua variable (can be set
363   at the lua end)
365 * if a late lua node is set at the lua end the string value can be
366   a function as well which is then executed during serialization to
367   the backend stream
369 * Various small speedups
371 * Various smallish fixes to the node direct interface
373 * LPeg is now at version 0.12
375 * Some small fixes to the CFF (font) parsing
377 * Font file inclusion reporting messages on the terminal now
378   comply to the texconfig.trace_file_names setting
380 * Removed some of the additional luafontloader.info() return
381   information that was added in 0.78.2, but could not work
382   properly.
384 * new primitive \luafunction (see manual), with associated
385   lua.get_functions_table() function
387 * lua error message reporting has been altered a bit to make
388   the distinction between \directlua and other lua source code
389   sources clearer
391 * Additional pdf document data functionality in the 'pdf' table
392   has been cleaned up internally
394 * Additional pdf destination names can now be set via lua.
396 * New callbacks: finish_pdfpage, show_error_message,
397   show_lua_error_hook, start_file, stop_file
399 * Handling of \tracinglostchars is fixed
401 * Embedded metapost library version is now 1.900
403 * luajittex is now included in the distribution. One can use
404   buildjit.sh to build both luatex and luajittex, where
405   supported by the platform
407 * Synchronization with the TeXLive sources updated the following
408   libraries:
409   * libpng is now 1.6.10
410   * poppler is now 0.25.2
412 ==============================================================
413 Luatex beta-0.78.2 was released 20140113 (4748)
414 ==============================================================
416 * Extended luafontloader's info() function to include data
417   from the 'pfminfo' and 'names' structure.
419 * Fixed a bug in the luafontloader library that made loading
420   some fonts extremely slow (LastResort.ttf)
422 * Removed a recent extension in the luafontloader library that
423   made loading fonts with lots of glyphs slow (ArialUnicoce.ttf).
424   Note: the extension made sure that there were no duplicate
425   glyph names in the font after loading.
427 * Restored --recorder output for lua files (dofile/loadfile/io.open)
429 * One-at-a-time pattern adding from lua used to require enormous
430   amounts of memory
432 * luatex's fontloader.to_table() no longer reports 'altuni' table
433   information for alternates that are solely driven by the font
434   encoding. This fixes loading time issues for fonts that fill
435   encodings by copying a single glyph many times, like e.g.
436   LastResort.ttf from Apple.
438 * The datestamp no longer appears in any banners. The associated
439   \luatexdatestamp primitive is deprecated and will be removed
440   in 0.80.0.
442 * Synchronization with the TeXLive sources updated the following
443   libraries:
444   * cairo is now 1.12.16
445   * pixman is now 0.32.4
446   * lua is now 5.2.3
447   * zlib is now 1.2.8
448   * poppler is now 0.25.0
450 * That same TL synchronization also fixes these issues:
451   * Always write "\nendstream" to the PDF for PDF/A-1b compliance.
452   * Large file support (>4GB) in Lua
453   * Big images could overflow on systems where sizeof(long)=4.
454   * In writing CID CFF fonts to the PDF, and end_dict() was missing.
455   * Unknown 'post' table versions (found in some broken ttf/otf
456     fonts) are now treated as-if they specified version 3.0.
457   * Fix crashes on 32-bit systems caused by bad C header inclusion
458     order
459   * Handle '--luac' and '--luaconly' properly
460   * luatex is now released under GPLv2+, not just GPLv2.
461   * luatex can now find .ofm metric files even if the extension
462     is not given explicitly.
464 * node.unset_attribute() was broken in 0.78.0
466 * The UTF-8 commandline patch from 0.78.0 for Win32 was removed
467   again (did not work properly)
469 ==============================================================
470 Luatex beta-0.78.0 was released 20131231
471 ==============================================================
473 * Instead of using expanded fonts, just calculate the expanded
474   width of glyphs where needed, and carry expand info in the
475   glyph nodes (all based on Hans' suggestions). All font expansion
476   functions are disabled and most are removed.
478 * New, faster (but limited) direct node access from lua, see
479   the manual for details
481 * Support for Apple Advanced Typography (AAT) information in
482   fonts is dropped
484 * Extended build script for mingw/msys (includes 64-bit support)
486 * Various patches from/via Akira Kakuta for better Win32
487   integration
489 * Fixes for some bugs in de pdfscanner library (mostly related
490   to inline images)
492 * Maximum hyphenated word length is now 64Kb characters.
494 * Various patches from Khaled Hosny and Luigi Scarso for the
495   luafontloader subsystem
497 * Fix for a crash when re-dumping formats
499 * Fix for a Selene unicode library bug where some characters in
500   UTF-8 were incorrectly flagged as having the 'Space' property
502 * Some smaller fixes
504 ==============================================================
505 Luatex beta-0.76.0 was released 20130405
506 ==============================================================
508 * Metapost 1.801.
510 * Small patches from TeXLive 2013, as well as an update to the
511   latest libraries (libpng, poppler, etc.)
513 * Speed up printing (of TeX strings) to the terminal and log.
515 * New lua function node.end_of_math().
517 * Fixed a memory leak in the lua function pdfscanner.scan().
519 ==============================================================
520 Luatex beta-0.75.0 was released 20130301
521 ==============================================================
523 News:
525 * New expandable primitive \Uchar.
527 * Metapost 1.790.
529 * New version of lnodelib.c with speedups by Hans and Luigi.
530   Also added some extra sanity checks to the Lua node field
531   setting functions.
533 * Support 'umath' in tex.extraprimitives(), so that formats can
534   make the \Umath* primitives unprefixed, now that they will be
535   provided by XeTeX as well.
537 * Removed a bunch of deprecated primitives
538   * \AlephVersion, \Alephrevision, \Alephversion, \Alephminorversion
539   * \OmegaVersion, \Omegarevision, \Omegaversion, \Omegaminorversion
540   * \omathcode, \odelcode, \omathchardef, \omathchar, \omathaccent,
541     \odelimiter, \oradical
542   * \Umathbotaccent, \Umathaccents
544 * Fix large file support.
546 * Fix Lua's loadfile().
548 * Removed the cidmap callbacks again (let that be done by user lua
549   code after the fact).
551 * Removed the fatal error on fonts where num_glyphs is too high,
552   as that problem is actually harmless.
554 * Some compilation issues under Win32 and Solaris resolved.
556 * Allow math extender objects to be zero width.
558 * The 'epdf' library has been extended to deal with finding and
559   saving embedded files (catalog:numEmbeddedFiles() and catalog:
560   embeddedFile, new EmbFile object).
562 ==============================================================
563 Luatex beta-0.74.0 was released 20121224
564 ==============================================================
566 News:
568 * lua 5.2
569   There are no patches to the core Lua files; a future version
570   of luatex will switch to loading the regular lua 5.2 dynamic
571   library instead of depending on a statically compiled
572   one.
574 * A bleeding-edge version of luasocket is included, as there
575   is no 5.2-compatible official release yet.
577 * A new lua extension is the two-argument version of
578   string.dump from Luajit:
580     string.dump(function f, [boolean strip])
582 * mpost 1.780
584 * The implied existence of the following lua libraries is now
585   deprecated:
587      debug, unicode.*, luazip, lfs, lpeg, zlib, gzip, md5,
588      socket.*, profiler, epdf, fontloader, mplib, and
589      pdfscanner.
591   Future versions of luatex will load these modules on demand
592   from dynamic libraries.
594   Please update your sources to include a 'require' line for
595   each of the library modules mentioned.
597 * Two new callbacks: find_cidmap_file and load_cidmap_file
598   (used by the fontloader to discover .cidmaps)
600 ==============================================================
601 Luatex beta-0.72.0 was released 20121210
602 ==============================================================
604 News:
606 * update various used libraries, including mplib 1.770,
607   poppler 0.21, libpng 1.5, and lpeg 0.10.2.
609 * new 'pdfscanner' lua library.
611 * various OpenType math fixes, including \Umathcharnumdef.
613 * improved placement of bottom accents.
615 * various other small fixes that have accumulated over the past
616   year-and-a-half.
618 ==============================================================
619 Luatex beta-0.70.1 was released 20110519
620 ==============================================================
622 News:
624 * fixed: recorder file location from TL (Akira).
626 * fixed: missing newline on 'No output' line.
628 * fixed: relative names in synctex file.
630 * fixed: 16bit png images in generated %!PDF-1.4.
632 * fixed: building with (installed) libpng < 1.5.0
634 * fixed: year in --version output.
636 * fixed: box output to synctex.
638 * fixed: FontDescriptor for non-embedded OpenType fonts has an
639   invalid FontFile3 entry (#654)
641 * fixed: crash on non-existent images.
643 * fixed: small memory leak in the ipc code.
645 * fixed: tex.print() and tex.sprint() don't recognize -2 as the
646   first argument (#659)
648 ==============================================================
649 Luatex beta-0.70.0 was released 20110506
650 ==============================================================
652 News:
654 * fixed: various changes needed for libpng 1.5.2.
656 * fixed: node.fields() for nodes without subtype.
658 * fixed: non-argument use of os.execute().
660 * fixed: tex.[s|t|]print() with invalid catcode table arguments.
662 * fixed: recorder filename location with --output-directory.
664 * fixed: display alignment in TRT mode.
666 * luatex now uses the standard synctex files from Jérome Laurens.
669 ==============================================================
670 Luatex beta-0.66.0 was released 20110412
671 ==============================================================
673 News:
675 * fixed: linebreak_filter doesn't do its default job when
676   tex.linebreak is used
678 * fixed: \escapechar ignored by \meaning
680 * fixed: wrong px default
682 * fixed: font kern attribute inheritance
684 * fixed: "nop" unrecognized in virtual fonts
686 * fixed: assertion failure in dviluatex when font ptmr8t used
688 * fixed: tex.settoks for with strings with embedded zeroes
690 * fixed: an indexing problem with nonexistent font glyphs
692 * fixed: some crashes and other bugs on the 'subtype' and 'prev'
693   fields (not all node types have those fields)
695 * fixed: crash on  token.csname_id ("")
697 * fixed: initialize the statically allocated node's type ids
699 * fixed: fencepost error in math parameter counting
701 * fixed: math family numbers > 255 are allowed
703 * fixed: compilation failure on Hurd
705 * fixed: a small bug leading to displacements when reading
706   the AccentTop table
708 * fixed: \directlua followed by \pdfximage generates error if
709   draft mode is active
711 * fixed: a problem with \vadjust pre in alignments
713 * fixed: a lua stack growing problem in the backend in 0.65.0,
714   resulting in an inability to create more than a few thousand
715   generated pages
717 * fixed: inclusion of Scribus-generated pdfs
719 * adapt: the default form margin is now zero (was 1bp before)
721 * adapt: libpng 1.4.4, zzuplib 0.13.60, mplib 1.504
723 * adapt: small changes to the build system and new imports from
724   the texlive repository
726 * feature: new function node.currentattr() queries the current
727   active attribute list
729 * feature: Lua font loading; ignore unknown enumeration keys in
730   MathConstants
732 * feature: JPEG 2000 image support
734 * feature: continuing work on the 'epdf' library
736 * doc: the 'epdf' lua library is now documented
738 * doc: various other manual corrections
741 ==============================================================
742 Luatex beta-0.65.0 was released 20101213
743 ==============================================================
745 News:
747 * The Aleph and Omega version primitives are deprecated.
749 * The Apple Snow Leopard Truetype font collections now work
750   properly.
752 * Libpng has been updated to 1.4.4, and zlib to 1.2.5.
754 * New lua functions node.next() and node.prev().
756 * The already deprecated for some time node.protrusion_skipable()
757   function has been removed.
759 * fontloader.apply_featurefile() and fontloader.apply_afmfile()
760   now return nil,<errortable> on failure.
762 * The various node list fields in the lua node interface have
763   been renamed from 'list' to 'head', e.g. tex.box[0].head,
764   and the 'list' name is deprecated. For now, the deprecation
765   is silent, as 'list' will stay for quite some time. Please
766   update your lua source as soon as possible, though.
768 * The call node.type(<node>) now returns "node". The existing
769   functionality is otherwise unchanged.
771 * Luafilesystem has been updated to 1.5.0. NOTE: there is an
772   incompatible change in the directory iterator method.
774 * The restriction on linebreak_filter has been eased: at least one
775   horizontal box should be returned, but that is not necessarily
776   the last node any more.
778 * Backward compatibility has been restored for \meaning\mathchar
780 * node.first_character() has been renamed to node.first_glyph()
781   to better match its actual functionality.
783 * The \Umathaccent primitive now supports both/bottom keywords,
784   and \Umathbotaccent / \Umathaccents are now deprecated.
786 * The \Umathaccent primitive now also supports the fixed keyword,
787   which supports non-growing math accents even if the font says
788   there are extensible variants.
790 * Ongoing work on the epdf library.
792 Bugfixes:
794 * Assignment to \dimen65535 was broken earlier.
796 * <box>.head.prev is now always initialized to null (0).
798 * luatex -lua=<script> '\relax' no longer exits immediately,
799   instead going into interactive mode as it should.
801 * The \jobname was initialized wrongly for input file names
802   with multiple dots in them.
804 * The synctex file is now written in the right place when
805   --output-directory is given.
807 * \letterspacefont could cause crashes, especially when combined
808   with font expansion.
810 * Luatex would crash on linux32 systems if it was build in an
811   environment where LFS (>2GB files) was enabled by default.
813 * Node lists created by node.copy_list() could not be hyphenated
814   due to an assertion error.
816 * Synctex support was partially broken since 0.60.0.
818 * With OpenType math fonts, accents with multiple parts
819   (like the \vec arrow) forgot to include all parts if the
820   accentee was too narrow.
822 * With OpenType math fonts, accents over any class except 0 and 7
823   were misplaced.
825 * kpse.lookup("plain", {all = true}) was broken in kpathsea
826   itself (no extension given as well as --all specified).
828 * A FontForge bug made Cambria Math accents look bad, and the
829   placement of math top accents did not allow a marker at the
830   origin (patches by Stefan Philipp)
832 * Cut&Paste from PDF was sometimes broken due to bad ToUnicode map.
834 * Many small manual improvements (thanks to Paul Isambert)
836 * An other bugfix to lpeg 0.9 (from Roberto Ierusalimsky)
838 * Some small fixes to writet1.w (from Han The Thanh)
840 * A build failure because of bad libz configuration on Win32
842 ==============================================================
843 Luatex beta-0.64.0 was released 20101112
844 ==============================================================
846 News:
848 * New lua functions pdf.refobj(), pdf.maxobjnum() and pdf.objtype()
850 * New lua function node.is_node()
852 * The max_strings configuration variable's maximum value is
853   raised to be identical to texlive's maximum (2097151), and
854   same for param_size (32767).
856 * The embedded mplib is now 1.503.
858 * Minor cleanups in the output of fontloader.to_table():
860   - removed out-of-range altuni's from the output
861   - don't dump the extra encodings, just the actual font encoding
862   - export the encoding's name also as 'enc_name' at one level up
863   - no longer exporting unset macstyles, nor zero uniqueids
864   - fix creationtime and modification time
866 * Ongoing work on the epdf library
868 Bugfixes:
870 * Fix a bug where an explicit hyphen prevented hyphenation for the
871   whole rest of the paragraph
873 * Internal font copying forgot to copy the last font dimen
875 * os.selfdir() is now documented
877 * patch quad (\fontdimen6) in \letterspacefont to be compatible
878   with pdftex
880 * Multi-page pdf inclusion was very slow in 0.63.0
882 * Some extra checks added to the handling of glue_spec node
883   objects in lua code.
885 * Some node.prev pointers have been corrected (but this is not
886   quite finished).
888 * A small fix to lpeg 0.9.
891 ==============================================================
892 Luatex beta-0.63.0 was released 20100909
893 ==============================================================
895 News:
897 * Drop tex.ht[], tex.wd[], tex.dp[].
899 * Drop OCP support (and associated primitives).
901 * Add tex.catcode[], tex.lccode[], tex.sfcode[], tex.uccode[],
902   tex.mathcode[] and tex.delcode[] and associated functions.
904 * Add CIDset tables to the output pdf where appropriate.
906 * Added a 'string' field to late_lua nodes on the lua side. This
907   field does not convert the assigned string to a tokenlist.
909 * The result of fontloader.open() now has some virtual accessors
910   (as well as fontloader.to_table).
912 * There is now a `short reference' in the manual folder
913   (functionref.pdf)
915 Bugfixes:
917 * Fix a crash on an empty font (bugreport #468).
919 * Fix a crash for extremely long pattern arguments.
921 * Fix a crash on bad virtual character arguments in lua.
923 * Fix hyphenation exceptions.
925 * Prevent linebreak between initial local_par paragraph whatsit
926   and a following skip (bugreport #437).
928 * Fix placement of scripts on textstyle big operators in MATH
929   fonts (bugreport #466).
931 * Fix a crash on the return value of MPlib's 'postscript'
932   operation on images.
934 * Fix a crash on \leftghost & \rightghost in math mode.
936 ==============================================================
937 Luatex beta-0.62.0 was released 20100823
938 ==============================================================
940 News:
942 * LuaTeX now uses libpoppler (0.12.4) instead of xpdf.
944 * All backend functions now report what file they were searching
945   for whenever a file cannot be found.
947 * Input-ed lua files are now mentioned in the fls file if
948   the --recorder switch is specified on the command line.
950 * Paragraph indentation hlist nodes and hlist and vlist nodes
951   generated by alignment rows and cells now have a subtype
952   (3 for indent box, 4 for rows/columns, 5 for cells).
954 * The 'epdf' lib is in active development and still growing.
956 * The 'fontforge' table is finally removed (was deprecated
957   since 0.40).
959 Bugfixes:
961 * A new mplib import fixes two bad bugs in mplib:
962   - string equality test was wrong
963   - type declarations could delete pre-existing variables
965 * PNG images with transparency could create random size
966   differences in the generated PDF.
968 * In some special cases, font expansion could cause wrong
969   spacing in the generated PDF.
971 * \letterspacefont was broken since a very long time.
973 * The node subtype of the \leftskip and \rightskip glues was
974   wrong.
976 * Some memory leaks have been removed.
978 * Various manual fixes.
980 ==============================================================
981 Luatex beta-0.61.0 was released 20100728
982 ==============================================================
984 New features:
986 * New lua library 'epdf' for introspection of PDF inclusions,
987   see the manual for details.
989 * Mplib version 1.502 is now included (which is still beta,
990   so be careful).
992 * new "finish_pdffile" and "pre_dump" callbacks.
994 * new function pdf.pageref()
996 * In the lua 'tex' library: assignment to internal glue
997   parameters is now allowed.
999 * New lua function tex.error().
1001 Bugfixes:
1003 * Fix for crashes on fonts with bad Panose values.
1005 * Fix for a box placement bug that could sometimes cause text
1006   to overlap.
1008 * Fix for a few small PDF/A1-a compatibility bugs.
1010 * Fix \letterspacefont.
1012 * Fix \Ustopdisplaymath in combination with aligned displays.
1014 * In math delimiters, the last of a chain of predefined sizes
1015   was always ignored if there were also extensible parts.
1017 ==============================================================
1018 Luatex beta-0.60.2 was released 20100701
1019 ==============================================================
1021 Bugfixes:
1023 * Various small portability fixes, especially for non-gcc
1024   compilers.
1026 * Updated synctex from Jerome Laurens.
1028 * fix bug #406: \pdfliteral hinders hyphenation.
1030 * fix pdf overprinting bug (related to \pdfliteral).
1032 * patch from Akira Kakuto that ensures that only absolute commands
1033 that are inside the %PATH% will be executed in win32's restricted
1034 \write18
1036 * fix a buffer overflow in luafontloader.
1038 * fix cross-platform share-ability of generated formats.
1040 * fix a few typos in the manual.
1042 * fix trashing of the null glue spec by attribute reference code.
1044 * documented the deprecated state and brokenness of otp processing.
1047 ==============================================================
1048 Luatex beta-0.60.1 was released 20100428
1049 ==============================================================
1051 New features:
1053 * renamed node.skipable() to node.skippable().
1055 * More git discovery patches in getluatexsvnversion.sh.
1057 * Added --warnings=[no|min|yes|max|all] option to build.sh.
1059 * While cross-compiling, build.sh now adds an extra linker switch
1060   to allow win32 exes to use 3G instead of 2G of virtual memory.
1062 Bugfixes:
1064 * os.exec() & os.spawn() handled the environment differently from
1065   os.execute() on Win32 (patch from Tomek)
1067 * Builds with --enable-ipc were broken.
1069 * Assigning and acquiring \fontdimen s from TeX code was broken.
1071 * An initial attempt at fixing bug #372 (\predisplaydirection).
1073 * An attempt to fix \eqno/\leqno placements in mixed direction
1074   \mathdir/\textdir.
1076 * Our local xpdf patch is reverted, it is not needed any more.
1078 * The os.selfdir variable was not documented, as well as broken
1079   on WIN32.
1081 * Fix "\input tikz hello \bye" bug, plus fix one sign error.
1083 * Fix handling of lua script files with UNC names.
1085 ==============================================================
1086 Luatex beta-0.60.0 was released 20100404
1087 ==============================================================
1089 New features:
1091 * os.name now knows about CYGWIN (from Elie Roux)
1093 * Internal handling of direction specifiers is faster now.
1095 * Each glyph node now has three new virtual read-only fields:
1096   width, height, and depth (values in scaled points, of course)
1098 * There are new functions node.protrusion_skipable() and
1099   tex.badness() (useful for paragraph breaking in lua)
1101 * Also new: tex.linebreak(). See the manual for details.
1103 * All lua errors now report file and line numbers to aid in
1104   debugging.
1106 * Import of metapost 1.211.
1108 * pdf.pdfcatalog will be replaced soon by the new pdf.catalog
1109   pdf.pdfinfo will be replaced soon by the new pdf.info
1110   pdf.pdfnames will be replaced soon by the new pdf.names
1111   pdf.pdftrailer will be replaced soon by the new pdf.trailer
1113 * pdf.pdfmapfile and pdf.pdfmapline are replaced by the new
1114   pdf.mapfile() and pdf.mapline() functions. (a function interface
1115   fits these parameters better because they never return anything).
1117 * New read-write lua variables: pdf.pageattributes, pdf.pageresources,
1118   pdf.pagesresources
1120 * getluatexsvnversion.sh now correctly detects git-svn and still
1121   manages to find a valid SVN revision number (from Patrick Gundlach)
1123 * Many of the source files have been converted to CWEB.
1125 Bug fixes:
1127 * GNU libtool is now used to solve the various technical issues with
1128   dynamic loading of lua modules.
1130 * Error detection in scan_integer_part was wrong due to missing
1131   initialization of OK_so_far (spotted by Javier Mugica)
1133 * Synctex was broken in 0.51-0.52.
1135 * \lastlinefit was broken since ... well, nearly forever.
1137 * Reading of binary files with length zero was broken.
1139 * Trapping of unitialized rules (this was for sloppily created
1140   rule nodes from lua)
1142 * pdf.immediateobj('streamfile') was broken on 64-bit platforms.
1144 * tex.linebreak did not take the given left and right skip, but
1145   instead used the current TeX-side values (bug #356).
1147 * the found 'MAKE' command in build.sh is now fed into configure to fix
1148   problems with that not finding GNU make even when it is actually
1149   installed.
1151 * dofile(<nil>) and loadfile(<nil>) in batch mode now give an
1152   error and continue instead of pointlessly waiting for user input.
1154 * Reverted commit #3417 (the buildpage experiment) as it causes bad
1155   things to happen when items are waiting during page breaks.
1157 * Overrule loaders[4] in --safer mode, make require() behave
1158   closer to normal lua 5.1, and add some nicer error messages
1159   (based on an email and patches from Manuel Pegourie-Gonnard)
1161 * Added an extra sanity check for GDEF loading in luafontloader,
1162   based on a crash caused by Linux' AkaashNormal.ttf.
1165 ==============================================================
1166 Luatex beta-0.52.0 was released 20100316
1167 ==============================================================
1169 New features:
1171 * Various small manual improvements.
1173 * A better version of getluatexsvnversion.sh, from Tomek.
1175 * node.copy_list() now allows the second (optional) argument to
1176   be nil.
1178 * An import of the current state of the texlive repository
1179   (kpathsea and build system).
1181 Bug fixes:
1183 * An attempt fix for bug #345 (math kerning is not perfect): when the
1184   current math font is a new math font, check against \catcode <cur_c>
1185   == 11 to suppress the italic correction, instead of looking at
1186   the value of space(<cur_f>).
1188 * There is a new <tfmtable> key: 'units_per_em' (defaults to 0).
1189   This is part of a fix for bug #200 (Problem with CFF fonts having
1190   em-size other than 1000): there is a special correction to the
1191   embedded cff font itself and the font scale if the font to be output
1192   is opentype or type1 in unicode encoding and the 'units_per_em
1193   differs' from zero.
1194   <tfmtable>.units_per_em has to be passed back to luatex from
1195   the lua font loading code for this to work.
1197 * A fix for bug #314 (problem with pk file).
1199 * lua code can no longer change the internal preallocated glue_spec
1200   nodes (as that resulted in weird spacing bugs). For this, glue_specs
1201   now have a new field: 'writable'. If that field is false, a copy
1202   has to be made of the glue_spec instead of doing an assignment
1203   to it.
1205 * Setting of \textdir inside the output routine could trash output
1206   on following pages due to a lingering internal variable.
1208 * \pdfthread crashed because the arguments were handled in reverse
1209   order.
1211 ==============================================================
1212 Luatex beta-0.51.0 was released 20100312
1213 ==============================================================
1215 New features:
1217 * Various small manual improvements.
1218 * The backend message "cannot open Type 1 font file for reading"
1219   now reports which Type1 font it was looking for.
1220 * Fontforge clears some font names at loading time that will be
1221   refilled in at font generation time, but the fontloader should not
1222   do that. Patch from Khaled Hosny.
1223 * New synctex code imported from TeXLive.
1224 * luamd5/md5.h is renamed to luamd5/luamd5.h to avoid confusion.
1225 * Embedded mplib is now 1.209.
1226 * Some experimental tweaking of buildpage_filter, see the manual
1227   for details.
1228 * Luatex now detects kfreebsd (from Alan Braslau)
1229 * The new lua function tex.sp() converts a string to a number
1230   representing scaled points.
1231 * There is now support for revision numbers in the banner and stats
1232   library again.
1233 * The command line help and manual documentation page is extended.
1234 * node.hpack() now also accepts "cal_expand_ratio" and "subst_ex_font"
1235   modifiers.
1236 * node.hpack() and node.vpack() now give back the badness of the box
1237   as second return value.
1238 * node.copy_list() now allows a second (stop) argument, this stopper
1239   is not copied.
1240 * new lua functions in lfs: lfs.readlink() and lfs.shortname().
1241 * new lua function tex.tprint() that can combine multiple catcode
1242   regime prints in one function call.
1243 * new lua sub-table: tex.nest[] (read/write access to the semantic
1244   nest state).
1245 * New lua functions in kpse: kpse.lookup() and kpse.version(). See
1246   the manual for more details.
1247 * New lua function tex.shipout().
1249 Bug fixes:
1251 * There problems in the pdf output for Type3 (pk) fonts.
1252 * Fix a bug that allowed bad commandline quoting.
1253 * Fix a bug that sometimes caused crashes when \pdfprotrudechars.
1254 * The build script now exports CONFIG_SHELL to avoid problems with
1255   /bin/dash.
1256 * The was a bug in the generated /Image /ProcSet.
1257 * status.font_bytes reported the wrong value.
1258 * Lots of compiler warnings are removed (thanks Javier Mugica).
1259 * Patch to fontloader.info() to accept filenames with embedded
1260   parentheses.
1261 * Fix a \write error with docstrip package.
1262 * Fixed a crash on AdobeMyungjoStd-Medium.otf.
1263 * Fix coco stack overflows, needed for lpeg.
1264 * \pdfcompresslevel wasn't initialized for early immediate objects.
1265 * Fix for slanted fonts when HZ was on (slant angle was multiplied).
1266 * When concatenating content streams, put a space between them.
1267 * Allow pfb lines to end with \r as well as \n (for msam10.pfb).
1268 * Fix the internal string->scaled point conversion in the lua
1269   interface.
1270 * Memory leaks in the fontloader removed, thanks to patches from
1271   Elie Roux.
1272 * Fix a crash caused by the combination of coroutines and font.each().
1274 Removed features:
1276 * Support for Type3 .pgc files (nobody used them).
1278 ==============================================================
1279 Luatex beta-0.50.0 was released 20091224
1280 ==============================================================
1282 New features:
1284 * Fonts now listen also to the 'extend' key in the lua font
1285   metrics table, and the processing for this is done via de
1286   pdf text matrix instead of via the font matrix, which means
1287   it now works for all font types.
1289 * The embedded Metapost library is now at version 1.209.
1291 Dropped features:
1293 * It is no longer possible for fonts from embedded pdf files
1294   to be replaced by / merged with the document fonts of the
1295   enveloping pdf. This regression may be temporary, depending
1296   on how the rewritten font backend will look after beta 0.60.
1298 Bug fixes:
1300 * Use of \middle confused the \mathstyle operation.
1302 * \pdfcolorstack handling was broken.
1304 * node.unset_attribute() had a bug whereby it inverted the
1305   requested result in some cases (the node on which the unset
1306   was called was sometimes the only node at the current level
1307   that *kept* the attribute).
1309 * During font expansion, the internal font copy had one character
1310   information object less than the original, resulting in the
1311   disappearance of a glyph in some fonts when font expansion
1312   was active.
1314 * Placement of operator scripts of OT MATH fonts is adjusted
1315   to be conformant with Word's logic where the italic correction
1316   is only used to tuck in the subscript and for nothing else.
1318 * luafontloader.open() no longer writes directly to stderr in
1319   case of internal font errors.
1321 * Any <pdf_refobj_node>.objnum could not be assigned to.
1323 * The lua 'pdf' table could not be assigned to.
1325 * The lua 'md5' library was returning incorrect results on
1326   64-bit architectures.
1328 * Luatex now compiles on GNU Hurd systems.
1330 * Fix segfault when embedding stream file object (these
1331   backend segfaults were a side-effect of the string pool
1332   patches).
1334 ==============================================================
1335 Luatex beta-0.47.0 was released 20091218
1336 ==============================================================
1338 New features:
1340 * New read-write lua variables pdf.pdfcatalog, pdf.pdfnames,
1341   pdf.pdfinfo, pdf.pdftrailer
1343 * The horizontal mode nodes that are added to lines during line
1344   breaking now inherit the attributes from the first and last node
1345   inside the created line.
1347 * The new function pdf.registerannot(<number>) registers an
1348   annotation object number to be included in the current
1349   page's /Annots list.
1351 * The variables <metrics>.Mathconstants.FractionDelimiterSize
1352   and <metrics>.Mathconstants.FractionDelimiterDisplayStyleSize
1353   are added to the font table. This allows proper setting of the
1354   size parameters for TeX's ...withdelims math primitives.
1356 * The internal representation of the string pool is reorganized
1357   (the pool of string characters is now allocated dynamically),
1358   and as a side-effect the lua variable status.init_pool_ptr
1359   is deprecated and will be removed in a later version. Also,
1360   status.pool_ptr now simply returns the current number of bytes
1361   in use for string characters.
1363 * There are new lua variables pdf.pdfmapline and pdf.pdfmapfile
1364   (write-only strings that mimic \pdfmapline and \pdfmapfile).
1366 * \pdfobj data and attribute are now stored as C strings instead
1367   of as token lists (this should speed up cases with a lot of data).
1369 * Artificially slanted fonts now work via the pdf text matrix
1370   (instead of adjusting the actual font) so that it now also
1371   works for non-Type1 fonts. The lua <metrics>.slant font key is
1372   now obeyed in all cases.
1374 * The lua function font.id(<string>) returns the internal font id
1375   number belonging to a control sequence name.
1377 * Pdf image inclusion is optimized such that objects from an
1378   external pdf will now be included only once even if they are
1379   referenced from multiple inclusions.
1381 Bug fixes:
1383 * Protrusion for non-TLT documents did not work properly for
1384   the hyphenation character.
1386 * \lastbox could not remove the paragraph indent box for non-TLT
1387   documents.
1389 * Pdf images (\pdfximage) are no longer kept open during the
1390   whole run, but closed and reopened. An error is raised if
1391   the file has changed between \pdfximage and \pdfrefximage.
1392   This prevents the 'too many open files' error when lots of
1393   images are included.
1395 * On Win32 Pdf image files are locked during the time that it is
1396   open, to prevent unnoticed file changes by external sources.
1398 * Compilation now again works on FreeBSD.
1400 * Format sharing between 32-bit and 64-bit architectures was
1401   broken.
1403 * Unsetting attributes from lua could sometimes result in
1404   the unset state persisting beyond the current group level.
1406 * If something went wrong in the scanning of pdf action items,
1407   the error message reported the current primitive name
1408   incorrectly.
1410 * Luatex would crash on non-existant pdfs that were referenced
1411   from map file entries.
1413 ==============================================================
1414 Luatex beta-0.46.0 was released 20091126
1415 ==============================================================
1417 New features:
1419 * The build.sh script now has better support for new MacOSX-es
1420   (patch from Mojca).
1422 * Luatex now has experimental support for dynamic loading of
1423   external compiled lua libraries. Building luatex and loading
1424   external .so/.dll files is reported to work on Windows,
1425   linux and osx, other platforms are still unknown.
1427 * pdf.obj{type="stream"} no longer converts its argument to and
1428   from a tokenlist. This allows the use of binary data in the
1429   "string" argument. Such data does still have to hidden from
1430   the normal file parser by putting the code in a dofile()
1431   or by using string.char(), though.
1433 Bug fixes:
1435 * Luatex 0.45.0 was not able to find truetype nor opentype fonts
1436   if there were no callbacks defined (patch from Pawel).
1438 * 0.45.0 printed the user input instead of the full pathname
1439   for \input-ed tex files.
1441 * The TFM reader now rejects fonts with tfm names that are
1442   longer than 255 characters because such font names cannot
1443   be stored in a DVI file.
1445 * The combination of \immediate\pdfxform followed by a later
1446   \pdfrefxform could cause broken pdf output files because
1447   the box used for the form could have been freed and even
1448   reused already at that moment in time, sometimes resulting
1449   in an invalid transformation matrix.
1451 * The placement of super- and subscripts for displaystyle
1452   \int's in CambriaMath is now better than before. It still
1453   needs a tweak to the metrics though: in the current version,
1454   the italic correction has to be substracted from the width
1455   of the integral sign to get correct placement (context mkiv
1456   does this).  to be continued ...
1458 ==============================================================
1459 Luatex beta-0.45.0 was released 20091118
1460 ==============================================================
1462 New features:
1464 * Loading big OTF fonts via lua is now much faster than before,
1465   at the expense of a bit of precision loss in the calculated
1466   bounding boxes.
1468 * Two new token lists are provided: \pdfxformresources and
1469   \pdfxformattr, as an alternative to \pdfxform keywords.
1471 * \input and \openin now accept braced filenames.
1473 * The \endlinechar can now be set to any value between 0 and 127.
1475 * Luatex can now optionally use kpathsea to find lua require()
1476   files.
1478 * The new primitives \aligntab and \alignmark are aliases for
1479   the use of & and # in alignments.
1481 * \pdfrefximage [width <dimen>] [height <dimen>] [depth <dimen>] <imageref>
1482   overrules settings from \pdfximage for this \pdfrefximage call only
1484 * The print precision for small numbers in lua code (tostring)
1485   has been improved.
1487 * Akira Kakuto suppled a patch that restricts writing to files
1488   with names such as latex.bat etc. (on windows only)
1490 * (un-feature): from now on luatex now only handles 4 direction
1491   specifiers: TLT (latin), TRT (arabic), RTT (cjk), and LTL
1492   (mongolian). The other directions now generate an error.
1494 * (un-feature): xpdf's automatic lower- and uppercasing retry attempts
1495   for nonfound image pdf files has been removed.
1497 * The callbacks hpack_filter, vpack_filter and pre_output_filter
1498   pass on an extra string argument for the direction, when known
1499   (nil == use default).
1501 * The lua functions node.hpack(), node.vpack() and node.dimensions()
1502   now accept an optional direction argument (not given == use default).
1504 * \pdfrefxform [width <dimen>] [height <dimen>] [depth <dimen>] <formref>
1505   scales a form object; similar principle as with \pdfximage: depth alone
1506   doesn't scale, it shifts vertically.
1508 * A change to the relative ordering inside font name discovery for use
1509   by the backend: now it tries <f>.psname first, as that is much less
1510   likely to contain spaces.
1512 * For ttc fonts, now the used subfont name and its index id are printed
1513   to the terminal, and if the backend cannot find a ttc subfont, the
1514   run is aborted.
1516 Bug fixes:
1518 * Prevent crashes for lua-loaded fonts without a (tfm) name.
1520 * Remove spurious newlines in the output pdf that could be the
1521   result of using \pdfximage for an included pdf figure too early.
1523 * Full font embedding for wide otf and ttf fonts now really
1524   works (older versions only pretended that it did work).
1526 * node.dimensions() sometimes continued past the 'stop' node.
1528 * Images inside virtual fonts were broken.
1530 * The processing of \language=-1 was wrong, resulting in
1531   hyphenation attempts even though there was no proper language
1532   set up.
1534 * Fix for finding files in --output-directory.
1536 * Fix for handling of --file-line-error.
1538 * tex.box[] assingments are now checked to make sure the assigned
1539   node has the right id (hlist or vlist).
1541 * show_node_list (as in \showbox) produced spurious local_par
1542   whatsit prints in the output after direction nodes.
1544 * The handling of pdf literals has been sped up.
1546 ==============================================================
1547 Luatex beta-0.44.0 was released 20091027
1548 ==============================================================
1550 New features:
1552 * libpng is now 1.2.40.
1554 * hlist nodes now have a subtype to distinguish hlists generated
1555   by the paragraph breaking, explicit \hbox commands, and other
1556   (as-yet-undefined) sources.
1558 * \pdfobj now has an extra optional keyword: 'uncompressed',
1559   which forces the object to be written to the PDF in plain
1560   text (see the manual for the exact details).
1562 * The lua file from the luamd5 library (which provides the
1563   md5.hexsuma() function) is now embedded in the executable.
1565 Bug fixes:
1567 * \latelua now works in DVI mode again.
1569 * status.output_file_name could crash when used too soon.
1571 * In 0.43, rules were not output at all in DVI mode.
1573 * \leavevmode\penalty-10000\penalty-10000 crashed luatex.
1575 * the API of margin kern nodes to lua was using the wrong
1576   fields in the nodes.
1578 * A few fixes to the manual.
1580 * PDF Xref stream dicts were slightly non-conformant.
1582 * There was too much space between two consecutive math displays
1583   (this bug was inherited from Aleph)
1585 * Synctex was broken (thanks, Akira)
1587 * Font mark classes were handled incorrectly by the fontloader
1588   code.
1590 * There was a crash possible with certain types of named PDF
1591   destinations.
1593 * Math delimiters and large operators in new MATH fonts no
1594   longer apply the italic correction (this fixes placements
1595   of super- and subscripts on such items for those fonts).
1597 * The converter from lua strings to token lists (for the node
1598   interface) sometimes generated invalid tokens.
1600 * CFF (OpenType) fonts now listen to 'embedding="full"'. TTF
1601   is still todo.
1603 * Font tables with 'embedding="no"' would cause luatex to crash.
1605 * \pdfobj file {} failed to find the file if there was no lua
1606   callback in place.
1608 * An optimization in MS Mincho caused luatex to crash.
1610 ==============================================================
1611 Luatex beta-0.43.0 was released 20090819
1612 ==============================================================
1614 New features:
1616 * There is a new allowed key in the table trhat is returned
1617   by lua-loaded fonts: <f>.psname. This value should be set
1618   to the original PostScript font name of the font. Fonts inside
1619   dfont and ttc collections are fetched using this field
1620   (if it is missing, <f>.fullname will be used instead).
1622 * It is now possible to use Apple dfont font files
1623   (those that contain at least one outline font).
1625 * \latelua is now allowed inside leaders.
1627 * There is a new callback: process_output_buffer, from Manuel
1628   Pégourié-Gonnard. This callback is called just before
1629   \write acts, so it can be used to alter the file encoding
1630   of text output files.
1632 * There is a new node.dimensions() function, which calculates
1633   the natural size of (part of) a list of nodes.
1635 * The new primitive \gleaders provides 'globally aligned'
1636   leaders.
1638 * The DVI and PDF backends now share much code internally.
1640 * The embedded MPlib is now 1.207.
1642 * libpng is now 1.2.39.
1644 Bugfixes:
1646 * We fixed lots of anonymous bugs introduced in 0.42.0 (as expected)
1648 * fontloader.info() errors are no longer fatal, the function now
1649   just returns a nil,"error string" pair.
1651 * Automatically inserted kerns for \accents are now once again
1652   valid word ends, as in \TEX.
1654 * Fixed the placement of math displays in mixed direction
1655   settings.
1657 * The \pdfcompresslevel is now dynamic again.
1659 ==============================================================
1660 Luatex beta-0.42.0 was released 20090717
1661 ==============================================================
1663 * There is a new node.tail() function
1665 * lua-loaded fonts now support a 'nomath' key to speed up
1666   loading the lua table.
1668 * A bugfix in the ttf reader for the inclusion backend, and
1669   (also in the backend) support for treating ttc files by
1670   pretending they are single ttf fonts (both patches from pdftex)
1672 * Add Khaled Hosny's man page to the repository
1674 * The \pdfcompresslevel is now effectively fixed as soon as
1675   output to the pdf file has occurred.
1677 * Patched status.filename so that it (nearly) always returns a
1678   file name.
1680 * fix '\the\delcode' and disable '\the\odelcode', '\the\Udelcode',
1681   and '\the\Udelcodenum'
1683 * Handle jfifs where either xres or yres is 0 and the other
1684   res is != 0 (from pdftex)
1686 * The single-argument version of lang.hyphenate() was broken.
1688 * Get rid of the \directlua/\latelua number warning.
1690 * The Lua coroutine patch (coco) is now disabled on linux
1691   powerpc architectures (because it caused crashes)
1693 * Removed obsolete pdftex primitives:
1694   \pdfoptionalwaysusepdfpagebox
1695   \pdfoptionpdfinclusionerrorlevel
1696   \pdfforcepagebox
1697   \pdfmovechars
1699 * The loading speed of large fonts (especially ttf) via the
1700   fontloader library, and the inclusion speed for subsetting
1701   in the backend have both been improved.
1703 * The 'pdf' lua library has been enhanced with various new
1704   functions, see the manual for details.
1706 * BLT and BRT glyph position fixed.
1708 * Various fixes for synctex offsets.
1710 * Support for exotic font string encodings has been removed
1711   from the fontloader library.
1713 * The embedded MPlib is now 1.205.
1715 * libpng is now 1.2.38.
1717 ==============================================================
1718 Luatex beta-0.40.6 was released 20090625
1719 ==============================================================
1721 * Fix two string vs. toks bugs in the lua node interface:
1722   whatsit,annot and whatsit,startlink data assignments were
1723   made directly as strings instead of being converted to tokens.
1725 * Sometimes pdf.print() could be used before the proper structures
1726   were initialized.
1728 * There was a bug in the type codes for the lua package filter
1729   callback: wrong extra info was passed to lua for the alignment
1730   and vsplit cases.
1732 * The math parameters \Umathlimitdownvgap, \Umathlimitdownbgap,
1733   and \Umathlimitdownkern have been renamed to \Umathlimitbelowbgap,
1734   \Umathlimitbelowvgap, and \Umathlimitbelowkern to be more
1735   consistent with the other parameter names.
1737 * The embedded MPlib is now 1.204.
1739 * Handling of UTF-8 hyphenation exceptions has been fixed.
1741 * There were a number of typos in the manual.
1743 ==============================================================
1744 Luatex beta-0.40.5 was released 20090610
1745 ==============================================================
1747 * One of the internal print functions accidentally encoded its
1748   argument string to UTF-8 even though it was already UTF-8.
1750 * Some of the log and terminal UTF-8 output was gibberish.
1752 ==============================================================
1753 Luatex beta-0.40.4 was released 20090609
1754 ==============================================================
1756 * \the\textfont0 returned a number instead of doing a font
1757   switch.
1759 * The embedded MPlib is now 1.203.
1761 ==============================================================
1762 Luatex beta-0.40.3 was released 20090608
1763 ==============================================================
1765 * A set of portability fixes for the AIX compiler from Vladimir
1766   Volovich.
1768 * A set of fixes to the synctex support.
1770 * A patch to the build script to prevent installed X11 headers
1771   from being required.
1773 * Some weave (web syntax) fixes from Manuel Pégourié-Gonnard.
1775 * A simplification in luatex.ch (it is now less verbose
1776   about the web2c-specific extensions) from Karl Berry.
1778 * A fix in the handling of UTF-8 (input) file names.
1780 * Hyphenation exceptions were case sensitive in 0.40.2.
1782 * libpng is now 1.2.37.
1784 ==============================================================
1785 Luatex beta-0.40.2 was released 20090603
1786 ==============================================================
1788 * Fix for a compilation warning under Cygwin.
1790 * A complicated bugfix by Hartmut for a rounding problem in the
1791   VF loading that resulted in 'character width mismatch in font
1792   XY.vf ignored' messages at large load sizes
1794 * The embedded MPlib is now 1.202.
1796 * The post_page_number callback was accidentally run when
1797   shipping out xforms as well as during actual pages.
1799 * When a math accent char doesn't have a bot_accent placer,
1800   luatex now uses the top_accent placer, if present.
1802 * A crash caused by \Uroot .. {<list>}{...} is fixed
1804 * A portability fix for solaris 8 sparc using sun studio
1805   compiler, and one for glibc > 2.9.90
1807 * luatex -ini now sets the \catcode of the BOM character to
1808   ignore
1810 * Kpathsea is updated from TeXLive, giving four extra types of
1811   searchable files: 'font feature files','cid maps','mlbib',
1812   and 'mlbst'.
1814 * libpng is now 1.2.36
1816 ==============================================================
1817 Luatex beta-0.40.1 was released 20090508
1818 ==============================================================
1820 * Vertical placement of root radicals and degrees is fixed.
1822 * The use of \pageleftoffset could deviate from \hoffset
1823   if \mag != 1000.
1825 * LuaTeX now issues a warning if \pagedir !- \bodydir during
1826   shipout.
1828 * The previous crash in font.read_tfm() was still not quite
1829   correct.
1831 * The Web2C version is now also printed in the --version
1832   and --credits output.
1835 * There is a new MPlib 1.200 release candidate with a few minor
1836   fixes included.
1838 * The xpdf library is updated to patch level 3.
1840 * New imports to the build system, from texlive. In particular,
1841   there is now configure-level support for building with
1842   libpoppler and support for building under cygwin 1.7 is added.
1844 ==============================================================
1845 Luatex beta-0.40.0 was released 20090422
1846 ==============================================================
1848 * The embedded MPlib is updated to version 1.200.
1850 * Texlua would crash if run font.read_tfm() was used.
1852 * Luatex would crash on empty \patterns.
1854 * Lots of small C code cleanups.
1856 * \textdir inside a \hbox dir *** was wrong earlier.
1858 * 0.39.0 introduced a bug that would make luatex crash whenever
1859   font expansion was used.
1861 * Font tables returned by define_font can now have a key named
1862   'cache' that controls the internal lua font table caching.
1864 * There is no longer a need for an explicit --progname if there
1865   is no input file given.
1867 ==============================================================
1868 Luatex beta-0.39.0 was released 20090415
1869 ==============================================================
1871 * iniluatex will from now on start up with only the TeX82 primitives
1872   and \directlua, everything else has to be bootstrapped via
1873   tex.enableprimitives(). This change was planned for 0.40.0,
1874   but *now* is the time to test it.
1876 * A bugfix for \primitive in various expandable contexts,
1877   and \primitive now generates an error message when the
1878   argument is not actually a primitive's name.
1880 * There was a bug found in the math accent handling.
1882 * Large math operators are now treated like extensible characters
1883   in the sense that they can be composed of segments.
1885 * The extra assign- and restore tracing information from eTeX
1886   had a massive bug because of a dangling else in the pascal web.
1887   As a side-effect of fixing this bugs, all such potential errors
1888   in the pascal web have been fixed (for now).
1890 * The math parameters can now be set and queried from lua code
1891   via the new tex.setmath() and tex.getmath() functions.
1893 * Reflection in a \hbox was broken.
1895 * There was a leak of direction nodes in the paragraph builder.
1897 * The font backend now does a small peek to differentiate
1898   truetype and postscript style opentype fonts. This fixes
1899   the "Can't find CFF table" bug for otf's with truetype outlines.
1901 * Parameters and registers can now also be assinged to globally
1902   from lua (see the manual for details).
1904 * It is now possible to query the current math style while a
1905   formula is still being constructed by using the new read-only
1906   value \mathstyle. Associated is the new command \Ustack that
1907   is to be used as a prefix for {.. \over ..} and friends.
1908   See the manual for more information.
1910 * The embedded MPLib is brought up to date with the current
1911   metapost repository (version 1.110 and a few small patches).
1913 * Luatex can now handle two breakpoints inside a single ligature
1914   (like for the functional word of-f-ice). The solution is not
1915   perfect yet, but the chance of missed hyphenation points in
1916   actual documents should now be negligible.
1918 * Some speedups in the font loading code, and in the handling of
1919   pdf_literal nodes that are set from within Lua code.
1921 * Some source code and manual cleanup, as usual.
1923 ==============================================================
1924 Luatex beta-0.38.0 was released 20090410
1925 ==============================================================
1927 * tex.enableprimitives() had a bug were previously defined (but
1928   currently undefined) control sequences prevented the creation
1929   of the new csname.
1931 * The special calling format callback.register('name', false)
1932   not only disables the callback, but also the builtin code it
1933   is supposed to replace.
1935 * Empty \localleftbox and \localrightbox -es are now suppressed.
1937 * Support for <f>.MathConstants.SubscriptShiftDownWithSuperscript
1938   was added, to solve the lack of "sub2" in OpenType math.
1940 * Luatex now supports horizontal super- and subscript placement
1941   corrections via the OpenType MATH mathkern table. See the
1942   manual for details.
1944 * node.write() no longer copies its argument node list before
1945   appending it.
1947 * There are six new primitives that are verbose forms
1948   of one and two byte special tokens:
1949   \Usuperscript \Usubscript
1950   \Ustartmath \Ustopmath
1951   \Ustartdisplaymath \Ustopdisplaymath
1953 * The attribute node leaks in math mode and alignmetns have been
1954   fixed.
1956 * The 11 simple math noads are now combined into a single "noad"
1957   node type.
1959 * Static linking against libstdc++ is working once again.
1961 * There is a small fix in the keyword scanner to solve the
1962   problem of 'Runaway ... while scanning ???' that could happen
1963   for some primitives.
1965 * Lua now also has the "architecture independent bytecode"
1966   patch applied.
1968 * Lua is updated to version 5.1.4 with coco patches 1.1.5, and
1969   lpeg is now 0.9.
1971 * Some TRT/TLT backend bugs are fixed.
1973 * Various manual updates.
1975 ==============================================================
1976 Luatex beta-0.37.0 was released 20090331
1977 ==============================================================
1979 * Luatex now implements shell_escape = 'p', a new feature
1980   in web2c that intends to make \write18 more secure. As
1981   a side-effect, if luatex is used for typesetting, it will
1982   now also apply shell_escape = 'p' and shell_escape = 'f'
1983   to the lua functions io.popen(), os.execute(), os.exec(),
1984   and os.spawn().
1985   Nothing has changed for the case where luatex is used as
1986   a script interpreter.
1988 * Attributes can now have negative values. The special value
1989   for 'unset' is lowered to -0x7FFFFFFF (it used to be -1).
1991 * The lua 'kpse' library now has an object-oriented interface
1992   as companion to the procedural interface. This is useful for
1993   e.g. controlling the discovery of mplib files.
1995 * The new internal integer parameter \outputbox allows setting
1996   of the output box number (default: 255, max: 65535)
1998 * The new primitives \Udelimiterunder and \Udelimiterover
1999   complete the set of 'StretchStacks' for OpenType Math.
2001 * Fixed a bug in font string conversions on the Macintosh that
2002   resulted in warnings about 'unaligned pointers being freed'.
2004 * Khaled Hosny spotted a bunch of manual errors.
2006 * There was bug in the width of math_accent objects when
2007   there were super- or subscripts attached to the accentee.
2009 * In PDF mode, TRT \leaders were bugged.
2011 * The source tree now uses the new texlive build system that
2012   Peter Breitenlohner created.
2014 * There is now a single build.sh instead of four separate
2015   ones. It has a few options:
2016       --make      : only make, no make distclean; configure
2017       --parallel  : make -j 2 -l 3.0
2018       --nostrip   : do not strip binary
2019       --mingw     : crosscompile for mingw32 from i386-linux
2020       --ppc       : crosscompile for ppc osx on intel osx
2022   Note: --parallel still sometimes causes crashes due to
2023   timing errors, so use that option with care.
2025 * Many compiler warnings have been removed (but not all yet).
2027 ==============================================================
2028 Luatex beta-0.36.0 was released 20090323
2029 ==============================================================
2031 * The included fontforge code is stripped considerably, and
2032   the lua table to access the code is renamed to 'fontloader'.
2033   The old name ('fontforge') will remain present for a while,
2034   but will eventually go away.
2036 * New lua functions: tex.primitives(), tex.extraprimitives,
2037   tex.enableprimitives().  This is a prelude to a big change
2038   in the next beta: iniluatex will from now on start up with
2039   only the TeX82 primitives and \directlua, everything else
2040   has to be bootstrapped via tex.enableprimitives().
2041   See the manual for more details.
2043 * Support for multiple lua states has been removed, and at the
2044   same time support for adding name ids to lua chunks has been
2045   added.  See the manual for more details.
2047 * More changes to the PDF backend to make it support non-latin
2048   directions (form and image placement, vertical typesetting,
2049   synctex).
2051 * The kpathsea library is updated. Highlights: cleaner build
2052   process (thanks to Peter Breitenlohner), cleaner mingw32
2053   (cross)compilation support, and a new reentrant API.
2055 * Some possible endless loops within extended delimiters in
2056   math mode are now trapped.
2058 * Movements inside VF font characters were considerably off
2059   due to a wrong conversion routine.
2061 * Error handling for \outer has been reinstated, but can be
2062   suppressed via the new primitive \suppressoutererror.
2064 * The new primitives: \suppresslongerror and \suppressifcsnameerror
2065   that can be used to suppress errors for \par in non-long macros
2066   and for non-expandable objects inside \ifcsname ... \endcsname,
2067   respectively.
2069 * New lua function: node.vpack() via a patch from Khaled Hosny
2070   that also improves error handling in node.hpack().
2072 * Fix the typo that caused \charic (instead of \charit)
2073   to be defined as a primitive.
2075 * Suppression of hyphenation via \hyphenchar\font=-1 now works
2076   again.
2078 * The lua functions tex.print(), tex.sprint(), tex.write() now
2079   accept an array of strings as well as vararg list of strings
2080   to print.
2082 * A change to be build process: luatex.p is no longer split
2083   int smaller pieces before running the C compiler.
2085 * Melissa O'Neill contributed a bugfix to the Type1 font
2086   subsetting code.
2088 * A bunch of smaller bugfixes and cleanups (as usual).
2090 ==============================================================
2091 Luatex beta-0.35.0 was released 20090224
2092 ==============================================================
2094 * The math handling portions of LuaTeX are converted to C code,
2095   and extended to support Unicode math. There are a great many
2096   related changes, see the new Math chapter in the manual for
2097   details.
2099 * A nasty bug in the paragraph breaking routine was fixed.
2100   (All lines except the first one were believed to be wider then
2101   they really were. This affected which nodes were considered
2102   as active breakpoints)
2104 * Various changes to the PDF backend to make it support non-latin
2105   directions.
2107 * Fixed the behaviour of the page offsets. Placement of the output
2108   on the physical page should now work correctly in all directions,
2109   both in DVI and PDF.
2110   There now are \pageleftoffset and \pagetopoffset primitives,
2111   as well as
2113 * fontforge.apply_featurefile() was broken since 0.31.0
2115 * The lua profiler library is added.
2117 * The included lua filesystem library is now 1.4.1.
2119 * Reading of pk files fixed.
2121 * An optional space afer a <direction specifier> for \textdir c.s.
2122   is ignored from  now on.
2124 * \bodydir and \pagedir can now be (re)set even after the first
2125   page has been output.
2127 * The new callback mlist_to_hlist can be used to intercept the
2128   normal conversion of math lists to horizontal lists.
2130 * The programs ttf2afm and pdftosrc are removed from the luatex
2131   distribution (these belong to pdftex).
2133 * fontforge.open() now uses much less memory when opening large
2134   (CJK) fonts.
2136 * The included libpng is now 1.2.35.
2138 * Quite a lot of smaller bugfixes and cleanups (as usual).
2141 ==============================================================
2142 Luatex beta-0.31.3 was released 20081229
2143 ==============================================================
2145 This release has a bunch of updates from the development trunk
2146 (#1657-1670,1677,1678,1680,1685,1687).
2148   * Closing of files opened by \externalocp.
2150   * Fix for a locale-related bug that make PDF generation fail
2151     with a "Parsing CFF Dict failed" message when including
2152     opentype fonts.
2154   * The included metapost is now version 1.102.
2156   * PDF rules in vertical modes in RL direction where output
2157     in the wrong direction
2159   * Fix for a crash on Apple fonts that contain a 'bsln' table.
2161   * The handling of the second argument to fontforge.open() was
2162     broken
2164   * The included libpng is now 1.2.34
2166   * Handling of ttc files on Windows was broken
2169 ==============================================================
2170 Luatex beta-0.31.2 was released 20081209
2171 ==============================================================
2173 Besides fixing building issues, this release has
2175   * A small fix for a crash that could happen when using
2176     external OCPs.
2178   * A fix in the format of fontforge.to_table output.
2179     (In 0.31.1 <font>.lookups was near-empty; the lookups
2180     were accidentally output as part of the gpos table).
2182 ==============================================================
2183 Luatex beta-0.31.1 was released 20081209
2184 ==============================================================
2186 fixed a bunch of compilation errors on various platforms, but
2187 with no other visible changes.
2190 ==============================================================
2191 Luatex beta-0.31.0 was released 20081205
2192 ==============================================================
2194 This is just an intermediate release so that some testing can be
2195 done on the updated fontforge embedding.
2197 * There are new fields being generated by fontforge.to_table(),
2198   and one or two old ones have been removed. These fields are /
2199   will be documented in the manual, but very briefly:
2201   - MATH table and associated information are now exported
2202     (the main reason for the new fontforge code)
2203   - Baseline data is now exported
2204     (perhaps usable in lua code)
2205   - Multiple Master / Glyph variation data is now exported
2206     (but useless, for now)
2207   - Mac Feature (AAT) information is now exported
2208     (perhaps usable in lua code)
2209   - If (lookup) names were saved via the PfED table, these
2210     will the exported instead of the default, generated names.
2211     (as requested by Yannis)
2213 * dfont is now treated as an archive format just like ttc
2214   when it comes to fontforge.info(). NOTE: that does not mean you
2215   can actually use them, because the  backend doesn't know
2216   yet how to embed dfont fonts in the PDF, that is on the
2217   TODO list for the next big beta (0.40.0).
2219 * The executables are a lot larger than before. That is because
2220   much more of fontforge is included than before. Likely this
2221   will stay this way, because this makes upgrading the ff code
2222   much easier, and it means that luatex/FF potentially
2223   understands more font formats (after upgrading the backend,
2224   of course)
2227 ==============================================================
2228 Luatex beta-0.30.3 was released 20081128
2229 ==============================================================
2231 This release fixes a really big bug, a few smaller ones,
2232 and has updates of png and mplib:
2234 * All hyphenation patterns that were anchored at the start or
2235   end of a word were ignored in luatex versions 0.25.X and 0.30.X
2236   (and possibly even earlier).
2238 * Repeated use of \language=-1 could result in "There is not room
2239   for another language".
2241 * The lua true coroutines patch (Coco) is now disabled on OpenBSD
2242   running on non-intel platforms.
2244 * The lua socket library is patched so that it will now compile on
2245   OpenSolaris.
2247 * Luatex now has libpng 1.2.33 and mplib 1.100
2249 ==============================================================
2250 Luatex beta-0.30.2 was released 20081020
2251 ==============================================================
2253 * The Lua coco change from 0.30.1 is reverted as it gave
2254   trouble on MacOSX. Lua coco on non-intel OpenBSD platforms
2255   is now explicitly turned off.
2257 * The lua file reading speedup in 0.30.1 broke reading of
2258   files larger than 100MB.
2260 * Reading of font-related files was broken when there was a find
2261   callback, but no read callback.
2263 * The texmf.cnf array size setup values were ignored whenever
2264   --lua was given on the commandline (instead of only when
2265   texconfig.kpse_init is set to false).
2267 * glyphs with negative widths resulted in incorrect horizontal
2268   placement (overlapping) of the string in the output PDF.
2270 * Using \latelua could sometimes result in an invalid output PDF,
2271   and the argument token list was expanded too early
2273 * There was a read buffer overrun in the mapfile parser
2275 * There are two new variables in the status table:
2276   status.callbacks and status.indirect_callbacks (execution counts).
2278 ==============================================================
2279 Luatex beta-0.30.1 was released 20081009
2280 ==============================================================
2282 * Invalid return values from the linebreak_filter callback
2283   are now handled gracefully (was crashing)
2284 * a preinstalled ctangle is no longer needed except when
2285   cross-compiling
2286 * In 0.30.0, the .notdef fix was incorrectly applied to
2287   truetype / opentype fonts.
2288 * A bunch of all memory leaks is fixed
2289 * In lua, f:read('*a') now uses signicantly less memory
2290 * The number of \catcodetables is now limited to 64KB
2291   (for speed reasons)
2292 * Luatex could crash if there were PDF images with and
2293   without page /Group included on the same page
2294 * Lua coco now always uses setjmp (for OpenBSD compatibility)
2295 * The embedded mplib is updated to the latest svn version
2296 * # marks (characters with catcode 6) are no longer doubled
2297   inside \directlua
2298 * Handling the nul character (U+0000) with catcode 13
2299   (active) was broken
2300 * Luatex could crash on win32 with an access violation
2301   because there was one predefined language too few
2302   (the one matching \language=-1)
2304 ==============================================================
2305 Luatex beta-0.30.0 was released 20080930
2306 ==============================================================
2308 New features:
2310 * Readable \tex internal params that are counts, attrs, or dimens are
2311   now returned as numbers instead of strings, and skips as node objects.
2312   Read-write access to tex's skip registers added: tex.skip[0] etc.
2313 * new callback: 'linebreak_callback' to replace the internal paragraph
2314   breaking code
2315 * the tex table now supports more readable 'convert' values:
2316   tex.fontname, tex.pdffontname, tex.pdffontobjnum, tex.pdffontsize,
2317   tex.uniformdeviate, tex.number, tex.romannumeral, tex.pdfpageref,
2318   tex.pdfxformname  (each takes a number as argument)
2319 * new readable parameter: tex.fontidentifier(number) returns the
2320   \csname associated with that font id
2321 * luatex now outputs \FONT<nr> instead of \^^@ in Overfull/Underfull
2322   messages if the font's id text is zero (like for expanded fonts) (#77)
2323  * luatex --version is split into --version and --credits
2324 * There is now (again) an svn revision number in luatex --version (#91)
2325 * Add support for more read-only internal access from lua:
2326   tex.lastpenalty, tex.lastkern, tex.lastskip, tex.lastnodetype,
2327   tex.inputlineno, tex.badness, tex.pdftexversion, tex.pdflastobj,
2328   tex.pdflastxform, tex.pdflastximage, tex.pdflastximagepages,
2329   tex.pdflastannot, tex.pdflastxpos, tex.pdflastypos, tex.pdfrandomseed,
2330   tex.pdflastlink, tex.luatexversion, tex.Alephversion,
2331   tex.Omegaversion, tex.Alephminorversion, tex.Omegaminorversion,
2332   tex.eTeXminorversion, tex.eTeXversion, tex.currentgrouplevel,
2333   tex.currentgrouptype, tex.currentiflevel, tex.currentiftype,
2334   tex.currentifbranch, tex.pdflastximagecolordepth (#81)
2335 * the old --src-specials are replaced by --synctex (#63)
2336 * the \expanded primitive is backported from pdftex 1.50 (#43)
2337 * luatex now comes with libpng 1.2.32
2338 * experimental: tex.definefont(string, number) associates a
2339   csname string with a font id number
2341 Bugs fixed compared to 0.29.0:
2343 * dashes were exported wrongly by MPlib
2344 * multi-item \discretionaries were broken in various ways (#78, mailinglist)
2345 * read_font_info was sometimes called recursively from lua-loaded
2346   virtual fonts
2347 * do_vf was sometimes called on lua-loaded fonts that where
2348   already known to be virtual
2349 * trailing junk in tfm files is now ignored (needed for ecrm fonts)
2350 * pdf_ignored_dimen was initialized too late, breaking \prevdepth
2351   handling and causing output lines to overlap eachother (#72)
2352 * pdf.immediateobj() had a printf-related bug
2353 * the fontname terminal logging is fixed for strange font file names
2354 * lua tex array assignments now listen to the globaldefs setting
2355   (tex.count[0] etc) (#92,partial)
2356 * \parshape was broken (#70)
2357 * there is no longer a ".tex" extension forced on very input file (#74)
2358 * eof() for mapfiles was true one byte too soon (#76)
2359 * out of range \lefthyphenmin and \righthyphenmin settings now actually
2360   disable hyphenation (#90)
2361 * tex.unset_attribute() looked too far ahead when a to-be-unset
2362   attribute id not only did not exist in the node, but was also
2363   higher than the highest set attribute on the node. (#65)
2364 * the parameters attr and page_name of read_image() were swapped
2365   (this broke \pdfimage with attributes)
2366 * tex filenames with spaces in them on the command line are now
2367   allowed again (#30)
2368 * sometimes pfb fonts were included multiple times without valid
2369   reason (#29)
2370 * some parts of the pdftex 1.40.9 PNG transparancy hack were still
2371   present and caused transparant png handling to fail
2372 * \localinterlinepenalty and \localbrokenpenalty were broken
2373 * special case catcode tables are now handled better (#23)
2374 * the handling of missing .notdef charstrings in old pfb fonts
2375   is fixed (#27)
2377 ==============================================================
2378 Luatex beta-0.29.0 was released 20080718
2379 ==============================================================
2382 New features:
2384 * The embedded pdftex is now 1.40.9 (forthcoming) except for the
2385    following:
2386    - the png transparancy fix is skipped because it is in conflict
2387      with a macro-based solution offered by context mkiv.
2388    - LFS (PDF files > 2GiB) is not working yet.
2389    - Synctex is still missing
2391 * libpng, xpdf, and zlib are updated to their pdftex 1.0.9 levels
2393 * MPlib is updated to 1.090
2395 * The syntax of buildpage_filter is changed to avoid confusion
2396    (and crashes). See the manual for the new calling convention.
2398 Bugs fixed compared to 0.28.0:
2400 * The previous bugfix for \languages skipping numbers was wrong.
2402 * Various compile-time warnings are suppressed
2404 * \pdfsetmatrix was broken
2406 * \pdfsave and \pdfrestore were broken
2408 * Valid user_defined whatsits nevertheless were generating errors.
2411 ==============================================================
2412 Luatex beta-0.28.0 was released 20080630
2413 ==============================================================
2415 There is one new feature:
2417 There is now experimental support for non-trivial discretionaries
2418 following explicit hyphens. In analogy to \prehyphenchar and
2419 \posthyphenchar, there are two new parameters \preexhyphenchar en
2420 \postexhyphenchar. Both new parameters default to zero (nothing).
2421 When set to a nonzero value, the parameter is added to either the
2422 pre- or post- break text. Note that this is *in addition to* the
2423 hyphen already in the input. Testing and comments are very welcome.
2425 Here is a short example (no idea what is says):
2427    \pdfoutput=1
2428    \hsize=2in
2429    \postexhyphenchar=`-
2430    Seria bom se eu
2431    pudesse t\^e-lo mantido como amigo, mas por
2432    mais bem-intencionado que eu fosse, n\~ao
2433    foi possivel
2434    \bye
2438 Bugs fixed compared to 0.27.0:
2440 * Words that started off with a character with a zero \lccode
2441    were never hyphenated at all.
2443 * There was a bug in the new active characters code that prevented
2444    the latex format from being built (with Invalid character error).
2446 * There is a temporary fix for the sometimes appearing "Font has a
2447    bad FontBB" message from Acrobat.
2449 * \leaders did not actually stretch enough (the last bit of glue
2450    that has to line up the line endings was never output to the PDF).
2452 * Bad paragraph-related callbacks could result in luatex crashing.
2454 * The pre_linebreak and post_linebreak filters were never called
2455    when \output was active (this was a leftover of a superceded
2456    optimization).
2458 * 'skipping' language codes when setting up \patterns c.s. did not
2459    work (it used the next empty slot instead of the actual value of
2460    \language).
2462 * Using multiple 'attr' keywords on box items could cause random
2463    crashes.
2465 * Calling lang.hyphenate() with one argument (without specifying a
2466     tail node) could crash.
2468 * The luatex pdf banner and version reporting is cleaned up a bit.
2470 * Conflicting patterns inside \patterns now give an error:
2471      ! Conflicting pattern ignored.
2472    (duplicate identical patterns are ignored without error).
2474 ==============================================================
2475 Luatex beta-0.27.0 was released 20080624
2476 ==============================================================
2478 Bugs fixed compared to 0.25.3:
2480 * Unicode reencoding support for non-standard (i.e. older)
2481    Type1 fonts is now somewhat less broken than it was (#25)
2483 * .vf fonts using specials crashed luatex
2485 * luatex would crash on --\par (#33)
2487 * An attempt is made to get a sane default value for StemV in
2488    the created pdf (#32)
2490 * We can now guarantee that %PDF-1.* header is printed before
2491    the first pdf.print() output
2493 * lang.hyphenate() was broken
2495 * insert_before(a,a,b) was broken (#37)
2497 * argv[0] is now cleaned up before being used as a default for
2498    mem_name and prog_name (#28).
2500 * luatex would crash on loading extended fonts (fonts loaded
2501    via lua callbacks) from a format file.
2503 * The fix for pdftex bug #799 is backported from pdftex 1.40.4.
2505 * slnunicode had a bug in the unicode.utf8.gmatch iterator.
2507 * Queries of nonexisting fontdimens could cause a crash.
2509 * luatex would crash on {\textdir TLT\pardir TLT x\break\par }
2511 * Fixed wrong placement of lines in mixed-direction paragraphs
2512    that could happen in some situations.
2514 Other news:
2515 * Luatex now includes luasocket (#35)
2516    See http://www.tecgraf.puc-rio.br/~diego/professional/luasocket/
2517    for usage.
2518    There is a new commandline option: --nosocket to disable this,
2519    and that is also implied by --safer.
2521    NOTE to the binary builders: there are some unfixed configure
2522    problems when you need to add a specific library to get socket
2523    support on your platform. You probably will have to edit the
2524    generated Makefile by hand (search for 'socketlib').
2526 * There is ongoing development to the 'img' and 'mplib' libraries.
2527    See the reference manual for details.
2529 * The 'character commands' in virtual fonts now support image
2530    inclusion. See the reference manual for details.
2532 * Lua error messages now include the call stack.
2534 * \directlua and \latelua have been extended to accept a 'name'
2535    keyword. The argument is a token list that is used as the lua
2536    name of this chunk in lua error messages and call stack prints.
2537    (#42)
2539 * The lua chunk names can be interfaced via a new virtual
2540    table called lua.instancename, the values in that function as
2541    defaults in the absence of 'name' keywords.
2543 * The 2-plane limit on active character range is removed (#12).
2545 * Subsetted TTF fonts in the PDF now retain the cmap table.
2547 * There is a new Lua variable os.selfdir. This contains the
2548    full absolute pathname of the directory that the executable
2549    resides in (with symlinks resolved)
2551 * There is a new function os.uname() this returns a lua
2552    table containing various platform information items.
2554 * The node library now uses text strings for direction specifiers
2555    instead of numbers. See the reference manual for details.
2557 * The 'E' (edit) as error response functionality is now a noop.
2559 * Adding luatex 0.25.3 to texlive resulted in a few minor backports,
2560    in particular: Support for mktexfmt is added, and luatangle now
2561    identifies itself as such (instead of calling itself otangle).
2563 * We fixed a whole series of portability problems (but
2564    we probably introduced new problems as well).
2566 * Most (all?) files now have a corrected Copyright header,
2567    and link in $Id$ and  $URL$ into the object file.
2569 * Some unnecessary files were removed from the distribution.
2571 ==============================================================
2572 Luatex beta-0.25.3 was released 20080418
2573 ==============================================================
2575 Bugs fixed:
2576 * Pdftex bug no. 936 (sarovar) regarding vertical
2577   positioning of embedded PDF files if depth parameter is given.
2578 * Luatex gave bogus lua return values for the tex.wd/hd/dp
2579   values of void boxes
2580 * A few bugfixes in mplib (square pens caused hangs, elliptical
2581   pens caused confused output)
2582 * Hyphenation of uppercase words (\uchyph) was broken
2583 * Output image placements corrected for all 8 transform cases
2584   also when artbox etc. is used
2585 * There were missing maketexstring() calls in error messages
2586 * Math display contents were sometimes prematurely freed during
2587   the placement of the equation number
2588 * Setting \language=-1 could cause crashes due to an array
2589   index going out-of-bounds
2591 Other news:
2592 * build.sh.ppc is added to the source distribution. This is a
2593   script that crosscompiles osx ppc binaries from osx intel
2594 * tex.box[<chardef name>] is now supported (but still experimental)
2595 * a bunch of compiler warnings are removed
2596 * The fontforge library now dump AAT feature tags as and
2597   "<id,flags>" string
2598 * The new function font.nextid() predicts the next assigned font id
2599 * Some source code changes are backported from texlive
2601 ==============================================================
2602 Luatex beta-0.25.2 was released 20080410
2603 ==============================================================
2605 * Updated to MPlib 0.40
2606 * Bugfixes and cleanup in the lua img table code
2607 * Fix \pdflastximagepages bug from pdftex
2608 * Fix for very large tex.print strings
2609 * Update to Lpeg 0.8.1
2610 * &D Bugfix for Type1 fonts when out-of-range characters
2611   are marked as 'used'
2613 ==============================================================
2614 Luatex beta-0.25.1 was released 20080321
2615 ==============================================================
2617 * Updated to MPlib 0.30 (that is now becoming usable)
2618 * The build requirement for a pre-installed ctangle is gone
2619   (thanks to Martin)
2621 ==============================================================
2622 Luatex beta-0.25.0 was released 20080311
2623 ==============================================================
2625 New:
2627 * mplib library:
2628    This version features an embedded MP interpreter whose output
2629    can be directly accessed from lua code (mplib), without calls
2630    to an external "mpost" command. Of course it has bugs and
2631    limitations (makempx does not work, for example) but keep in
2632    mind that it is only an initial attempt.
2633    See the manual for more details.
2634 * img library:
2635    ** img.immediatewrite() is added
2636    ** images now accept a 'transform' key
2637    ** widths etc. can now be given as width="100mm"
2639 Fixed:
2641 * \parshape handling was completely broken since 0.20.0+
2642 * when \pdfprotrudechars was in effect, an assertion failure
2643    could happen when embedded \hboxes in the paragraph appeared
2644    at the end of a line.
2645 * import of otf fonts with contextual lookups has been debugged,
2646    thanks to a patch by GW himself.
2647 * compiling with gcc 4.2.3 is now supported
2648 * if you want to build from source, you need a pre-installed ctangle.
2651 ==============================================================
2652 Luatex beta-0.22.1 was released 20080227
2653 ==============================================================
2655 * The macnames.c source file for building ttf2afm is restored.
2656 * "make depend" in luatexdir now works again
2657 * luatex sometimes crashed because it attempted to expand an
2658   already expanded font
2659 * luatex aborted when --progname was given but no format name.
2660   It now sets the format name to the given progname in that case
2661 * sometimes paragraphs with near-empty lines could cause a crash
2662 * img.supportedtypes() had a bug causing it to crash
2663 * img.supportedtypes() has been renamed to img.types for consistency
2664 * img.boxes() added, returns strings representing bounding boxes
2665 * img.node() added, returns a whatsit node cf. \pdfrefximage
2666 * node.write() now accepts multiple arguments
2667 * the program_name_set switch was not set automatically from C,
2668   causing errors unless lua code called kpse.set_program_name()
2669   explicitly
2670 * kpse.set_program_name() can now be called more than once
2671   in a single run.
2672 * os.spawn{...} and os.exec{...} could cause crashes because of
2673   a memory allocation error
2675 ==============================================================
2676 Luatex beta-0.22.0 was released 20080215
2677 ==============================================================
2679 * We now have an official bug tracker: http://tracker.luatex.org
2680 * A new lua library (img) is added that allows a direct
2681    interface to the image handling of luatex. You can use this
2682    to include images from lua code instead of via the more
2683    traditional \pdfximage cs. See the manual.
2684 * An optional equal sign after \{pre,post}hyphenchar is now
2685    allowed.
2686 * os.exec() has been extended, and os.spawn() added. These
2687    functions have support for quoted strings, and they
2688    also accept a table with preseparated command arguments.
2689 * New string constants os.type and os.name are provided.
2690 * node.last_node() is added. This pops and returns the last
2691    node from luatex's 'current list'
2692 * node.write() is added. This appends a node to the end of
2693    luatex's 'current list' (experimental).
2694 * The strict check on unicode compliance in pattern files
2695    is dropped. Patterns files still have to be in proper UTF-8
2696    encoding, but the error for non-Unicode character values
2697    (like 0 - 31 and 127 - 159) is dropped.
2698 * \pdfadjustinterwordglue, \prependkern, \appendkern
2699    and associated \XXXXcode arrays are gone.
2700 * The rest of the pdftex font arrays are now merged into
2701    the new luatex font data structure. This means that you
2702    can now set up font expansion from lua code, and that a few
2703    font-related limits are gone.
2704 * The 'top_skip' field in 'insert' nodes is renamed to 'spec',
2705    for improved consistency.
2706 * kpse.show_path() added. This behaves just like
2707    $ kpsewhich --show-path
2708 * The unicode.utf8 functions now also accept values in the range
2709    1.114.112 - 1.114.367 that is used by LUATEX for raw byte output.
2711 What's been fixed:
2713 * Better node memory (de)allocation error tracking and messages
2714 * Compilation on MacOSX 10.5 was broken
2715 * There was a bug in node.insert_after
2716 * Use of \{pre,post}hyphenchar was broken
2717 * lfs.permissions was leaking memory
2718 * Some warning and error messages are improved a bit
2719 * A set of bugs in character protrusion, this seems to be working
2720    ok now.
2721 * Also, a set of bugs in font expansion. This now works in most
2722    cases but is not quite bugfree yet (problematic files for testing
2723    are welcomed).
2724 * The functions in the kpse library would crash luatex if
2725    kpse.set_program_name() was not yet called. gives an error now.
2726 * Alignments with spanned columns could cause crashes
2727 * A patch is added for problems with filename parsing on the
2728    "first input line" (by Jonathan Kew)
2729 * The hpack_filter and vpack_filter were only called for lists longer
2730    than one node.
2731 * Luatex is now more forgiving about font subsets being smaller
2732    than their expected size (issues a warning instead of aborts now)
2733 * A "double-free ignored" error for paragraphs with lines starting
2734    with discarded items was fixed.
2736 ==============================================================
2737 Luatex beta-0.20.2 was released 20071217
2738 ==============================================================
2740 * some portability fixes to the build scripts
2741 * a fix for multi-\span in alignments causing unbreakable
2742    loops
2743 * manual improvements from Jonathan Sauer
2744 * fix for undefined csnames in \directlua if
2745    web2c's hash_extra is nonzero
2746 * fix for LR text inside of a RL document
2747 * fix for open_read_file callback not being called
2748    unless find_read_file was also registered
2749 * removed the ocp status message when \ocps are not
2750    actually used
2751 * "unicodeenc" in the fontforge to_table renamed to
2752    "unicode" for improved consistency
2754 ==============================================================
2755 Luatex beta-0.20.1 was released 20071207
2756 ==============================================================
2758 * texlua was broken on Solaris because the some C header
2759    files were loaded in the wrong order.
2760 * os.tmpdir() now accepts an argument, making it easier
2761    to use. It now generates more unique filenames when
2762    it is called repeatedly in one run.
2763 * The --luaconly commandline switch is now documented
2764    in the --help text.
2765 * The new extended hyphenation exceptions were severely
2766    broken.
2767 * \pdfprotrudechars could cause luatex to abort with an
2768    assertion failure.
2769 * There was a bug in the  \span code that could cause endless
2770    loops.
2771 * The simple forms of \leaders were messed up on windows
2772    because a variable was not properly initialized.
2773 * Non-grouped \textdir commands created invalid output.
2774 * e-TeX's pseudo files were not closed properly in ini mode.
2775 * The luatex.web now weaves properly again.
2776 * I made some small improvements to the manual.
2778 ==============================================================
2779 Luatex beta-0.20.0 was released 20071205
2780 ==============================================================
2782 News compared to the last beta (0.11.2) is as follows:
2784 * Completely overhauled hyphenation and ligkern application,
2785   including the addition of a new "lang" table in lua to
2786   interface to the language parameters, some extra functions
2787   in the "node" table, and a few extra callbacks ("hyphenate",
2788   "ligaturing", "kerning", "post_linebreak_filter").
2790   There is a new chapter in the manual to document all the
2791   changes to the hyphenation and line breaking algorithms,
2792   it is simply too much to list here.
2794 * the interface of the pre_linebreak_filter,hpack_filter,
2795   vpack_filter, and pre_output_filter has changed slightly.
2797 * boxes can now get explicit attributes different from the
2798   currently active set, using a syntax like
2800   \hbox attr2=12 attr3=-1 to 12pt {Hi!}
2802 * lpeg is now at version 0.7
2804 * a whole series of exotic bugs and compiler warnings are
2805   fixed, mostly thanks to the watchful eye of Fabrice.
2807 * texio.print now accepts multiple strings as arguments.
2809 * the lua functions os.sleep(), os.times(), os.gettimeofday()
2810   and os.tmpdir() have been added.
2812 * lua now comes with the coroutine (coco) patches from the
2813   luajit project applied.
2815 * the banner line no longer claims to be TeX.
2817 * a bunch of bugs reported on the mailing list have been
2818   fixed (I hope all of them).
2820 * (internal) we found lots of small ways to speed up lua
2821   node processing.
2823 * (internal) the node (de)allocation functions have been
2824   rewritten, so that absolutely all nodes now have a type,
2825   even the ones with variable sizes.
2828 ==============================================================
2829 Luatex snapshot-20071029 was released 20071029
2830 ==============================================================
2832 * Completely overhauled hyphenation and ligkern application.
2834   There is a new chapter in the manual to document all the
2835   changes to the hyphenation and line breaking algorithms,
2836   it is simply too much to list here.
2838 * the interface of the pre_linebreak_filter,hpack_filter,
2839   vpack_filter, and pre_output_filter has changed slightly.
2841 * lpeg is now at version 0.7
2843 * a whole series of exotic bugs and compiler warnings are
2844   fixed thanks to the watchful eye of Fabrice.
2846 * texio.print now accepts multiple strings as arguments.
2848 * The lua function os.sleep() is added
2850 ==============================================================
2851 Luatex beta-0.11.2 was released 20070918
2852 ==============================================================
2854 * Pdf inclusion and subsetting of CID-based opentype fonts
2855   now works as it should.
2857 ==============================================================
2858 Luatex beta-0.11.1 was released 20070918
2859 ==============================================================
2861 A quick list of what is new and fixed since beta 0.10.2:
2863 New:
2864 * pfb+afm fonts can now be used in 'wide' (encodingbytes=2) mode
2865 * searching in PDFS using 'wide' fonts now works reasonably well
2866   (based on the tounicode feature)
2867 * related to that, tounicode information can now be passed
2868   on inside the font metrics table
2869 * font subsetting is now supported for CID-based OpenType fonts
2870   (however, there is a known bug with KpozMinProVI-Regular.otf)
2871 * fontforge's warning and error messages are now intercepted
2872   and passed on to the lua code as a second return value of
2873   the fontforge.open() function
2874 * the new primitive \suppressfontnotfounderror can suppress
2875   the TeX error for "Font not found"
2876 * The lua function font.current can now be used to set TeX's
2877   current font
2879 Fixes:
2880 * set_attribute(-1) is now the same as unset_attribute()
2881 * OpenType lookups with glyph classes would crash luatex
2882 * luazlib would not compile on debian (fix from Norbert)
2883 * CID-based fonts would crash luatex
2884 * Bare CFF should be read in binary mode (fix from Akira)
2885 * VF processing did not process packets containing zero bytes properly
2886 * the truetype collection (.ttc) handling is fixed, so that all
2887   of the fonts inside a collection can now be used reliably
2888 * application segfaults and stack overflows are intercepted
2889   so that luatex can quit a bit more gracefully
2890 * an assertion failuer on systems with signed chars (linux-powerpc)
2891   is fixed
2892 * a crash on AMD64 linux was fixed
2893 * the lua "pdf" table code was wrong
2894 * \ifcsname did not work properly for UTF-8 characters
2895 * Use of the math-related functions using make_fraction (like \atop)
2896   caused a crash
2897 * \handling of \if\noexpand was wrong
2898 * applied a patch that cleans up XForm and page calculations
2899 * "autoconf" support from zziplib is stripped
2901 ==============================================================
2902 Luatex beta-0.10.2 was released 20070814
2903 ==============================================================
2905 Bugs fixed:
2907 * the primitive \span was completely broken
2908 * \pdfexpandfont (font expansion) misbehaved if it was used more
2909    than once
2910 * virtual fonts: sometimes they used the wrong internal font id,
2911    loading vf fonts via fonts.read_vf() was impossible, and sometimes
2912    virtual fonts created segfaults
2913 * while dumping formats, the last font parameter for each font was not
2914    dumped at all
2915 * zziplib was always compiled with pre-installed zlib headers, instead
2916    of the ones in the build tree
2917 * lua 5.1.2 has trouble quoting ^Z characters etc, the tentative patch
2918    for lua 5.2 from Luiz fixes that, hopefully
2919 * fontforge.font('font.pfb') now properly parses AFM boundingboxes
2920 * non-existing files in the argument for fontforge.open() or
2921    fontforge.info() could cause segfaults, now it generates an error
2922    instead
2923 * fontforge.open() did not return character widths for vertical fonts
2924    as it should
2925 * on Windows, fontforge believed that ttc files (TrueType Collections)
2926    were actually directories. ttc processing is still not 100% correct,
2927    but it is getting better
2928 * the build system used explicit 'make' sometimes
2929 * the auto-growing string pool was not used everywhere
2930 * there were some typos in the documentation parts of the pascal web
2931 * use of \parshape could easily exhaust all available memory
2934 New features:
2936 * support for applying Adobe Feature files (.fea) and Adobe Font
2937    Metrics (.afm) is added to the fontforge library
2938 * fontforge.info() will now return an array of tables for the contents
2939    for ttc files
2940 * support for a 'texluac' personality was added, to replace the 'luac'
2941    command from the official Lua distribution
2943 ==============================================================
2944 Luatex beta-0.10.1 was released 20070719
2945 ==============================================================
2947 This was a hotfix because beta-0.10.0 was completely broken.
2949 ==============================================================
2950 Luatex beta-0.10.0 was released 20070718
2951 ==============================================================
2953 The latest version of the manual is included in the package, and I
2954 am not going to repeat all of that. There were some minor changes
2955 compared to the previous snapshot, but mostly just bugfixes and
2956 documentation improvements.
2958 ==============================================================
2959 Luatex snapshot-20070626 was released 20070626
2960 ==============================================================
2962 * Integrated the lua library lzlib, this defines tables with
2963    bindings for zlib (including eazy-to-use gzip support)
2964 * Updated to slnunicode version 1.1
2965 * Some small cleanups in the sparse array handling
2966 * Moved the raw byte support out of the valid unicode range
2967 * Fixed a bug in the OFM font reader
2968 * Removed the pdftex snap nodes (and associated primitives)
2971 ==============================================================
2972 Luatex snapshot-20070622 was released 20070622
2973 ==============================================================
2975 Not a lot of news, but it fixes a few important bugs in the lua
2976 node processing. Also a few utility functions are added:
2978 * tex.round()
2979    rounds and bounds checks a lua number to make sure it is
2980    a valid tex integer.
2981 * tex.scale()
2982    multiplies a number (or the numeric values in a table)
2983    with a fixed quantity, and calls tex.round() on the result.
2984 * node.has_field()
2985    Test if a node has a specified field name
2986 * node.remove()
2987    removes a node from a nodelist, while keeping the list intact
2988 * node.insert_before()
2989    inserts a new node into a nodelist, just before a specified
2990    location node
2991 * node.insert_before()
2992    inserts a new node into a nodelist, just after a specified
2993    location node
2994 * node.hpack()
2995    packages a nodelist into a hlist node
2998 ==============================================================
2999 Luatex snapshot-20070619 was released 20070619
3000 ==============================================================
3002 * The lua node processing interface is completely reworked.
3003    It is now completely based on userdata, and uses a new lua table
3004    called 'node' to hold the methods. More detailed information
3005    is in the manual (of course).
3007 * There is a fifth node processing callback:
3008       pre_output_filter
3009    this is executed just before the packaging of \box 255.
3011 * The hpack_filter and pre_linebreak_filter callbacks now
3012    receive an extra argument indicating the number of top-level
3013    glyphs in the node list.
3015 * Virtual fonts can now contain a 'node' key in the glyph
3016    commands: the value should be a hlist node (i.e.: a horizontal
3017    box), and that will then be output for each character access
3018    in that font.
3020 * A new set of registers is added, called \attribute. These are
3021    values that will be automatically attached to nodes created in
3022    their scope. More information in the manual.
3024 * Direct read/write access to TeX's box registers is addded to
3025    the lua 'tex' table.
3027 * TeX's main memory now grows dynamically, and the (de)allocation
3028    routines have been rewritten completely.
3030 * The 'kpse' table is extended with extra interface functions, to
3031    allow texlua to be used as a scripting engine.
3033 * The \pdftexversion command now returns 200, not 140.
3035 * The displayed banner and --version screens are cleaned up.
3037 * The format file is now RLE compressed. Not as small as before,
3038    but unpacking is much faster.
3041 ==============================================================
3042 Luatex snapshot-20070426 was released 20070426
3043 ==============================================================
3045 This past month I have been busy with nodes and lists of nodes,
3046 so the big new feature in this release is that there are four
3047 callbacks that operate on node lists:
3049   buildpage_filter
3050   pre_linebreak_filter
3051   hpack_filter
3052   vpack_filter
3054 The preliminary documentation for these is in the manual, but the basic
3055 idea is that you can filter a node list just before LuaTeX starts doing
3056 something with it (like line breaking). This functionality is not stable
3057 yet: the node presentation of the various node types is pretty much OK
3058 now, but keep in mind the following:
3060   * math noads and math typesetting are not handled at all (yet)
3061   * not all hpacks and vpacks are intercepted (yet)
3062   * the nested node list handling will probably change
3063   * A conversion tool for nodes to/from dictionaries is planned,
3064     but not done yet
3066 The other changes in this snapshot are various bugfixes (for builds
3067 on various platforms as well as font issues) and speedups (in the
3068 execution of callbacks and the creation of lua font representations).
3071 ==============================================================
3072 Luatex snapshot-20070322 was released 20070322
3073 ==============================================================
3075 * I have changed the token_filter callback quite rigorously,
3076    mostly because of speed issues. The raw speed of trivial
3077    lua token handling is now only about 20 times slower than
3078    the native handling. Not bad at all, considering it has to move
3079    between interpreted and compiled code for each and every
3080    token. If you do not run the token filter inside \output,
3081    the effective run speed difference should not be much more
3082    than a factor 1.5.
3084    Two big differences: you have to call token.get_next()
3085    yourself, and the token table is now a three-item array
3086    instead of a five-key hash. The minimal example changes to
3088    \directlua0{
3089      callback.register('token_filter', function ()
3090        return token.get_next()
3091        end)
3092    }
3094    more details are in the manual.
3096 * I've fixed a few bugs in the handling of Opentype TTF, and added
3097    a new key in the font definition table:
3099       f.encodingbytes = (1|2)
3101    The default is 2 for opentype and truetype format, 1 otherwise.
3102    Later on, it will become possible to have a type1 font in 2-byte
3103    (CID) encoding or a truetype font in traditional encoding (1-byte),
3104    but I have not covered all cases yet.
3108 ==============================================================
3109 Luatex snapshot-20070309 was released 20070309
3110 ==============================================================
3112 * The OCP debug information is removed again.
3114 * There is a new callback that I am quite excited about myself:
3115    'token_filter'.
3118 A bit of text from the reference manual:
3119 --------------------
3120 This callback allows you to change the modify any lexical token that
3121 enters the \type{main_control} function before \LUATEX\ executes the
3122 associated command.
3124 Note: not all tokens can be intercepted yet, only those that are `seen'
3125 by \LUATEX's main control function.  Supplemental tokens like the bodies
3126 of macro definitions and the right-hand side of register assignments
3127 are not seen. For now, this is intentional.
3129 \startfunctioncall
3130       function (table <token>)
3131          return table <token>
3132       end
3133 \stopfunctioncall
3135 Calling convention for this callback is bit more complicated then for
3136 most other callbacks.  Initially, lua function will be called with the
3137 next token from \type{get_next()} as argument, represented as a small
3138 lua table.  The function should either return a lua table representing
3139 a valid to-be-processed token, or something else like nil or an empty
3140 table.
3142 If your lua function does not return a table representing a valid
3143 token, it will be immediately called again with yet another token
3144 from \type{get_next()} as argument, until it eventually does return
3145 a useful token.
3147 But if the function does return a usable token, then that token will
3148 be processed by \LUATEX. Afterwards, the function will be called
3149 again, but now without an argument. This is repeated until it stops
3150 returning tokens.  Then processing reverts back to the other branch.
3152 The point behind that roundabout calling convention is that it
3153 allows the lua function to buffer tokens for various uses. That in
3154 turn makes it possible to do some really advanced things like
3155 replacing OTPs.
3157 Now about that table. The table that the function will receive
3158 contains four fields:
3160 \starttabulate[|l|i|p|]
3161 \NC Key     \NC  type    \NC                Explanation \NC\FR
3162 \NC cmd     \NC  string \NC A representation of  \LUATEX's internal
3163                              command code\NC\NR
3164 \NC chr     \NC  number \NC The command code modifier\NC\NR
3165 \NC cs      \NC  string \NC If the token came from a csname, this
3166                              is  that csname\NC\NR
3167 \NC mod     \NC character \NC A single character string representing
3168 the current processing mode. One of {\bf v}ertical, {\bf h}orizontal,
3169 display {\bf m}ath, {\bf n}o, internal {\bf V}ertical,
3170             restricted {\bf H}orizontal, or inline {\bf M}ath mode.\NC\LR
3171 \stoptabulate
3173 If you modify the table before returning it, then it is wise to return
3174 either a (\type{cmd}, \type{chr}) pair, or a \type{cs} string.  That is
3175 because if both options are present, the pair has precedence and the
3176 string is ignored. On the return table, {\bf mod} is ignored always.
3177 --------------
3179 I have no long example code yet and it is not as complete as one
3180 would want it to be because it is not intercepting everything that
3181 comes in, only the bits that are triggered by the main control
3182 loop.
3184 I decided to do a fast snapshot release for two reasons:
3186 * It is one of the easier extensions to get started with if you want
3187    to learn a bit about lua programming
3189 * I would welcome feedback on the token interface, because it will
3190    be needed in other places as well, soon. I am still not sure
3191    whether converting the command to/from strings is worth it, for
3192    example. And maybe it would be less confusing if you could return
3193    a list of tokens instead of being called repeatedly?
3195 Here is the trivial example to get you started:
3197     \directlua0{
3198       callback.register('token_filter', function (t) return t end)
3199     }
3202 ==============================================================
3203 Luatex snapshot-20070307 was released 20070307
3204 ==============================================================
3207 * Non-CID PostScript-based Opentype fonts are now combined over
3208    the entire document, and properly subsetted. The code is
3209    borrowed from xdvipdfmx with some minor adjustments
3211    Adding support for CID-keyed OpenType fonts would not be hard
3212    but at the moment I lack example input (and incentive).
3214 * A small extension to the virtual fonts structure: you can use
3216      f.fonts[1] = { 'id' = 38}
3218    to do a backreference to a previously defined font. This saves quite
3219    a few computations
3221 * There was a bug in the handling of \leaders in the output whereby
3222    it's width was taken to be twice what it should be while writing
3223    to the PDF, fixed now.
3225 * The font inclusion code is cleaned up a bit by Hartmut.
3227 * Some compilation problems were fixed.
3229 * There is (quite a bit of) debugging information printed out when
3230    OTPs are in use, because I am tracking down a bug reported by Idris.
3232    The input of each and every OTP step is shown on the terminal in
3233    a line line this:
3235      [57902][1568][58423][1568][58408][1568][58921]
3237    those are the decimal values of ocp i/o characters. If you don't
3238    need them, don't worry about it.
3240 ==============================================================
3241 Luatex snapshot-20070302 was released 20070302
3242 ==============================================================
3244 * The 'snapshot version' banner is now calculated dynamically
3245   at build time. This aids in figuring out what binary people
3246   are actually running, but it can possibly break the build on
3247   systems that do not have a `date` command.
3249 * The do_vf() function that checks for virtual font existance
3250   is now run immediately after the font definition instead of
3251   being postponed until characters are output.
3253 * The 'define_font' callback interface has changed a little.
3254   It is now:
3255     retval = function (name,size,fontid)
3257   where fontid is the internal font number of the font that
3258   is currently being defined, and retval can be either a table
3259   (as before) or a different, previously defined fontid. This is
3260   useful if a previous definition can be reused instead of
3261   creating a whole new font structure.
3263 * The internal font data structure has been redone. Glyph index
3264   inside a font is now handled by a sparse array, so that use
3265   of e.g. 0xFB01 (fi-ligature) no longer creates a 64000+ entries
3266   character array.
3268 * The internal cache-ing of font metric information is turned
3269   off completely, because it was based on the assumption that
3270   name + size were a unique identifier for a font. This can no
3271   longer be guaranteed.
3273 * word boundary processing now works OK again, thanks to the
3274   introduction of two virtual characters in the font table
3275   definition. Besides the normal numeric entries in the
3276   f.characters table, there can now also be two string keys:
3277   "left_boundary" and "right_boundary". The  ligatures and kerns
3278   of the 'left_boundary' character are used for the pre-word
3279   boundary processing, ligatures and kerns between characters
3280   and 'right_boundary' are used for the post-word processing.
3282 * Lua font table references are no longer cached by the
3283   executable ,in order to preserve memory. (the only downside
3284   is that font.fonts[] access is now slower because of the need
3285   to recreate the lua table).
3287 * There are other some small changes to the font table formats.
3288   Please see the manual for details.
3290 * A 'real' font can now still have virtual characters if they
3291   are loaded via lua. Just set the 'commands' section and/or
3292   the 'fonts' array to your liking, and it should work out.
3294   If you have created no 'fonts' array at all, then the default
3295   font (indentifier '1')  is the current font, so that you
3296   can create virtual duplicates of already existing characters.
3298   Note: this does not work the other way. There can not be
3299   'real' characters in a virtual font!
3301 * Truetype-based opentype fonts no longer require Acrobat 7
3302   t(hey are now written out as if they are normal truetype).
3304 * A lua init script can now set 'texconfig.formatname' and/or
3305   'texconfig.jobname'. If ther is no file or format specified
3306   on the commandline, then, if, one of those keys is present,
3307   that key will be used instead of simply quitting with an
3308   error.
3310 * Placement of boxes and rules in right-to-left mode is debugged,
3311   and now seems to work ok.
3313 * Virtual font loading is debugged.
3315 * Some memory leaks are resolved
3317 * HZ font expansion should work ok again, but is not tested.
3319 * a few of the warning during opentype loading have been removed
3320   because the problems are rather harmless and turned out to be
3321   triggered by almost every font.
3324 ==============================================================
3325 Luatex snapshot-20070218 was released 20070218
3326 ==============================================================
3328 * The pdftex stuff is now updated to 1.40.3
3329   (and on top of that, it still has those extra patches announced in
3330   snapshot 20070202)
3332 * The virtual font parser is debugged and now appears rather stable.
3334 * There is one extra virtual command:
3336     "commands" = {
3337        {"slot", 1, 97}, -- place character 97 'a' in local font 1.
3338      }
3340   This is just a shortcut for {"font",1}, {"char", 97}
3342 * Some small memory leaks have been fixed. Luatex does not leak big
3343   time, but I'd like to get back to valgrind reporting '0 out of 0',
3344   instead of the current 800 bytes or so (that is a slow process).
3346 * You can read a truetype or opentype font from within lua code
3347   using font.read_ttf() or font.read_otf(), respectively.
3349   This feature uses a fair bit of the fontforge code, making the
3350   binary rather a bit larger than before. Just so you know.
3352   Apple (AAT, as well as encoding) support is still largely missing,
3353   and bitmap-only and old Multiple-Master truetype fonts are not
3354   supported at all (and never will be).
3356   The output format is (shadily) documented in the reference manual.
3357   At the moment, it very closely resembles the internal font stucture
3358   that is used by fontforge.
3360 * LuaTeX can now write wide OpenType fonts to the PDF file.
3362   There is no subsetting support yet, and a ToUnicode CMap is also
3363   still missing, but nevertheless it is already somewhat useful. The
3364   rule is very simple: if a font uses code points above 255, then it
3365   is considered to be a `wide' font, and it will be written out as
3366   a Type0 CID-keyed font to the PDF.
3368   Caveat: Getting suitable metrics into LuaTeX can be a bit of problem
3369   right now, because font.read_otf() does not produce anything that
3370   can be fed back into define_font without extra processing.  Hans has
3371   some experimental Lua code for ConTeXt (of course :-)) and that is
3372   how I know it works.  You can expect a nicer interface soon,
3373   hopefully next week, in the form of a simplistic table conversion
3374   routine.
3376 * I have started work on supporting Aleph's bidi typesetting in PDF
3377   mode as well, simple text seems to be largely ok. More complicated
3378   documents will no doubt still show some bugs, but fixing those will
3379   be easy (once they are discovered). Exactly what happens with specials
3380   is not yet investigated.
3382 * Omega's (16-bit) wide virtual fonts now work OK in PDF mode. This
3383   means that many Aleph files can now be run in PDF mode directly.
3384   (the documents that use UTF-8 input encoding)
3387 ==============================================================
3388 Luatex snapshot-20070202 was released 20070202
3389 ==============================================================
3392 * The pdftex stuff is now updated to 1.40.2, and on top of that, it has
3394    - an extra patch from Han The Thanh that adds a primitive to control
3395      the merging of fonts from external pdf images (\pdfreplacefonts),
3396      and a bugfix for virtual font handling.
3398    - an extra patch by Hartmut Henkel that removes a number of malloc()s
3399      and free()s from the calls to the compression library, thereby
3400      making luatex run a bit faster.
3402 * luatex now happily accepts the following low-level syntax:
3404     \font\myfont = <general text> <at specifier>
3406    It feeds the <general text> to either kpathsea or a lua script for
3407    further processing after stripping the braces.
3409    In itself, this is not all that useful, but the reason for this
3410    syntax extension is that it paves the road for a macro package
3411    to do something like this:
3413     \font\myfont = {font="Times New Roman", color="\darkred",
3414                     encoding="ec", features="liga", size=10bp}
3416    without having to resort to system-specific quoting mechanisms.
3417    Macro (and other) expansion takes inside the braced argument.
3419    (I am considering adding this extension to \input as well).
3421 * It is now possible to define a font into the font.fonts[]
3422    directly from lua, but becayse use is limited, I am only
3423    mentioning it to be complete.
3425    Syntax:
3426         <number> id = font.define(<table> font)
3428 * There is a (not very reliable yet) virtual font parser accessible
3429    from lua.
3431    Syntax:
3432         <table> vfdata = font.read_vf(<string> name, <number> size)
3434    The interpreter tries to give a reasonable representation of a
3435    virtual font file (the .vf file). Besides a few simple top-level
3436    items:
3438      designsize  -- in scaled points
3439      size        -- also in sp
3440      name        -- the file name
3441      checksum    -- the vf checksum
3442      header      -- the header comment  (if any)
3444    it also has a top-level array 'fonts' wherein each item is a mini-
3445    array describing one of te mapped fonts. An example makes this
3446    easy to understand
3448     "fonts" = { {"ptmr8a",655360}, {"psyr", 600000} }
3450    says that the first referenced font (index 1) in this virtual font
3451    is ptrmr8a.tfm loaded at 10pt,  and the second is psyr.tfm loaded
3452    at a little over 9pt. These index numbers are used by the character
3453    command definitions that follow.
3455    At top level, there is a 'characters' array, just as for a normal
3456    font, except that each item has only two keys:
3458      "width"    -- the tfm width (as stored in the .vf)
3459      "commands" -- an array of virtual font commands for a character.
3461    each of the items in the 'commands' array is itself a tiny hash.
3463    Each of those mini-hashes represents a single character packet
3464    command. Here is a 'commands' entry that contains every possible
3465    one at least once:
3467      "commands" = {
3468         {"push"},                     -- remember where we are
3469         {"right", 5000},              -- move right 0.08pt
3470         {"font", 1},                  -- select the fonts[1] entry
3471         {"setchar", 97},              -- place character 97 'a'
3472         {"pop"},                      -- go all the way back
3473         {"down", -200000},            -- move *up* about 3pt
3474         {"special", "pdf: 1 0 0 rg"}  -- switch to red color
3475         {"rule", 500000, 20000}       -- draw a bar
3476         {'special',"pdf: 0 g"}        -- back to black
3477       }
3480 * But the big news is that you can now define your own virtual fonts
3481    on the fly, by adding a few statements to the table returned to
3482    the 'define_font' callback.
3484    There are a few requirements:
3486    - The table has to have a top-level key 'type', and it's value
3487      must be 'virtual'.
3489      The presence of this key with the specific value 'virtual'
3490      will trigger handling of the rest of the special virtual font
3491      fields in the table, but the mere existance of 'type' is
3492      enough to prevent luatex from looking for a virtual font
3493      on its own.
3495      Therefore, this also works 'in reverse': if you are absolutely
3496      certain that a font is not a virtual font, assigning the value
3497      'base' or 'real' to 'type' will inhibit tex from looking for a
3498      virtual font file, thereby saving you a disk search.
3500    - There must be a top-level 'fonts' array, as explained above.
3501      Any fonts that are not yet known to luatex at that moment,
3502      will be loaded automatically (Warning: do not ever use a font
3503      in 'fonts' with the same name you will return in the table you
3504      are defining right now!).
3506    - Each and every character in the fonts needs to have a 'commands'
3507      key, as explained above.
3509    The main point behind these restrictions is that a font is
3510    *either* a base font *or* a virtual font. It cannot be both
3511    at the same time.
3514 ==============================================================
3515 Luatex snapshot-20070126 was released 20070126
3516 ==============================================================
3519 * Underscores in pascal identifiers are now retained.
3521    This took quite a bit of work. The web2c conversion tools
3522    needed only small adjustments, but most of the existing C
3523    code depended on the removal of the underscores. I had to
3524    go through changing many lines. 99% of all identifiers are
3525    now written the same on the pascal side as on the C side.
3526    This makes writing interface code quite a bit less confusing.
3528    Not everything is completely clean yet, because I did
3529    not want to change the web2c-specific C files. I often
3530    took the other approach and removed the underscores
3531    from the web2c options (like 'parsefirstlinep') in the
3532    change file instead. Ugly, but predictable.
3534    There is about a dozen or so of #defines left, that map
3535         memoryword -> memory_word
3536          strpool    -> str_pool
3537    etc.
3539 * The virtual font parsing and interpreting is now done in C.
3540    (this is because it needs to be interfaced with the lua-based
3541    font loader)
3543 * I am in the process of merging: the VF stuff; the TFM stuff;
3544    the lua font loading; and the pdftex font backend into one
3545    interface, so there were some smallish changes relating to
3546    that as well. Nothing worth mentioning just yet except that
3547    luatex now will read "ovf" files as well as "vf" files.
3549 * There are a few really small bugfixes for bug reports I received
3550   on this list and by email.
3552 ==============================================================
3553 Luatex snapshot-20070119 was released 20070119
3554 ==============================================================
3556 The largest new bit is the existence of a font.fonts array, that you
3557 can use to query/adjust the internal defined tex fonts. See the manual
3558 for more details.
3560 Two small new lua extensions are added as well:
3562    * os.setenv() -- to change the environment
3563    * os.exec()   -- a non-returning os.execute()
3565 And a bit of cleanup in the commandline processing.
3568 ==============================================================
3569 Luatex snapshot-20070117 was released 20070117
3570 ==============================================================
3572 * the pdftex core is updated to 1.40.1, and web2c to 7.5.6
3574 * the pdftex-specific documentation is removed
3576 * lua lpeg library updated to 0.4
3577    ( http://www.inf.puc-rio.br/~roberto/lpeg.html )
3579 * the C part of the lua md5 library is added to the binary
3580    ( http://www.inf.puc-rio.br/~roberto/md5/md5-5/md5.html )
3582 * --luaonly now puts the script itself at arg[0], and
3583    preceding commandline items in the negative indices
3584    (instead of starting the count at zero).
3585    This new approach is compatible with the standalone lua
3586    interpreter.
3589 ==============================================================
3590 Luatex snapshot-20070107 was released 20070107
3591 ==============================================================
3593 Hot on the heels of 20070105, a new snapshot. It turns out
3594 that using the callback to define a font broke all ligatures.
3595 This snapshot fixes that, and it has a few minor updates to
3596 the manual. Next shapshot will be after the inclusion of
3597 pdftex 1.40.1.
3599 ==============================================================
3600 Luatex snapshot-20070105 was released 20070105
3601 ==============================================================
3603  * the calculations that converted lua strings into tex units
3604    were horrendously wrong, this was discovered by Pawel.
3606  * io.lines() was still using the old, line ending sensitive,
3607    code from the lua core distribution
3609  * The main font memory is allocated as needed^(1) instead of
3610    statically pre-allocated.
3612  * ligatures and kerns are separated completely from each other,
3613    so use of \noligatures no longer inhibits kerning as well
3615  * Metrics can be loaded using a callback: 'define_font'.
3616    The value returned should be a lua table representing a tfm
3617    file.
3619  * there is a new lua table: font. It has one function:
3620    font.read_tfm() that returns a table reprentation of the tfm
3621    contents, for use with the above mentioned callback
3623  * I dropped suppport for "Level 1" OFM files. I would like
3624    to have a try at those extended font files, but I lack
3625    examples (fonts nor documents). I am not even sure such
3626    fonts have ever existed in the 'real world'.
3630 ==============================================================
3631 Luatex snapshot-20061208 was released 20061208
3632 ==============================================================
3634 * There is a new switch: --safer. This disables a number of lua
3635    functions that are more or less dangerous (a detailed list is
3636    in the manual)
3638 * Two longstanding bugs have been fixed: \latelua works once
3639    again (patch by Hartmut) and a bug that caused mysterious crashes
3640    turned out to be a problem inside the paragraph builder
3641    (reconstitution of ligatures)
3643 * Six new string iterators have been added to the string library:
3644       string.characters        (one 1-letter string)
3645       string.bytes             (one byte)
3646       string.characterpairs    (two 1-letter strings)
3647       string.bytepairs         (two bytes)
3648       string.utfcharacters     (a one-character utf-8 string)
3649       string.utfvalues         (a unicode code point number)
3651 * The top 256 values of the unicode range (starting at hex
3652    value "10FF00) are now reserved for byte output. Characters
3653    in that range will be written by luatex after substracting
3654    that offset. The net result is that \char"10FFA9 is written
3655    as byte value hex A9 = decimal 169 = copyright sign in latin1
3657    This trick allows byte-oriented output to \pdfliterals and
3658    \specials, but should be considered very experimental.
3660 * There is a new callback called 'process_input_buffer' that can
3661     be used to mutate the line buffer just before LuaTeX actually
3662     starts looking at it.
3664 * The statistics table now has readable items
3665         statistics.inputid
3666         statistics.lasterrorstring
3667     that represent TeX's current input id and the last error string
3669 * The show_error_hook callback no longer receives any arguments
3670 * There is a new switch: --safer. This disables a number of lua
3671    functions that are more or less dangerous (a detailed list is
3672    in the manual)
3674 * Two longstanding bugs have been fixed: \latelua works once
3675    again (patch by Hartmut) and a bug that caused mysterious crashes
3676    turned out to be a problem inside the paragraph builder
3677    (reconstitution of ligatures)
3679 * Six new string iterators have been added to the string library:
3680       string.characters        (one 1-letter string)
3681       string.bytes             (one byte)
3682       string.characterpairs    (two 1-letter strings)
3683       string.bytepairs         (two bytes)
3684       string.utfcharacters     (a one-character utf-8 string)
3685       string.utfvalues         (a unicode code point number)
3687 * The top 256 values of the unicode range (starting at hex
3688    value "10FF00) are now reserved for byte output. Characters
3689    in that range will be written by luatex after substracting
3690    that offset. The net result is that \char"10FFA9 is written
3691    as byte value hex A9 = decimal 169 = copyright sign in latin1
3693    This trick allows byte-oriented output to \pdfliterals and
3694    \specials, but should be considered very experimental.
3696 * There is a new callback called 'process_input_buffer' that can
3697     be used to mutate the line buffer just before LuaTeX actually
3698     starts looking at it.
3700 * The statistics table now has readable items
3701         statistics.inputid
3702         statistics.lasterrorstring
3703     that represent TeX's current input id and the last error string
3705 * The show_error_hook callback no longer receives any arguments
3707 * The statistics table now has readable items
3708         statistics.luabytecodes
3709         statistics.luastates
3710         statistics.luabytecode_bytes
3711         statistics.luastate_bytes
3712    for memory statistics reporting
3715 * The statistics table now has readable items
3716         statistics.luabytecodes
3717         statistics.luastates
3718         statistics.luabytecode_bytes
3719         statistics.luastate_bytes
3720    for memory statistics reporting
3723 ==============================================================
3724 Luatex snapshot-20061204 was released 20061204
3725 ==============================================================
3727 * The LuaTeX interpreter can now be run as a standalone lua script
3728   processor, by using a commandline like this:
3730     luatex --luaonly=luatools.lua
3732 * Luafilesystem (http://www.keplerproject.org/luafilesystem/ ) is
3733   included.
3735 * There are a total of eight new file discovery callbacks:
3736     find_vf_file
3737     find_ocp_file
3738     find_map_file
3739     find_enc_file
3740     find_sfd_file
3741     find_pk_file
3742     find_data_file
3743     find_opentype_file
3744   this enhances the orthogonality of the callback system, nothing
3745   fundamental is changed.
3747 * There is a new callback called 'process_input_buffer' that can
3748   be used to mutate the line buffer just before LuaTeX actually
3749   starts looking at it.
3751 * The 'reader' and 'close' functions from 'open_read_file' now
3752   receive the table they are defined in as a function argument,
3753   that can be used as a per file localized data store.
3755 * Updated the Lua to the latest 5.1.1, with all known bug patches
3756   from the website applied as well
3758 * Runtime autoloading of lua .so files is now off on all platforms.
3760 * The statistics table now has readable items
3761     statistics.filename
3762     statistics.linenumber
3763   that represent TeX's current file name and line number
3765 * The support for user-defined type3 font .pgc files and the
3766   associated 'read_miscfonts_file' callback has been removed.
3767   (nobody used it anyway)
3769 * General cleanups to the source tree and build process.
3771 ==============================================================
3772 Luatex snapshot-20061023 was released 20061023
3773 ==============================================================
3775 * there was a missing callback: find_font_file
3776 * program_invocation_name was not set
3777 * buf_size could not be more that 300k
3780 ==============================================================
3781 Luatex snapshot-20061013 was released 20061013
3782 ==============================================================
3784 Last friday I uploaded a new snapshot and today I finally
3785 finished updating the manual to go with it. The changes all
3786 relate to startup, file i/o, and callbacks. The main achievement
3787 is: you can now run luatex without it *ever* initializing kpathsea.
3789 Because I am lazy, I have checked in the pdf of the manual
3790 as well, so that I can say: Please look at
3792   https://foundry.supelec.fr/plugins/scmsvn/viewcvs.php/manual/
3793     /luatexref-t.pdf?root=luatex&rev=148&view=log
3795 for all the details.  :-)
3797 ==============================================================
3798 Luatex snapshot-20061002 was released 20061002
3799 ==============================================================
3802 * Some infrastructure changes:
3804   libs/slnunicode-0.9.1/ renamed to libs/slnunicode/
3805   libs/zziplib added
3806   libs/luazip added
3808   (zziplib is using a different version of autofoo. I know I have
3809   messed up something in the build process, but the bit we need
3810   compiles ok so I've postponed attempting to fix it)
3812 * The callback logic has changed quite a bit.
3814   - all callbacks are now only possible in lua state 0.
3816   - The callback 'input_line' has disappeared, and is replaced by
3817     'open_read_file'. One of the return values of that callback
3818     is a table that defines a 'reader' function for line reading.
3820     See the manual for further information on this.
3822   - There are some new callbacks for the reading of various binary
3823     files. The current ones are:
3825     "read_ocp_file", "read_vf_file", "read_data_file", "read_font_file",
3826     "read_map_file".
3828     The rest of the file types will follow soon (fonts, enc files, and
3829     images).
3831   - There are also some new callbacks that 'find' a file's pathname:
3833     "find_truetype_file", "find_type1_file", "find_image_file"
3835     here too, more will follow later.
3837   - the functions from io. that were copied to texio have been removed
3838     again. The new callbacks do not pass file pointers around, so
3839     they ere not longer needed
3841   - the 'open_write_file' is temporarily unavailable
3843 * startup.lua is now always loaded into lua state 0
3845 * The luazip library from kepler is linked in, so there the table 'zip'
3846   is accessible from all lua states.
3848 ==============================================================
3849 Luatex snapshot-20060922 was released 20060922
3850 ==============================================================
3852 * The texio table has gained a new function:
3854      tex_file = texio.open(filename)
3856    returns a file handle of a type that luatex can use
3857    internally (the return of io.open is unusable in callbacks
3858    because it will be garbage-collected at a random time)
3861 * In related news, there are two new callbacks you can define:
3863         callback.register('open_read_file', f)
3864         callback.register('open_write_file', f)
3866    where your function should have the following conventions:
3868    function f (number id_number, string asked_name)
3869       return boolean success, string actual_name, tex_file filep
3870    end
3872    id_number:   zero for the log or \input files  or TeX's \read
3873                 number incremented by one (\read0 becomes 1).
3874    asked_name:  the user-supplied filename
3876    success:     return false for error, true otherwise.
3878    The remaining two items are only looked at if you return true:
3880    actual_name:  the true filename used (with extension!)
3881    filep:        a file object opened though texio.open()
3884 * The tex.print function has an extra optional parameter:
3886        tex.print(ctt_id n, strings ...)
3888    This prints the strings using the catcode regime defined by
3889    \catcodetable n (assuming n is valid, see below)
3891 * The new function tex.sprint has the same lua conventions as
3892    tex.print, but behaces slightly different on the tex side:
3894    ** tex does not switch to the 'new_line' state (this implies
3895       that leading spaces are not ignored)
3896    ** no \endlinechars are inserted
3897    ** trailing spaces are not removed from the argument
3899 * Catcode tables are a completely new feature, that allows
3900    you to switch the current catcode regime in one simple
3901    statement:
3903    \catcodetable <count>
3905       Switches to the use of a different set of catcodes (table),
3906       that is stored under the number <count>. Such a table has to
3907       be previously created using one of the two command below, or
3908       the number 0 (which is pre-inititialized)
3910       This command obeys normal grouping rules.
3912    \initcatcodetable <count>
3914       creates a new, global, independent catcode table with catcodes
3915       matching the code that are predefined by initex (tex -ini).
3917      This allocation is global
3919    \savecatcodetable <count>
3921       copies the current set of catcodes to a new, global, table
3922       with id number <count>. The definitions in this new table
3923       are all treated as if they were made in the outermost level.
3925      This allocation is global
3927    At the end of each grouping level, items within all existing
3928    catcodetables are restored, regardless of which one is the
3929    currently active table.
3931    Catcode table numbers cannot be larger than 0xFFFFFFF (228-1)
3933 * There is a new lua table: lua. It contains three read-only
3934    items:
3936      lua.id          -- the id number of the instance
3937      lua.version     -- a luatex version identifier string
3938      lua.startupfile -- the full filename (+path) of startup.lua
3940    and it also contains a read/write array:
3942      lua.bytecode[]  -- lua executable bytecode
3944    This array can be used to save and restore lua functions
3945    across lua states. The accepted values are for assignments
3946    are functions and nil. Likewise, the retrieved value is
3947    either a function or nil.
3949    The contents of the lua.bytecode array is stored inside the
3950    format file, so it can also be used to preload lua code.
3953 * The format files are quire a bit smaller than before
3956 ==============================================================
3957 Luatex snapshot-20060915 was released 20060915
3958 ==============================================================
3960 * There is a new TEX primitive: \formatname. It is similar
3961   to \jobname (read-only). In initex, the expansion is empty,
3962   otherwise the expansion is the same as the \jobname from
3963   the initex run.
3965 * the lua "tex" table has been expanded with a few of the 'convert'
3966   codes (read-only). The supported ones at this moment are:
3968   tex.eTeXVersion
3969   tex.OmegaVersion
3970   tex.AlephVersion
3971   tex.pdftexrevision
3972   tex.pdftexbanner
3973   tex.pdfnormaldeviate
3974   tex.jobname
3975   tex.formatname
3976   tex.eTeXrevision
3977   tex.Omegarevision
3978   tex.Alephrevision
3980   This list looks haphazard,  but it really is not. These are
3981   all the cases of the 'convert' internal command that do not
3982   require an argument.
3984 * The metatables of the subtables like tex.dimen[] etc. are now
3985   adjustable from lua (not that I recommend doing that;-)).
3987 * On the lua side, there is a new global value: "luaid"
3988   It holds the internal id number of this \directlua instance.
3990 * There is a new lua table, "callback", that has the single function
3991   "callback.register", used to register callbacks.   This replaces
3992   the previous concoction (see my message about snapshot 20060901).
3993   Syntax is :
3995   callback.register(<callback name>,function (f) ... end)
3997   where the <callback name> is for the moment, either "input_line"
3998   or "show_error_hook".
4000   This function internalizes the callback function in such a way
4001   that you no longer have to worry about \luacallback (which has
4002   been removed), nor does it matter if you redefine a function
4003   accidentally.
4005  The internal testing for callback presence is also quite a bit
4006  faster, thanks to this change. Callback assignments are global
4007  and the "input_line" always takes effect starting on the next
4008  input line to be read from an actual file.
4011 * \detokenizedlua has been removed. It is functionally replaced by
4012   the new function call tex.write("").
4014   Each argument to each call of tex.write () counts as an input
4015   line, but:
4016   ** all catcodes on that line are either 'space' (for " ") or
4017      'character' for all others.
4018   ** there is no \newlinechar appended.
4020 * The implementation of tex.print() has changed as well:
4022   ** the very last tex.print() line from a \directlua
4023      will no longer have a trailing \newlinechar
4024      (this is very convenient when \directlua is used
4025      within an \edef)
4026   ** tex.print() is quite a lot faster than before, and the total amount
4027      of returnable text from a \directlua is now only limited by
4028      available system RAM. However, each separate tex.print ()
4029      argument has to fit in TeX's input buffer.
4031 * The new primitive \luastartup can be set inside the format file
4032   to specify the lua instance number in which a possible runtime
4033   startup.lua script is executed (initex always uses 0)
4035 * There is a new primitive \scantextokens. Differences with
4036   eTeX's \scantokens are:
4038   ** the last line (usually only) from \scantextokens
4039      does not have a \newlinechar
4041   ** \scantextokens never raises an eof error.
4043   This means things like
4045   \edef\testone
4046         {\scantextokens{\ifnum1=1 true}\else false\fi}
4048   are legal input (but potentially dangerous!).
4050 * If you say
4051      local d  = tex.dimen["unknowndimen"]
4052   'd' will now become "nil" instead of raising an error
4054    However,
4055      tex.dimen["unknowndimen"] = d
4056    is still (and probably will remain) illegal
4058 ==============================================================
4059 Luatex snapshot-20060908 was released 20060908
4060 ==============================================================
4062 * BIG CHANGE: \directlua now runs \scantokens internally.
4064   There is no longer a need to call scantokens yourself, the
4065   tex.print() output is now fed straight into a pseudo file.
4066   This is quite a bit faster as well as easier to use, but
4067   just in case you want it, the old behaviour is still present,
4068   under the new name
4070     \detokenizedlua
4073 * The texio library now has its own (partial) set of I/O commands,
4074   so that the standard lua io library is back to the distributed
4075   state (no more patched garbage collector)
4077   Note: This is really a very small change (it should not have any
4078   impact on wellbehaved input files), but I attempt to be complete
4079   in these notes, since there is no official documentation yet.
4082 * There is a new standard library available: kpse
4084   The most important function in that library is find_file:
4086     string = kpse.find_file(string filename
4087                             [,string type]
4088                             [,boolean mustexist])
4090   both "type" and "mustexist" are optional, so the function
4091   has from one upto three arguments.
4093   "type" is like the '-format' argument of kpsewhich. You can
4094      run 'kpsewich -h'  for a list. The default type is "tex".
4096   "mustexist" is like '-must-exist', and the default  is false.
4097      If you specify "true" (or a nonzero integer), then the kpse
4098      library will search the disk as well as the ls-R databases
4100   The new library also has three other functions that map
4101   straight to kpsewhich commandline options:
4103     string = kpse.expand_path(string)
4104     string = kpse.expand_var(string)
4105     string = kpse.expand_braces(string)
4107 * There is a second callback possibility:
4109     texio.show_error_hook(string message,
4110                           string|number indicator,
4111                           number lineno)
4113   This command is run from inside the TeX error function, and the
4114   idea is to allow you to do some extra reporting on top of what
4115   TeX already does (none of the normal actions are removed).
4117   "message" is the formal error message tex has given to the
4118      user (the line after the "! ")
4119   "indicator" is either a filename (when it is a string) or a
4120      location indicator (a number) that can means lots of different
4121      things like a token list id or a \read number.
4122   "lineno"  is the current line number
4124   This is an investigative item only, comments are welcome but do
4125   not take the syntax seriously.
4127   The final goal IMO is the total replacement of TeX's error
4128   handling routines, but that needs lots of adjustments
4129   in the web source because TeX deals with errors in a somewhat
4130   haphazard fashion (it needs unification first). The current
4131   hook is only for 'testing the water'.
4133 * It is now possible to use named items in the
4135     tex.count[]
4136     tex.dimen[]
4137     tex.toks[]
4139   subtables, so you can have
4141     tex.count.scratchcounter = 0
4142         local enormous = tex.dimen["maxdimen"]
4144   Luatex looks up the value for you on the fly. You have to use a
4145   valid \countdef (or \dimendef, or \toksdef), anything else will
4146   generate an error.
4148   In a normal TeX file, you don't do \dimen\maxdimen, but the
4149   lua syntax seems to be a bit cleaner to me. The intention is
4150   to evntually also allow \chardefs and macros that expand
4151   into a number (todo)
4154 * The tex table has also been extended with a large list of internal
4155   parameters (partially read/write). It is possible to access
4156   about every primitive that you can use after \the *and* is a
4157   single token. So there is
4159        integer   = tex.tracingcommands (\the\tracingcommands)
4160        integer   = tex.prevgraf        (\the\prevgraf)
4161        string    = tex.output          (\the\output)
4163   etc. for all of the internal parameters, but not the items
4164   that need extra arguments (like \the\scriptfont )
4166   The subset comprising simple integer and dimension registers
4167   are writable as well as readable (stuff like \tracingcommands
4168   and \parindent).
4170   The fact that both lists are still quite limited is a result of
4171   the very different types of things that can occur after \the and
4172   also on the LHS of an assignment. The remaining primitives will
4173   be filled in when there is a real need or implementation becomes
4174   simple, whichever comes first.
4178 ==============================================================
4179 Luatex snapshot-20060901 was released 20060901
4180 ==============================================================
4182 All changes are related to lua this time, and most are quite unstable
4183 / experimental. But first the things that are stabel/fixed bugs:
4185 * A VF loading bug that turned up in some of Hans' fonts
4186   has been fixed
4188 * A small series of bounds checking fixes to \ocplist has been
4189   added to prevent the system from crashing due to array indexes
4190   running out of bounds.
4192 * The Lua file searching paths are now fixed. The search path for lua
4193   script files now contains the following items (tried in order)
4194   1. the local directory:
4195        ./?.lua
4196     (for document-specific files)
4197   2. the items from the expansion of kpathsea's $TEXMFSCRIPTS variable,
4198     but only the parts containing 'lua' as a subpath:
4199        $TEXMFSCRIPTS<lua>/?.lua
4200        $TEXMFSCRIPTS<lua>/?/init.lua
4201      (for format-specific files)
4202   3. the $SELFAUTOPARENT sibling directory named 'lib'.
4203        $SELFAUTOPARENT/lib/lua/5.1/?.lua
4204        $SELFAUTOPARENT/lib/lua/5.1/?/init.lua
4205      (for files that are not related to tex)
4207   The search path for dynamic libraries has only
4208   1. the local directory:
4209        ./?.so
4210     (for document-specific files)
4211   2. and the $SELFAUTOPARENT sibling directory named 'lib'.
4212        $SELFAUTOPARENT/lib/lua/5.1/?.so
4214   (of course the extension is .dll on windows, but .dlls do not
4215    work at the moment so it will not do you much good)
4217 * There are two functions available within a new table called
4218   texio:
4219     texio.write (luastring)
4220     texio.write_nl (luastring)
4221   both write the luastring to the same location(s) TeX writes
4222   its stuff. So if \batchmode is on, it writes only to the
4223   log, inside a \write, it prints to the current write file,
4224   etc.
4226   A read|write interface to TeX's "file selector" will
4227   follow shortly.
4229 * At startup, luatex searches for a script named
4230     startup.lua
4231   in the path list I explained above. If such a file exists, it is
4232   loaded.
4234   This happens right before the first input file needs to be opened
4235   (that is after format loading, but before any \everyjob tokens).
4237   From within the script, you can check the value of
4239     tex.formatname
4241   that is the 'format identification' as used by TEX. When the variable
4242   is equal to nil, luatex in in 'initex' mode, otherwise it will be
4243   something like: " (format=plain 2006.9.1)"
4246 Now for the experimental portion: callbacks. Here is what I have done
4247 so far:
4249 * The main reason for wanting startup.lua is file (input) re-encoding.
4250   For this purpose, it is now possible to set up a callback for
4251   luatex to execute.
4253   If you attach a Lua function to
4255     texio.input_line
4257   then from the next input line onwards, luatex will run that
4258   function whenever it needs a new input line from a text file.
4260   Your function will receive a file handle as argument, and
4261   should return either a string or nil (with nil signalling that
4262   the end of file has occurred).
4264   The trivial case is simply this:
4266     function reader (f)
4267         return f:read()
4268     end
4269     texio.input_line = reader
4272   Warning: The implementation is not totally finished yet. For the
4273   moment the file handle ("f" in the example) is a normal lua file,
4274   with a simple but important restriction: you cannot alter its value.
4275   You cannot f:close() it, or assign it a different value. luatex
4276   will eventually close the file itself.
4278   The restriction is a side-effect of a synchronisation problem with
4279   the lua garbage collector. Because of this, it also was necessary
4280   to turn off the automatic file closing code for normal lua io
4281   files (In other words: you have to close yourself all the files
4282   you opened yourself, and you should not close any files you did
4283   not open yourself).
4285   In the near future, "f" will become a special 'texio' file object
4286   and the needed functionality from the normal io library will be
4287   reimplemented. Along with that change, there will also be a callback
4288   to open (i.e. find) files, and a simple interface to the compiled-in
4289   kpathsea to use within that callback.
4292 ==============================================================
4293 Luatex snapshot-20060825 was released 20060825
4294 ==============================================================
4296 The main change in this snapshot is that it uses far less memory.
4297 luatex -ini on my linux machine went from 326Mb (last week) to
4298 93Mb (now), and "texexec luatex" now ends at 184Mb instead of
4299 over 1/2Gb.
4301 This is achieved by two big changes:
4303 * The \mathcode, \delcode, \catcode, \sfcode, \lccode and \uccode
4304    tables are now sparse arrays that are implemented in C. They
4305    are no longer part of the TeX "equivalence table" and because
4306    each had 1.1 million entries with a few memory words each, this
4307    makes a major difference.
4309    See mathcodes.c and textcodes.c if you are interested in the
4310    gory details, but be warned: the code is still extremely
4311    rough and ugly. In particular, the dump and undump routines
4312    are far from optimal, resulting in somewhat larger format files
4313    than before (approx 1.3Mb larger with unicode-letters loaded,
4314    10k without); and the assignments do not show up when using
4315    the etex tracing routines \tracingassigns and \tracingrestores
4316    (code simply not written yet)
4318 * Single-character commands are no longer "special" internally,
4319    they are stored in the hash just like the multiletter csnames.
4322 ==============================================================
4323 Luatex snapshot-20060818 was released 20060818
4324 ==============================================================
4326 The snapshot is up to par with Aleph-RC4 (from texlive devel)
4327 and the latest pdftex beta (even newer than 20060811). However,
4328 there are some differences, to summarize:
4330 * There is no pool file (all strings are embedded)
4332 * -8bit and -translate-file are silently ignored
4334 * There is no mltex nor enctex (conflicts with aleph)
4336 * The tex functionality is always present and enabled
4337   (but see below about TeXXeT), so the asterisk or
4338   -etex switch for initex is not needed
4340 * "plus 1 filllllllll" does not generate any errors from TeX
4342 * TeXXeT (from eTeX) is not present, so the primives
4343     \TeXXeTstate
4344     \beginR
4345     \beginL
4346     \endR
4347     \endL
4348   are missing
4350 * The experimental pdftex regex match operations are removed,
4351   because that feature does not make much sense when lua is
4352   available so the primitives
4353         \pdfmatch
4354     \pdflastmatch
4355   are missing
4357 * The input translations from Aleph are not implemented, the
4358   16 related primitives are all missing
4359      \DefaultInputMode
4360      \noDefaultInputMode
4361      \noInputMode
4362      \InputMode
4363      \DefaultOutputMode
4364      \noDefaultOutputMode
4365      \noOutputMode
4366      \OutputMode
4367      \DefaultInputTranslation
4368      \noDefaultInputTranslation
4369      \noInputTranslation
4370      \InputTranslation
4371      \DefaultOutputTranslation
4372      \noDefaultOutputTranslation
4373      \noOutputTranslation
4374      \OutputTranslation
4375   All file IO assumes UTF-8, except that all the low-ascii
4376   controls except TAB, CR en LF are written to the terminal
4377   using ^^  notation (even these are binary in the log file).
4379 * Input characters can use the full range of Unicode,
4380   but it probably only makes sense to use values above
4381   the base plane for \mathcode and \catcode assignments,
4382   since the fonts as well as the hyphenation patterns
4383   are strictly 16-bit still.
4385 * The primitives
4386      \pdfpagewidth and \pagewidth,
4387      \pdfpageheight and \pageheight,
4388      \fontcharwd and \charwd,
4389      \fontcharht and \charht,
4390      \fontchardp and \chardp,
4391      \fontcharic and \charic,
4392   are all aliases of eachother.
4394 * The new primitive
4395      \clearmarks<number>
4396   clears a marks class completely.
4398 * The experimental pdftex primitives
4399      \pdfprimitive
4400      \ifpdfprimitive
4401      \ifpdfabsnum
4402      \ifpdfabsdim
4403   and provided without the extra 'pdf' prefix, so they are
4404   simply called
4405      \primitive
4406      \ifprimitive
4407      \ifabsnum
4408      \ifabsdim
4409   instead.
4411 * I probably forgot to mention some things :-)