ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Alan Bowen <bowenalan03@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Luatex error in latest beta (standalone)
Date: Fri, 3 Aug 2012 14:04:00 -0400	[thread overview]
Message-ID: <CAFMOkGXM60M=4s3c+uoKnbbwP3t+d5tD-7=_zrWsyexC5RKmhQ@mail.gmail.com> (raw)
In-Reply-To: <CAF=dkzzYuE9eiSTeZ-B4SgUR6V+F-racG5PMsTwHV2Up_p1YJA@mail.gmail.com>


[-- 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
___________________________________________________________________________________

  reply	other threads:[~2012-08-03 18:04 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-03 13:04 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 [this message]
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

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='CAFMOkGXM60M=4s3c+uoKnbbwP3t+d5tD-7=_zrWsyexC5RKmhQ@mail.gmail.com' \
    --to=bowenalan03@gmail.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).