ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Kip Warner <kip@thevertigo.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Hans Hagen <pragma@wxs.nl>
Subject: Re: Broken nightly (2013.09.18)
Date: Thu, 19 Sep 2013 14:48:01 -0700	[thread overview]
Message-ID: <1379627281.2595.18.camel@rommel> (raw)
In-Reply-To: <1379625927.2595.15.camel@rommel>


[-- 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
___________________________________________________________________________________

  reply	other threads:[~2013-09-19 21:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-19 21:25 Kip Warner
2013-09-19 21:48 ` Kip Warner [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1379627281.2595.18.camel@rommel \
    --to=kip@thevertigo.com \
    --cc=ntg-context@ntg.nl \
    --cc=pragma@wxs.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).