* 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
* Re: Broken nightly (2013.09.18)
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
0 siblings, 1 reply; 6+ messages in thread
From: Kip Warner @ 2013-09-19 21:48 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Hans Hagen
[-- Attachment #1.1: Type: text/plain, Size: 1785 bytes --]
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
[-- 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
* Re: Broken nightly (2013.09.18)
2013-09-19 21:48 ` Kip Warner
@ 2013-09-19 22:16 ` Hans Hagen
2013-09-19 22:19 ` Kip Warner
0 siblings, 1 reply; 6+ messages in thread
From: Hans Hagen @ 2013-09-19 22:16 UTC (permalink / raw)
To: Kip Warner; +Cc: mailing list for ConTeXt users
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
-----------------------------------------------------------------
___________________________________________________________________________________
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
* Re: Broken nightly (2013.09.18)
2013-09-19 22:16 ` Hans Hagen
@ 2013-09-19 22:19 ` Kip Warner
2013-09-19 22:45 ` Hans Hagen
0 siblings, 1 reply; 6+ messages in thread
From: Kip Warner @ 2013-09-19 22:19 UTC (permalink / raw)
To: Hans Hagen; +Cc: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 334 bytes --]
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
[-- 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
* Re: Broken nightly (2013.09.18)
2013-09-19 22:19 ` Kip Warner
@ 2013-09-19 22:45 ` Hans Hagen
2013-09-19 22:47 ` Kip Warner
0 siblings, 1 reply; 6+ messages in thread
From: Hans Hagen @ 2013-09-19 22:45 UTC (permalink / raw)
To: Kip Warner; +Cc: mailing list for ConTeXt users
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
-----------------------------------------------------------------
___________________________________________________________________________________
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
* Re: Broken nightly (2013.09.18)
2013-09-19 22:45 ` Hans Hagen
@ 2013-09-19 22:47 ` Kip Warner
0 siblings, 0 replies; 6+ messages in thread
From: Kip Warner @ 2013-09-19 22:47 UTC (permalink / raw)
To: Hans Hagen; +Cc: mailing list for ConTeXt users, Adam Reviczky
[-- Attachment #1.1: Type: text/plain, Size: 591 bytes --]
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
[-- 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).