On Wed, Oct 15, 2008 at 09:32:23AM +0200, Taco Hoekwater wrote:
Khaled Hosny wrote:
There seem to be some thing broken in latest betas that I can't use mag-01 module (My Way) with luatex. Try the attached example.
That is a lua string problem.
The error is:
[1.1] ! Missing number, treated as zero. <to be read again> ^^H \somefontsize ->^^H ottomheight
and ^^H happens to match the \b lua string escape.
And the patch to fix it is:
--- font-ini.mkiv.orig 2008-10-12 22:35:36.000000000 +0200 +++ font-ini.mkiv 2008-10-15 09:29:46.324889915 +0200 @@ -1171,7 +1171,7 @@ \newtoks\everydefinefont
\def\lowleveldefinefont#1#2% #2 = cs - {\ctxlua{fonts.define.command_1("#1")}% + {\ctxlua{fonts.define.command_1("\luaescapestring{#1}")}% % sets \scaledfontmode and \somefontname and \somefontsize \ifcase\scaledfontmode\relax % none
This fixes it, thanks very match! Regards, Khaled -- Khaled Hosny Arabic localizer and member of Arabeyes.org team