Hi, I have just uploaded luatex 0.36.0. This is a beta in the process towards 0.40.0, the version that will be included in texlive 2009. This beta will be shortlived, the plan is to release the next one in about a week. The main reason for a release now is to prepare for a bunch of important user-visible changes: * The lua code for tex.enableprimitives() etc. is now there, but for this beta all the new primitives are still provided to the user. In next week's beta, these will be gone indeed, and only \directlua will remain present by default. See the mailing list archive: http://tug.org/pipermail/luatex/2009-March/000360.html for more information, the final syntax is explained in the manual. * Multiple lua states have been removed and the old syntax now produces a (rather annoying) informational message. * The fontforge table is renamed to fontloader. The old name is still there for the moment, but also produces a warning message. A more detailed 'what's new': * The included fontforge code is stripped considerably, and the lua table to access the code is renamed to 'fontloader'. The old name ('fontforge') will remain present for a while, but will eventually go away. * New lua functions: tex.primitives(), tex.extraprimitives, tex.enableprimitives(). This is a prelude to a big change in the next beta: iniluatex will from now on start up with only the TeX82 primitives and \directlua, everything else has to be bootstrapped via tex.enableprimitives(). See the manual for more details. * Support for multiple lua states has been removed, and at the same time support for adding name ids to lua chunks has been added, and \closelua has been removed. See the manual for more details. * More changes to the PDF backend to make it support non-latin directions (form and image placement, vertical typesetting, synctex). * The kpathsea library is updated. Highlights: cleaner build process (thanks to Peter Breitenlohner), cleaner mingw32 (cross)compilation support, and a new reentrant API. * Some possible endless loops within extended delimiters in math mode are now trapped. * Movements inside VF font characters were considerably off due to a wrong conversion routine. * Error handling for \outer has been reinstated, but can be suppressed via the new primitive \suppressoutererror. * The new primitives: \suppresslongerror and \suppressifcsnameerror that can be used to suppress errors for \par in non-long macros and for non-expandable objects inside \ifcsname ... \endcsname, respectively. * New lua function: node.vpack() via a patch from Khaled Hosny that also improves error handling in node.hpack(). * Fix the typo that caused \charic (instead of \charit) to be defined as a primitive. * Suppression of hyphenation via \hyphenchar\font=-1 now works again. * The lua functions tex.print(), tex.sprint(), tex.write() now accept an array of strings as well as vararg list of strings to print. * A change to be build process: luatex.p is no longer split int smaller pieces before running the C compiler. * Melissa O'Neill contributed a bugfix to the Type1 font subsetting code. * A bunch of smaller bugfixes and cleanups (as usual). The archives (now including source again) can be downloaded from supelec as usual: http://foundry.supelec.fr/projects/luatex/ You could also check out the sources via anonymous svn: svn co svn://scm.foundry.supelec.fr/svn/luatex/tags/beta-0.36.0 Bugs and feature requests can be added to the issue tracker at http://tracker.luatex.org Have fun, Taco
Hi, Somehow I can't seem to do these announcements without an error :( Taco Hoekwater wrote:
* New lua function: node.vpack() via a patch from Khaled Hosny that also improves error handling in node.hpack().
Wrong attribution. The patch was by Yue Wang, sorry. Best wishes, Taco
Hi, Taco:
On Mon, Mar 23, 2009 at 6:04 PM, Taco Hoekwater
Hi,
Somehow I can't seem to do these announcements without an error :(
Taco Hoekwater wrote:
* New lua function: node.vpack() via a patch from Khaled Hosny that also improves error handling in node.hpack().
Wrong attribution. The patch was by Yue Wang, sorry.
Never mind:) btw, vpack() and hpack() still admit numeric third argument (exactly and additional are just macros in WEB source). So maybe it will be better to change else if (lua_type(L, 3) == LUA_TNUMBER) { m = lua_tonumber(L, 3); } else { lua_pushstring(L, "incorrect 3rd argument"); } to else { lua_pushstring(L, "incorrect third argument"); lua_error(L); } So the conditional tests will be more strict. Anyway, since the API will be changed in the future (as Hans said in that mail), It is fine if we don't touch that at this moment.
Best wishes, Taco
Yue Wang
On Mon, Mar 23, 2009 at 10:53, Taco Hoekwater wrote:
Hi,
I have just uploaded luatex 0.36.0.
Hello Taco, I have some problems with compilation. Did other Mac users manage to compile LuaTeX without problems? gcc -g -O2 -I/sw/include -I/System/Library/Frameworks/Python.framework/Versions/2.3/include/python2.3 -I../inc -I../../../../../src/libs/luafontforge/fontforge/inc -I../../../../../src/libs/luafontforge/fontforge/fontforge -I. -Wmissing-prototypes -Wunused -Wimplicit -Wreturn-type -Wparentheses -Wformat -Wchar-subscripts -DHAVE_CONFIG_H -DSHAREDIR=\"/usr/local/share/fontforge\" -DLIBDIR=\"/usr/local/lib\" -I/sw/include -I/System/Library/Frameworks/Python.framework/Versions/2.3/include/python2.3 -DPREFIX=\"/usr/local\" -c ../../../../../src/libs/luafontforge/fontforge/fontforge/cvexport.c -o cvexport.o ../../../../../src/libs/luafontforge/fontforge/fontforge/cvexport.c: In function ‘_ExportPlate’: ../../../../../src/libs/luafontforge/fontforge/fontforge/cvexport.c:297: error: ‘spiro_cp’ undeclared (first use in this function) ../../../../../src/libs/luafontforge/fontforge/fontforge/cvexport.c:297: error: (Each undeclared identifier is reported only once ../../../../../src/libs/luafontforge/fontforge/fontforge/cvexport.c:297: error: for each function it appears in.) ../../../../../src/libs/luafontforge/fontforge/fontforge/cvexport.c:297: error: ‘spiros’ undeclared (first use in this function) ../../../../../src/libs/luafontforge/fontforge/fontforge/cvexport.c:313: error: ‘struct splinepointlist’ has no member named ‘spiros’ ../../../../../src/libs/luafontforge/fontforge/fontforge/cvexport.c:314: error: ‘struct splinepointlist’ has no member named ‘spiro_cnt’ ../../../../../src/libs/luafontforge/fontforge/fontforge/cvexport.c:315: warning: implicit declaration of function ‘SplineSet2SpiroCP’ ../../../../../src/libs/luafontforge/fontforge/fontforge/cvexport.c:317: error: ‘SPIRO_OPEN_CONTOUR’ undeclared (first use in this function) ../../../../../src/libs/luafontforge/fontforge/fontforge/cvexport.c:326: error: ‘struct splinepointlist’ has no member named ‘spiros’ make[2]: *** [cvexport.lo] Error 1 make[1]: *** [fontforge] Error 2 make: *** [../../libs/luafontforge/libff.a] Error 2 cp: statusa »build/texk/web2c/luatex« ni moč ugotoviti s stat: No such file or directory Mojca
On Mon, Mar 23, 2009 at 21:32, Arthur Reutenauer wrote:
I have some problems with compilation. Did other Mac users manage to compile LuaTeX without problems?
I had no problem on my end, using build.sh to compile the native binary on Intel Mac OS 10.5.4
In that case I would be grateful for submitting them if you have a chance to do so. The issue needs to be solved anyway, but at least the binaries will be there. Thanks, Mojca
Am 23.03.2009 um 21:32 schrieb Arthur Reutenauer:
I have some problems with compilation. Did other Mac users manage to compile LuaTeX without problems?
I had no problem on my end, using build.sh to compile the native binary on Intel Mac OS 10.5.4
Works here too on 10.5.6. Wolfgang
Mojca Miklavec wrote:
On Mon, Mar 23, 2009 at 10:53, Taco Hoekwater wrote:
Hi,
I have just uploaded luatex 0.36.0.
Hello Taco,
I have some problems with compilation. Did other Mac users manage to compile LuaTeX without problems?
-DPREFIX=\"/usr/local\" -c ../../../../../src/libs/luafontforge/fontforge/fontforge/cvexport.c -o cvexport.o
Your checkout is broken, cvexport.c no longer exists in the repository at all. Best wishes, Taco
participants (6)
-
Arthur Reutenauer
-
luigi scarso
-
Mojca Miklavec
-
Taco Hoekwater
-
Wolfgang Schuster
-
Yue Wang