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 /\
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
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
: 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 ___________________________________________________________________________________