From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/77742 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 14:04:00 -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="===============1445154774==" X-Trace: dough.gmane.org 1344017047 31178 80.91.229.3 (3 Aug 2012 18:04:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 3 Aug 2012 18:04:07 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Aug 03 20:04: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 1SxMEJ-0000i4-45 for gctc-ntg-context-518@m.gmane.org; Fri, 03 Aug 2012 20:04:07 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 22757101F2; Fri, 3 Aug 2012 20:04:06 +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 UTYuWO1Rpjxd; Fri, 3 Aug 2012 20:04:04 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 3980B101E4; Fri, 3 Aug 2012 20:04:04 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8ECA9101E4 for ; Fri, 3 Aug 2012 20:04:03 +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 1mpwXNo13X7r for ; Fri, 3 Aug 2012 20:04:02 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id 5B8C1101E0 for ; Fri, 3 Aug 2012 20:04:02 +0200 (CEST) Original-Received: from mail-lpp01m010-f41.google.com (mail-lpp01m010-f41.google.com [209.85.215.41]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q73I41NR027491 for ; Fri, 3 Aug 2012 20:04:01 +0200 Original-Received: by lahi5 with SMTP id i5so657715lah.14 for ; Fri, 03 Aug 2012 11:04:00 -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=hHdTBWezxVueEVIBeChvM5XGkRJ5si9aAYQyN6yWXYA=; b=lu96HoypVfBRztqqAn/kjD2MgnUaT4y2C7UmHgf5IzT0zZbh08SufT6Kq5a3P6awf6 WxJvO17nNa5XGpehIKGombuZlcNb+Bh8LzCMJX9cF78CznEeoe1HGaWf0kmdDvgWUKKv Q4071Ftly34iLz4Dg/pSBFREqTbK61cM8idkM4z/jcqcZKm1sLEYpl/YVqYaMY7atJG2 tNm1THfBQR8e1BQiyj3MGV6iQAUaY6z6xTUPlBkH3/K3xBeOyACXfDV9TfuLlja6rkDW /TLGNK+YygpBg4Bo3V5SqXhpPuqlMwtY7s1PUMcVJxj58sCAXLru9XNpR9DaG+UsS/MU /E7w== Original-Received: by 10.112.40.33 with SMTP id u1mr991705lbk.28.1344017040611; Fri, 03 Aug 2012 11:04:00 -0700 (PDT) Original-Received: by 10.114.17.166 with HTTP; Fri, 3 Aug 2012 11:04:00 -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: 06HGi418s - 7ad38cecb35d - 20120803 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 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:77742 Archived-At: --===============1445154774== Content-Type: multipart/alternative; boundary=e0cb4efe3060471a6804c6605a46 --e0cb4efe3060471a6804c6605a46 Content-Type: text/plain; charset=ISO-8859-1 When I change line 317 in strc-not.lua to read local function notes.deltapage(tag,n) and run context --make, I get system > tex > error on line 1701 in file /Applications/ConTeXt/tex/texmf-context/tex/context/base/strc-not.mkvi: LuaTeX error ... 1691 {\let\strc_notes_set_bodyfont\relax 1692 \restoreglobalbodyfont 1693 \switchtobodyfont[\noteparameter\c!bodyfont]% 1694 \setupalign[\noteparameter\c!align]} 1695 1696 %D The footnote mechanism defaults to a traditional one 1697 %D column way of showing them. By default we precede them by 1698 %D a small line. 1699 1700 \definenote [\v!footnote] 1701 >> \definenote [\v!endnote ] [\c!location=\v!none] % else no break 1702 1703 %D Compatibility macros: 1704 1705 \unexpanded\def\setupfootnotedefinition{\setupnotedefinition [\v!footnote]} 1706 \unexpanded\def\setupfootnotes {\setupnote [\v!footnote]} 1707 \def\footnotetext {\setnotetext [\v!footnote]} 1708 \unexpanded\def\placefootnotes {\dodoubleempty\strc_notes_place_footnotes [\v!footnote]} 1709 \unexpanded\def\placelocalfootnotes {\dodoubleempty\strc_notes_place_local_footnotes[\v!footnote]} 1710 \unexpanded\def\startlocalfootnotes {\startlocalnotes [\v!footnote]} % alleen footnote 1711 \unexpanded\def\stoplocalfootnotes {\stoplocalnotes } \ctxcommand ...\directlua \zerocount {commands.#1} ...insertionnumber \currentnote )} \ifx \currentnoteparent \e... \define_note ...te }\fi \fi \the \everydefinenote \let \currentnote \saved_d... \syst_helpers_triple_empty_two_spaced ...{#2}][][] \definenote l.1701 \definenote [\v!endnote ] [\c!location=\v!none] % else no break ? Alan On Fri, Aug 3, 2012 at 1:03 PM, Sietse Brouwer wrote: > Sietse wrote (at 17:00): > >> so I suggest turning L317 into > >> local function getdeltapage(tag,n) > > Alan Bowen wrote (at 17:42): > > 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. > > No error here. What \definenote-related error do you get when running > context --make? > > Cheers, > Sietse > > ___________________________________________________________________________________ > 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 > > ___________________________________________________________________________________ > --e0cb4efe3060471a6804c6605a46 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable When I change line 317 in strc-not.lua to read
local function notes.del= tapage(tag,n)

and run context --make,

=
I get

system =A0 =A0 =A0 =A0 =A0&g= t; tex > error on line 1701 in file /Applications/ConTeXt/tex/texmf-cont= ext/tex/context/base/strc-not.mkvi: LuaTeX error =A0...

1691 =A0 =A0 =A0 {\let\strc_notes_set_bodyfont\relax
1692 =A0 =A0 =A0 =A0\restoreglobalbodyfont
1693 =A0 =A0 = =A0 =A0\switchtobodyfont[\noteparameter\c!bodyfont]%
1694 =A0 =A0= =A0 =A0\setupalign[\noteparameter\c!align]}
1695 =A0 =A0=A0
1696 =A0 =A0 %D The footnote mechanism defau= lts to a traditional one
1697 =A0 =A0 %D column way of showing th= em. By default we precede them by
1698 =A0 =A0 %D a small line.
1699 =A0 =A0=A0
1700 =A0 =A0 \definenote [\v!footnote]
1701 >> =A0\def= inenote [\v!endnote ] [\c!location=3D\v!none] % else no break
170= 2 =A0 =A0=A0
1703 =A0 =A0 %D Compatibility macros:
1704= =A0 =A0=A0
1705 =A0 =A0 \unexpanded\def\setupfootnotedefinition{\setupnotedefinition = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 [\v!footnote]}
1706 =A0 =A0 \unexpanded\def\setupfootnotes =A0 =A0 =A0 =A0 {\setupnote = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 [\v= !footnote]}
1707 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0\def\footnotetext =A0 =A0 =A0 =A0 = =A0 {\setnotetext =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 [\v!footnote]}
1708 =A0 =A0 \unexpanded\def\placefoot= notes =A0 =A0 =A0 =A0 {\dodoubleempty\strc_notes_place_footnotes =A0 =A0 = =A0[\v!footnote]}
1709 =A0 =A0 \unexpanded\def\placelocalfootnotes =A0 =A0{\dodoubleempt= y\strc_notes_place_local_footnotes[\v!footnote]}
1710 =A0 =A0 \un= expanded\def\startlocalfootnotes =A0 =A0{\startlocalnotes =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 [\v!footnote]} % =A0alleen foot= note
1711 =A0 =A0 \unexpanded\def\stoplocalfootnotes =A0 =A0 {\stoplocalnot= es }


\ctxcommand ...\directlua \zer= ocount {commands.#1}
=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=A0
<inserted text> ...insertionnumber \currentnote )}
=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 \ifx \currentnoteparent \e...
\define_not= e ...te }\fi \fi \the \everydefinenote=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 =A0 \let \currentnote \saved_d...
\syst_help= ers_triple_empty_two_spaced ...{#2}][][]
=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= =A0
<to be read again>=A0
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0\definenote=A0
l.1701= \definenote
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0[\v!endnote ]= [\c!location=3D\v!none] % else no break
?

Alan

On Fri, Aug 3, 2012 at 1:03 PM, Sietse Brouwer <sbbrouwer@gmail.com&= gt; wrote:
Sietse wrote (at 17:00):
>> so I suggest turning L317 into
>> =A0 =A0 local function getdeltapage(tag,n)

Alan Bowen <bowenalan03@g= mail.com> wrote (at 17:42):
> 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.

No error here. What \definenote-related error do you get when running=
context --make?

Cheers,
Sietse
___________________________________= ________________________________________________
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
___________________________________________________________________________= ________

--e0cb4efe3060471a6804c6605a46-- --===============1445154774== 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 ___________________________________________________________________________________ --===============1445154774==--