ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Roland <ntg-context@rolandsiebelink.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: LuaTex error "attempt to index global 'lang' (a nil value)"
Date: Sat, 12 Apr 2008 16:24:05 +0200	[thread overview]
Message-ID: <cd7ae9e30804120724nc003db7s408f2dc64a01de92@mail.gmail.com> (raw)
In-Reply-To: <cd7ae9e30804120658u68ecf830m2953788cfde805b1@mail.gmail.com>

@Mojca, I found that /usr/texbin was pointing to a missing directory,
so this caused the problem mentioned below. I took /usr/texbin out of
the $PATH and replaced it with /usr/local/texlive/2007/bin/i386-darwin
-- this lets luatools --selfupdate run correctly:


	LuaTools | to be replaced old script
/usr/local/texlive/2007/bin/i386-darwin/luatools
	LuaTools | checking new script
/usr/local/texlive/texmf-local/scripts/context/lua/luatools.lua
	LuaTools | old script content replaced by new content
	LuaTools |
	LuaTools | runtime: 0.056 seconds

But the old problem still persists.

@Hans, I pressed enter when the original error occurs and this just
gives me one more line before the script stops:

	l.3174
	
	?
	../../../../src/texk/web2c/luatexdir/tex/linebreak.c:1599: failed
assertion `alink(cur_p)==temp_head'
	
	LuaTools |
	LuaTools | runtime: 10.399 seconds

@Taco, I think my core-ref.tex contains the same as yours:

  3165  \def\setupbuttons
  3166    {\dodoubleargument\getparameters[\??bt]}
  3167
  3168  \definecomplexorsimpleempty\button
  3169
  3170  \def\complexbutton
  3171    {\docomplexbutton\??bt}
  3172
  3173  \presetlocalframed[\??bt]
  3174
  3175  \long\def\docomplexbutton#1[#2]#3#4% get rid of possible space
before [#4]
  3176    {\dodocomplexbutton#1[#2]{#3}#4} % #4 == [
  3177
  3178  \def\buttonframed{\dodoubleempty\localframed[\??bt]} % goodie
  3179
  3180  \long\def\dodocomplexbutton#1[#2]#3[#4]% #3 can contain [] -> {#3} later

Anybody?
Roland



On 12/04/2008, Roland <ntg-context@rolandsiebelink.com> wrote:
> Hmmm this produces something funny:
>
>  $ luatools --selfupdate
>
>  LuaTools | to be replaced old script /usr/texbin/luatools
>  LuaTools | unable to locate new script
>  LuaTools |
>  LuaTools | runtime: 0.005 seconds
>
>  Perhaps some link is wrong or I shouldn't use the alias /usr/texbin
>  (as installed by MacTeX)?
>
>
>  On 08/04/2008, Mojca Miklavec <mojca.miklavec.lists@gmail.com> wrote:
>  > Did you try to run
>  >    luatools --selfupdate
>  >  ?
>
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2008-04-12 14:24 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-05 15:34 Roland
2008-04-06  8:45 ` Taco Hoekwater
2008-04-06 18:09   ` Roland
2008-04-07  8:11     ` Taco Hoekwater
2008-04-08 21:37       ` Roland
2008-04-08 22:04         ` Hans Hagen
2008-04-09  8:01         ` Taco Hoekwater
     [not found] ` <6faad9f00804081453o1843a680v1b25cb4453d0564d@mail.gmail.com>
2008-04-12 13:58   ` Roland
2008-04-12 14:24     ` Roland [this message]
2008-04-13  7:30       ` Taco Hoekwater
2008-04-14  6:45         ` Thomas A. Schmitz
2008-04-13  9:55       ` Mojca Miklavec

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=cd7ae9e30804120724nc003db7s408f2dc64a01de92@mail.gmail.com \
    --to=ntg-context@rolandsiebelink.com \
    --cc=ntg-context@ntg.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).