ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Broken nightly (2013.09.18)
@ 2013-09-19 21:25 Kip Warner
  2013-09-19 21:48 ` Kip Warner
  0 siblings, 1 reply; 6+ messages in thread
From: Kip Warner @ 2013-09-19 21:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen


[-- Attachment #1.1: Type: text/plain, Size: 2276 bytes --]

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

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-09-19 22:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-19 21:25 Broken nightly (2013.09.18) Kip Warner
2013-09-19 21:48 ` Kip Warner
2013-09-19 22:16   ` Hans Hagen
2013-09-19 22:19     ` Kip Warner
2013-09-19 22:45       ` Hans Hagen
2013-09-19 22:47         ` Kip Warner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).