ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Luatex error in latest beta (standalone)
@ 2012-08-03 13:04 Alan Bowen
  2012-08-03 14:04 ` Keith J. Schultz
  2012-08-09 21:25 ` Aditya Mahajan
  0 siblings, 2 replies; 12+ messages in thread
From: Alan Bowen @ 2012-08-03 13:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1267 bytes --]

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 to call global 'getdeltapage' (a nil value)

stack traceback:

...TeXt/tex/texmf-context/tex/context/base/strc-not.lua:351: in function
'notedeltapage'

<main ctx instance>:1: in main chunk.


system          > tex > error on line 24 in file c_2012-01_Johnson.tex:
LuaTeX error

…

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 \unskip
\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

[-- Attachment #1.2: Type: text/html, Size: 2802 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] 12+ messages in thread

* Re: Luatex error in latest beta (standalone)
  2012-08-03 13:04 Luatex error in latest beta (standalone) Alan Bowen
@ 2012-08-03 14:04 ` Keith J. Schultz
  2012-08-03 14:36   ` Alan Bowen
  2012-08-09 21:25 ` Aditya Mahajan
  1 sibling, 1 reply; 12+ messages in thread
From: Keith J. Schultz @ 2012-08-03 14:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 2299 bytes --]

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 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: attempt to call global 'getdeltapage' (a nil value)
> stack traceback:
> 	...TeXt/tex/texmf-context/tex/context/base/strc-not.lua:351: in function 'notedeltapage'
> 	<main ctx instance>:1: in main chunk.
> 
> system          > tex > error on line 24 in file c_2012-01_Johnson.tex: LuaTeX error 
> …
> 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 \unskip \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
> ___________________________________________________________________________________


[-- Attachment #1.2: Type: text/html, Size: 7172 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] 12+ messages in thread

* Re: Luatex error in latest beta (standalone)
  2012-08-03 14:04 ` Keith J. Schultz
@ 2012-08-03 14:36   ` Alan Bowen
  2012-08-03 15:01     ` Sietse Brouwer
  0 siblings, 1 reply; 12+ messages in thread
From: Alan Bowen @ 2012-08-03 14:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 4026 bytes --]

Hi, Keith—

the relevant lines in strc-not.lua are:
notes.getsymbolpage = getsymbolpage
notes.getnumberpage = getnumberpage
notes.getdeltapage  = 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

  {\iftrialtypesetting

      % keep

   \else\ifx\currentcolorparameter\empty


\scratchcounter\ctxcommand{notedeltapage("\currentnote",\currentnotenumber)}\relax
% todo calculate once

     \setlocationcolorspecified\scratchcounter

   \fi\fi}



\unexpanded\def\strc_notes_inject_pointer % todo calculate once


{\ifcase\ctxcommand{notedeltapage("\currentnote",\currentnotenumber)}\relax

     % 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 <keithjschultz@web.de>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 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: attempt to
> call global 'getdeltapage' (a nil value)
> stack traceback:
> ...TeXt/tex/texmf-context/tex/context/base/strc-not.lua:351: in function
> 'notedeltapage'
> <main ctx instance>:1: in main chunk.
>
> system          > tex > error on line 24 in file c_2012-01_Johnson.tex:
> LuaTeX error
> …
>
> 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 \unskip
> \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
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 9611 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] 12+ messages in thread

* Re: Luatex error in latest beta (standalone)
  2012-08-03 14:36   ` Alan Bowen
@ 2012-08-03 15:01     ` Sietse Brouwer
  2012-08-03 15:42       ` Alan Bowen
  2012-08-03 16:10       ` Hans Hagen
  0 siblings, 2 replies; 12+ messages in thread
From: Sietse Brouwer @ 2012-08-03 15:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Alan wrote:
> the relevant lines in strc-not.lua are:
> notes.getsymbolpage = getsymbolpage
> notes.getnumberpage = getnumberpage
> notes.getdeltapage  = 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
    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—
>
> the relevant lines in strc-not.lua are:
> notes.getsymbolpage = getsymbolpage
> notes.getnumberpage = getnumberpage
> notes.getdeltapage  = 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
>
>   {\iftrialtypesetting
>
>       % keep
>
>    \else\ifx\currentcolorparameter\empty
>
>
> \scratchcounter\ctxcommand{notedeltapage("\currentnote",\currentnotenumber)}\relax
> % todo calculate once
>
>      \setlocationcolorspecified\scratchcounter
>
>    \fi\fi}
>
>
>
> \unexpanded\def\strc_notes_inject_pointer % todo calculate once
>
>
> {\ifcase\ctxcommand{notedeltapage("\currentnote",\currentnotenumber)}\relax
>
>      % 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 <keithjschultz@web.de>
> 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 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: attempt to call
>> global 'getdeltapage' (a nil value)
>> stack traceback:
>> ...TeXt/tex/texmf-context/tex/context/base/strc-not.lua:351: in function
>> 'notedeltapage'
>> <main ctx instance>:1: in main chunk.
>>
>> system          > tex > error on line 24 in file c_2012-01_Johnson.tex:
>> LuaTeX error
>> …
>>
>> 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 \unskip
>> \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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Luatex error in latest beta (standalone)
  2012-08-03 15:01     ` Sietse Brouwer
@ 2012-08-03 15:42       ` Alan Bowen
  2012-08-03 17:03         ` Sietse Brouwer
  2012-08-03 16:10       ` Hans Hagen
  1 sibling, 1 reply; 12+ messages in thread
From: Alan Bowen @ 2012-08-03 15:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 7002 bytes --]

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 <sbbrouwer@gmail.com> wrote:

> Alan wrote:
> > the relevant lines in strc-not.lua are:
> > notes.getsymbolpage = getsymbolpage
> > notes.getnumberpage = getnumberpage
> > notes.getdeltapage  = 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
>     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—
> >
> > the relevant lines in strc-not.lua are:
> > notes.getsymbolpage = getsymbolpage
> > notes.getnumberpage = getnumberpage
> > notes.getdeltapage  = 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
> >
> >   {\iftrialtypesetting
> >
> >       % keep
> >
> >    \else\ifx\currentcolorparameter\empty
> >
> >
> >
> \scratchcounter\ctxcommand{notedeltapage("\currentnote",\currentnotenumber)}\relax
> > % todo calculate once
> >
> >      \setlocationcolorspecified\scratchcounter
> >
> >    \fi\fi}
> >
> >
> >
> > \unexpanded\def\strc_notes_inject_pointer % todo calculate once
> >
> >
> >
> {\ifcase\ctxcommand{notedeltapage("\currentnote",\currentnotenumber)}\relax
> >
> >      % 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 <keithjschultz@web.de>
> > 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 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: attempt to
> call
> >> global 'getdeltapage' (a nil value)
> >> stack traceback:
> >> ...TeXt/tex/texmf-context/tex/context/base/strc-not.lua:351: in function
> >> 'notedeltapage'
> >> <main ctx instance>:1: in main chunk.
> >>
> >> system          > tex > error on line 24 in file c_2012-01_Johnson.tex:
> >> LuaTeX error
> >> …
> >>
> >> 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 \unskip
> >> \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
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 11017 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] 12+ messages in thread

* Re: Luatex error in latest beta (standalone)
  2012-08-03 15:01     ` Sietse Brouwer
  2012-08-03 15:42       ` Alan Bowen
@ 2012-08-03 16:10       ` Hans Hagen
  1 sibling, 0 replies; 12+ messages in thread
From: Hans Hagen @ 2012-08-03 16:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 3-8-2012 17:01, Sietse Brouwer wrote:
>
> boundary), so I suggest turning L317 into
>      local function getdeltapage(tag,n)

indeed

-----------------------------------------------------------------
                                           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] 12+ messages in thread

* Re: Luatex error in latest beta (standalone)
  2012-08-03 15:42       ` Alan Bowen
@ 2012-08-03 17:03         ` Sietse Brouwer
  2012-08-03 18:04           ` Alan Bowen
  0 siblings, 1 reply; 12+ messages in thread
From: Sietse Brouwer @ 2012-08-03 17:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Sietse wrote (at 17:00):
>> so I suggest turning L317 into
>>     local function getdeltapage(tag,n)

Alan Bowen <bowenalan03@gmail.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 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] 12+ messages in thread

* Re: Luatex error in latest beta (standalone)
  2012-08-03 17:03         ` Sietse Brouwer
@ 2012-08-03 18:04           ` Alan Bowen
  2012-08-03 21:20             ` Sietse Brouwer
  0 siblings, 1 reply; 12+ messages in thread
From: Alan Bowen @ 2012-08-03 18:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 3037 bytes --]

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}

<inserted text> ...insertionnumber \currentnote )}
                                                  \ifx \currentnoteparent
\e...
\define_note ...te }\fi \fi \the \everydefinenote
                                                  \let \currentnote
\saved_d...
\syst_helpers_triple_empty_two_spaced ...{#2}][][]

<to be read again>
                   \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 <sbbrouwer@gmail.com> wrote:

> Sietse wrote (at 17:00):
> >> so I suggest turning L317 into
> >>     local function getdeltapage(tag,n)
>
> Alan Bowen <bowenalan03@gmail.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
> 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
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 4594 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] 12+ messages in thread

* Re: Luatex error in latest beta (standalone)
  2012-08-03 18:04           ` Alan Bowen
@ 2012-08-03 21:20             ` Sietse Brouwer
  2012-08-03 22:00               ` Alan Bowen
  0 siblings, 1 reply; 12+ messages in thread
From: Sietse Brouwer @ 2012-08-03 21:20 UTC (permalink / raw)
  To: mailing list for ConTeXt users

I think you accidentally misread my fix. Happens to the best of us.
Original text:
    function notes.deltapage(tag,n)
You tried:
    local function notes.deltapage(tag,n)
You should try:
    local function getdeltapage(tag,n)

That should work.

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Luatex error in latest beta (standalone)
  2012-08-03 21:20             ` Sietse Brouwer
@ 2012-08-03 22:00               ` Alan Bowen
  0 siblings, 0 replies; 12+ messages in thread
From: Alan Bowen @ 2012-08-03 22:00 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1005 bytes --]

And it does indeed, Sietse! I had misread your suggestion. My apologies and
many thanks for your help and patience.

All best, Alan

On Fri, Aug 3, 2012 at 5:20 PM, Sietse Brouwer <sbbrouwer@gmail.com> wrote:

> I think you accidentally misread my fix. Happens to the best of us.
> Original text:
>     function notes.deltapage(tag,n)
> You tried:
>     local function notes.deltapage(tag,n)
> You should try:
>     local function getdeltapage(tag,n)
>
> That should work.
>
> 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
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 1734 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] 12+ messages in thread

* Re: Luatex error in latest beta (standalone)
  2012-08-03 13:04 Luatex error in latest beta (standalone) Alan Bowen
  2012-08-03 14:04 ` Keith J. Schultz
@ 2012-08-09 21:25 ` Aditya Mahajan
  2012-08-09 22:37   ` Hans Hagen
  1 sibling, 1 reply; 12+ messages in thread
From: Aditya Mahajan @ 2012-08-09 21:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Fri, 3 Aug 2012, Alan Bowen wrote:

> 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 to call global 'getdeltapage' (a nil value)

This bug is still present in the latest beta.

Aditya
___________________________________________________________________________________
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] 12+ messages in thread

* Re: Luatex error in latest beta (standalone)
  2012-08-09 21:25 ` Aditya Mahajan
@ 2012-08-09 22:37   ` Hans Hagen
  0 siblings, 0 replies; 12+ messages in thread
From: Hans Hagen @ 2012-08-09 22:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 9-8-2012 23:25, Aditya Mahajan wrote:
> On Fri, 3 Aug 2012, Alan Bowen wrote:
>
>> 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 to call global 'getdeltapage' (a nil value)
>
> This bug is still present in the latest beta.

Ah ... name typo .. I'll fix it (you can fix the function name a few 
lines above where you grep it).

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] 12+ messages in thread

end of thread, other threads:[~2012-08-09 22:37 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-03 13:04 Luatex error in latest beta (standalone) Alan Bowen
2012-08-03 14:04 ` Keith J. Schultz
2012-08-03 14:36   ` Alan Bowen
2012-08-03 15:01     ` Sietse Brouwer
2012-08-03 15:42       ` Alan Bowen
2012-08-03 17:03         ` Sietse Brouwer
2012-08-03 18:04           ` Alan Bowen
2012-08-03 21:20             ` Sietse Brouwer
2012-08-03 22:00               ` Alan Bowen
2012-08-03 16:10       ` Hans Hagen
2012-08-09 21:25 ` Aditya Mahajan
2012-08-09 22:37   ` Hans Hagen

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).