Broken nightly (2013.09.18)
Hey list, 2013.09.18 appears to be broken. When typesetting my book, I receive the following fatal error... ! LuaTeX error /usr/share/texmf/tex/context/base/font-syn.lua:596: bad argument #2 to 'f_a' (number expected, got string) stack traceback: [C]: in function 'f_a' /usr/share/texmf/tex/context/base/font-syn.lua:596: in function 'collectstatistics' /usr/share/texmf/tex/context/base/font-syn.lua:1071: in function 'identify' /usr/share/texmf/tex/context/base/font-syn.lua:1089: in function 'load' /usr/share/texmf/tex/context/base/font-syn.lua:1100: in function 'load' /usr/share/texmf/tex/context/base/font-syn.lua:1259: in function 'resolvedspecification' /usr/share/texmf/tex/context/base/font-syn.lua:1269: in function 'resolve' /usr/share/texmf/tex/context/base/font-syn.lua:1678: in function 'exists' ...re/texmf/tex/context/third/simplefonts/t-simplefonts.lua:182: in function 'selectfont' [string "\directlua "]:1: in main chunk. \syst_helpers_comma_list_step ...ter \c!weight ")} \9>>1 #1,e-\syst_helpers_comma_list_step {#1} \syst_helpers_do_process_comma_... <argument> \relax regular, italic,slanted,bold,bolditalic,boldslanted,caps, italiccaps,slan \syst_helpers_do_process_comma_list ...argument #1 ,]\relax \global \advance ... \simplefonts@definetextfont ...rocesscommacommand \ifx \currenttypeface \v!s... \syst_helpers_quadruple_empty_four_spaced ...4}][] ... l.397 \setupbodyfont[11pt] It looks as though the problem is buried in line 596 of font-syn.lua. For some reason s.angle is typed as a Lua string and not a number. local angle = f_a(s.angle or 0) -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com
On Thu, 2013-09-19 at 14:25 -0700, Kip Warner wrote:
It looks as though the problem is buried in line 596 of font-syn.lua. For some reason s.angle is typed as a Lua string and not a number.
local angle = f_a(s.angle or 0)
I tried patching the above with the following... local angle = f_a(tonumber(s.angle) or 0) ...and the Lua compiler does appear to consume that line successfully, but a new error I cannot decipher creeps up... error: /usr/share/texmf/tex/context/base/math-noa.lua:156: You can't assign a glue_spec node to a prev field . \textmath ...\normalstartimath #1\normalstopimath \endgroup \fi \symb_place_indeed ...name \??symbol #1\endcsname \relax \endgroup \symb_place_retry ...name \symb_place_indeed {:#1} \else #1\fi \symb_place_normal_c ...lace_retry \currentsymbol \fi \symb_place_normal_b ...else \symb_place_normal_c \fi \symb_place_indeed ...name \??symbol #1\endcsname \relax \endgroup ... l.103 \eTABLE That also appears to be buried deep inside Hans' math routines. I can't figure out exactly what he is trying to do, but it looks as though it has something to do with calculating correct values for fonts. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com
On 9/19/2013 11:48 PM, Kip Warner wrote:
On Thu, 2013-09-19 at 14:25 -0700, Kip Warner wrote:
It looks as though the problem is buried in line 596 of font-syn.lua. For some reason s.angle is typed as a Lua string and not a number.
local angle = f_a(s.angle or 0)
I tried patching the above with the following...
local angle = f_a(tonumber(s.angle) or 0)
ok (fyi: these are new entries for wolfgang's module)
....and the Lua compiler does appear to consume that line successfully, but a new error I cannot decipher creeps up...
error: /usr/share/texmf/tex/context/base/math-noa.lua:156: You can't assign a glue_spec node to a prev field
that is already fixed Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Fri, 2013-09-20 at 00:16 +0200, Hans Hagen wrote:
ok (fyi: these are new entries for wolfgang's module)
Noted.
that is already fixed
Thanks Hans. Let me know if there is anything else I can do. Take care, -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com
On 9/20/2013 12:19 AM, Kip Warner wrote:
On Fri, 2013-09-20 at 00:16 +0200, Hans Hagen wrote:
ok (fyi: these are new entries for wolfgang's module)
Noted.
that is already fixed
Thanks Hans. Let me know if there is anything else I can do.
the math should work ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Fri, 2013-09-20 at 00:45 +0200, Hans Hagen wrote:
On 9/20/2013 12:19 AM, Kip Warner wrote:
On Fri, 2013-09-20 at 00:16 +0200, Hans Hagen wrote:
ok (fyi: these are new entries for wolfgang's module)
Noted.
that is already fixed
Thanks Hans. Let me know if there is anything else I can do.
the math should work
Great. I'm using the Adam Reviczky's generous PPA and I'll give it a try as soon as the buildbot pushes new debs. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com
participants (2)
-
Hans Hagen
-
Kip Warner