From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/77734 Path: news.gmane.org!not-for-mail From: Alan Bowen Newsgroups: gmane.comp.tex.context Subject: Re: Luatex error in latest beta (standalone) Date: Fri, 3 Aug 2012 11:42:52 -0400 Message-ID: References: <96972BC0-47AB-4E73-83C1-4B4F25EDF988@web.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1139969641==" X-Trace: dough.gmane.org 1344008586 22832 80.91.229.3 (3 Aug 2012 15:43:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 3 Aug 2012 15:43:06 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Aug 03 17:43:07 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SxK1n-0000FO-CA for gctc-ntg-context-518@m.gmane.org; Fri, 03 Aug 2012 17:43:03 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 12454101F9; Fri, 3 Aug 2012 17:43:02 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id N7dy4N78vvAH; Fri, 3 Aug 2012 17:42:58 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 5CC9E101E5; Fri, 3 Aug 2012 17:42:58 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 92478101E5 for ; Fri, 3 Aug 2012 17:42:56 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 5Ivm2W8OphLy for ; Fri, 3 Aug 2012 17:42:54 +0200 (CEST) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id D36FC101E0 for ; Fri, 3 Aug 2012 17:42:54 +0200 (CEST) Original-Received: from mail-lpp01m010-f41.google.com (mail-lpp01m010-f41.google.com [209.85.215.41]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q73Fgr6P008705 for ; Fri, 3 Aug 2012 17:42:53 +0200 Original-Received: by lahi5 with SMTP id i5so561632lah.14 for ; Fri, 03 Aug 2012 08:42:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=dEwQNOce7OdbPKmCRnVwFPK4CrxEhWfN41UhDIYf5eM=; b=y5hd88p1pNqpxNsDaFQkFQz7RGlOMsvKG9KQZpEeJBj1dIJhJwdD/H+8CY9pVfAmGN GaQwzJbBjoFQXW2H3XLXcYl5PgNJX06OS+n0gUfudipq6Lvcn+uANo/2gyYfZ4zd/gJO WwCP0C+EBjj+WU7OH1ItH3ibpEyNY4VR6TxBfxXUZWxumavVewEwk6LEruYiNH6ls1tt 4DbNwYM/VNHu6JRB2h8+JmpEsG0d37xPb2zYQp+2RKbOFBWHrmry6mTGKPuapkDzRP4n XnjWAYnGXMR1rWjEZNh5vXd3YW0qYOdDGjYUeBJjjQ7tzqkPzh73GC3sOJont8TYjXWM HCRA== Original-Received: by 10.112.99.98 with SMTP id ep2mr852544lbb.45.1344008572749; Fri, 03 Aug 2012 08:42:52 -0700 (PDT) Original-Received: by 10.114.17.166 with HTTP; Fri, 3 Aug 2012 08:42:52 -0700 (PDT) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.215.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07HGfGRhD - d920e68bb3db - 20120803 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:77734 Archived-At: --===============1139969641== Content-Type: multipart/alternative; boundary=f46d0401fde18dc7a204c65e61e5 --f46d0401fde18dc7a204c65e61e5 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Thanks, Sietse, but local function getdeltapage(tag,n) seems to mess up \definenote (the error appears when running context --make). And if one plows ahead anyway, the original error remains. Alan On Fri, Aug 3, 2012 at 11:01 AM, Sietse Brouwer wrote= : > Alan wrote: > > the relevant lines in strc-not.lua are: > > notes.getsymbolpage =3D getsymbolpage > > notes.getnumberpage =3D getnumberpage > > notes.getdeltapage =3D getdeltapage > > > > function commands.notesymbolpage(tag,n) context(getsymbolpage(tag,n)) e= nd > > function commands.notenumberpage(tag,n) context(getnumberpage(tag,n)) e= nd > > function commands.notedeltapage (tag,n) context(getdeltapage (tag,n)) e= nd > > Three functions are defined directly above: > > L297: local function getsymbolpage(tag,n) > L307: local function getnumberpage(tag,n) > L317: function notes.deltapage(tag,n) > > There is no reference to /\ boundary), so I suggest turning L317 into > local function getdeltapage(tag,n) > and see whether that solves your problem. I can't test it myself, > lacking a minimal (non)working example. (They should be called Minimal > Illustrative Examples, really, or Minimal Complete Examples. But that > ship has long sailed.) > > Cheers, > Sietse > > On Fri, Aug 3, 2012 at 4:36 PM, Alan Bowen wrote: > > Hi, Keith=97 > > > > the relevant lines in strc-not.lua are: > > notes.getsymbolpage =3D getsymbolpage > > notes.getnumberpage =3D getnumberpage > > notes.getdeltapage =3D getdeltapage > > > > function commands.notesymbolpage(tag,n) context(getsymbolpage(tag,n)) e= nd > > function commands.notenumberpage(tag,n) context(getnumberpage(tag,n)) e= nd > > function commands.notedeltapage (tag,n) context(getdeltapage (tag,n)) e= nd > > > > In strc-not.mkiv, the lines are: > > > > \def\strc_notes_set_style_color_special > > > > {\iftrialtypesetting > > > > % keep > > > > \else\ifx\currentcolorparameter\empty > > > > > > > \scratchcounter\ctxcommand{notedeltapage("\currentnote",\currentnotenumbe= r)}\relax > > % todo calculate once > > > > \setlocationcolorspecified\scratchcounter > > > > \fi\fi} > > > > > > > > \unexpanded\def\strc_notes_inject_pointer % todo calculate once > > > > > > > {\ifcase\ctxcommand{notedeltapage("\currentnote",\currentnotenumber)}\rel= ax > > > > % unknown > > > > \or > > > > % same page > > > > \or > > > > \noteparameter\c!symbolcommand{\symbol[\v!note:\v!nextpage]}% > > > > \or > > > > \noteparameter\c!symbolcommand{\symbol[\v!note:\v!previouspage]}% > > > > \fi} > > > > > > But I have no idea what to make of this. > > > > Alan > > > > On Fri, Aug 3, 2012 at 10:04 AM, Keith J. Schultz > > wrote: > >> > >> Hi Alan, > >> > >> I do not know if this helps. As I do not have the source, but I assume > >> that should be notegetdeltapage. > >> There are other possiblities. > >> > >> If that does not help. start looking for getdeltapage. Maybe, it was n= ot > >> hook in correct. at one point, > >> or somebody for to use a dummy function. > >> > >> regards > >> Keith. > >> > >> > >> Am 03.08.2012 um 15:04 schrieb Alan Bowen : > >> > >> Files that used to process are now getting this error message: > >> > >> ! LuaTeX error > >> ...TeXt/tex/texmf-context/tex/context/base/strc-not.lua:351: attempt t= o > call > >> global 'getdeltapage' (a nil value) > >> stack traceback: > >> ...TeXt/tex/texmf-context/tex/context/base/strc-not.lua:351: in functi= on > >> 'notedeltapage' > >>
:1: in main chunk. > >> > >> system > tex > error on line 24 in file c_2012-01_Johnson.tex= : > >> LuaTeX error > >> =85 > >> > >> ctxcommand ...\directlua \zerocount {commands.#1} > >> > >> > >> > >> \strc_notes_set_style_color_special ...tenumber )} > >> \relax > >> \setlocationcolorsp... > >> \strc_notes_set_style_color_inline ...lor_special > >> \fi > >> \strc_notes_inject_symbol ...xtstyle \c!textcolor > >> \hbox > >> \strc_notes_get_refe... > >> \195>notation:note ...l \strc_notes_inject_symbol > >> \else \unskip \unski= p > >> \glo... > >> \strc_notations_command_nop ...handler \endcsname > >> > >> \strc_constructions_finali... > >> > >> I am running ConTeXt ver: 2012.08.02 10:55 MKIV fmt: 2012.8.2 int: > >> english/english (standalone) > >> > >> Is there fix for this? > >> > >> Many thanks. > >> > >> Alan > >> > >> > >> > _________________________________________________________________________= __________ > >> 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 > >> > >> > _________________________________________________________________________= __________ > >> > >> > >> > >> > >> > _________________________________________________________________________= __________ > >> 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 > >> > >> > _________________________________________________________________________= __________ > > > > > > > > > _________________________________________________________________________= __________ > > 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 > > > _________________________________________________________________________= __________ > > _________________________________________________________________________= __________ > 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 > > _________________________________________________________________________= __________ > --f46d0401fde18dc7a204c65e61e5 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Thanks, Sietse, but=A0
local function getdeltapage(tag,n)=A0
seems to mess up \definenote = (the error appears when running context --make).=A0
And if one pl= ows ahead anyway, the original error remains.

Alan

On Fri, Aug 3, 2012 at 11:01 AM, S= ietse Brouwer <sbbrouwer@gmail.com> wrote:
Alan wrote:
> the relevant lines in strc-not.lua are:
> notes.getsymbolpage =3D getsymbolpage
> notes.getnumberpage =3D getnumberpage
> notes.getdeltapage =A0=3D getdeltapage
>
> function commands.notesymbolpage(tag,n) context(getsymbolpage(tag,n)) = end
> function commands.notenumberpage(tag,n) context(getnumberpage(tag,n)) = end
> function commands.notedeltapage (tag,n) context(getdeltapage (tag,n)) = end

Three functions are defined directly above:

L297: local function getsymbolpage(tag,n)
L307: local function getnumberpage(tag,n)
L317: function notes.deltapage(tag,n)

There is no reference to /\<deltapage/ anywhere (`\<` is a word
boundary), so I suggest turning L317 into
=A0 =A0 local function getdeltapage(tag,n)
and see whether that solves your problem. I can't test it myself,
lacking a minimal (non)working example. (They should be called Minimal
Illustrative Examples, really, or Minimal Complete Examples. But that
ship has long sailed.)

Cheers,
Sietse

On Fri, Aug 3, 2012 at 4:36 PM, Alan Bowen <bowenalan03@gmail.com> wrote:
> Hi, Keith=97
>
> the relevant lines in strc-not.lua are:
> notes.getsymbolpage =3D getsymbolpage
> notes.getnumberpage =3D getnumberpage
> notes.getdeltapage =A0=3D getdeltapage
>
> function commands.notesymbolpage(tag,n) context(getsymbolpage(tag,n)) = end
> function commands.notenumberpage(tag,n) context(getnumberpage(tag,n)) = end
> function commands.notedeltapage (tag,n) context(getdeltapage (tag,n)) = end
>
> In strc-not.mkiv, the lines are:
>
> \def\strc_notes_set_style_color_special
>
> =A0 {\iftrialtypesetting
>
> =A0 =A0 =A0 % keep
>
> =A0 =A0\else\ifx\currentcolorparameter\empty
>
>
> \scratchcounter\ctxcommand{notedeltapage("\currentnote",\cur= rentnotenumber)}\relax
> % todo calculate once
>
> =A0 =A0 =A0\setlocationcolorspecified\scratchcounter
>
> =A0 =A0\fi\fi}
>
>
>
> \unexpanded\def\strc_notes_inject_pointer % todo calculate once
>
>
> {\ifcase\ctxcommand{notedeltapage("\currentnote",\currentnot= enumber)}\relax
>
> =A0 =A0 =A0% unknown
>
> =A0 =A0\or
>
> =A0 =A0 =A0% same page
>
> =A0 =A0\or
>
> =A0 =A0 =A0\noteparameter\c!symbolcommand{\symbol[\v!note:\v!nextpage]= }%
>
> =A0 =A0\or
>
> =A0 =A0 =A0\noteparameter\c!symbolcommand{\symbol[\v!note:\v!previousp= age]}%
>
> =A0 =A0\fi}
>
>
> But I have no idea what to make of this.
>
> Alan
>
> On Fri, Aug 3, 2012 at 10:04 AM, Keith J. Schultz <keithjschultz@web.de>
> wrote:
>>
>> Hi Alan,
>>
>> I do not know if this helps. As I do not have the source, but I as= sume
>> that should be notegetdeltapage.
>> There are other possiblities.
>>
>> If that does not help. start looking for getdeltapage. Maybe, it w= as not
>> hook in correct. at one point,
>> or somebody for to use a dummy function.
>>
>> regards
>> Keith.
>>
>>
>> Am 03.08.2012 um 15:04 schrieb Alan Bowen <bowenalan03@gmail.com>:
>>
>> Files that used to process are now getting this error message:
>>
>> ! LuaTeX error
>> ...TeXt/tex/texmf-context/tex/context/base/strc-not.lua:351: attem= pt to call
>> global 'getdeltapage' (a nil value)
>> stack traceback:
>> ...TeXt/tex/texmf-context/tex/context/base/strc-not.lua:351: in fu= nction
>> 'notedeltapage'
>> <main ctx instance>:1: in main chunk.
>>
>> system =A0 =A0 =A0 =A0 =A0> tex > error on line 24 in file c= _2012-01_Johnson.tex:
>> LuaTeX error
>> =85
>>
>> ctxcommand ...\directlua \zerocount {commands.#1}
>>
>>
>>
>> \strc_notes_set_style_color_special ...tenumber )}
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 \relax
>> \setlocationcolorsp...
>> \strc_notes_set_style_color_inline ...lor_special
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 \fi
>> \strc_notes_inject_symbol ...xtstyle \c!textcolor
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 \hbox
>> \strc_notes_get_refe...
>> \195>notation:note ...l \strc_notes_inject_symbol
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 \else \unskip \unskip
>> \glo...
>> \strc_notations_command_nop ...handler \endcsname
>>
>> \strc_constructions_finali...
>>
>> I am running ConTeXt =A0ver: 2012.08.02 10:55 MKIV =A0fmt: 2012.8.2 =A0int:
>> english/english (standalone)
>>
>> Is there =A0fix for this?
>>
>> Many thanks.
>>
>> Alan
>>
>>
>> __________________________________________________________________= _________________
>> If your question is of interest to others as well, please add an e= ntry to
>> the Wiki!
>>
>> maillist : ntg-context@ntg.n= l /
>> http://www.ntg.nl/mailman/listinfo/ntg-context
>> webpage =A0: http://www.pragma-ade.nl / http://tex.aanhet.net
>> archive =A0: http://foundry.supelec.fr/projects/contextrev/<= br> >> wiki =A0 =A0 : http://contextgarden.net
>>
>> __________________________________________________________________= _________________
>>
>>
>>
>>
>> __________________________________________________________________= _________________
>> If your question is of interest to others as well, please add an e= ntry to
>> the Wiki!
>>
>> maillist : ntg-context@ntg.n= l /
>> http://www.ntg.nl/mailman/listinfo/ntg-context
>> webpage =A0: http://www.pragma-ade.nl / http://tex.aanhet.net
>> archive =A0: http://foundry.supelec.fr/projects/contextrev/<= br> >> wiki =A0 =A0 : http://contextgarden.net
>>
>> __________________________________________________________________= _________________
>
>
>
> ______________________________________________________________________= _____________
> 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 =A0: ht= tp://www.pragma-ade.nl / http://tex.aanhet.net
> archive =A0: http://foundry.supelec.fr/projects/contextrev/
> wiki =A0 =A0 : = http://contextgarden.net
> ______________________________________________________________________= _____________
___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-context@ntg.nl / <= a href=3D"http://www.ntg.nl/mailman/listinfo/ntg-context" target=3D"_blank"= >http://www.ntg.nl/mailman/listinfo/ntg-context
webpage =A0: http://= www.pragma-ade.nl / http://tex.aanhet.net
archive =A0: http://foundry.supelec.fr/projects/contextrev/
wiki =A0 =A0 : http:= //contextgarden.net
___________________________________________________________________________= ________

--f46d0401fde18dc7a204c65e61e5-- --===============1139969641== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1139969641==--