ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Alasdair McAndrew <amca01@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: A trouble with setupbodyfontenvironment
Date: Fri, 1 Mar 2013 21:27:29 +1100	[thread overview]
Message-ID: <CAPGiC768VSVdeS_vQV_z0D0ohHxds9H44f-JxTjaenrDwyARkQ@mail.gmail.com> (raw)
In-Reply-To: <20130301095409.GE29684@homerow>


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

I'll try to sort out a minimal example; unfortunately neither of those
suggestions worked.

In the meantime, here's some more info from the log file:

-----
(chapter.tex
! LuaTeX error
.../context/tex/texmf-context/tex/context/base/strc-doc.lua:156: attempt to
index local 'metadata' (a number value)
stack traceback:
        .../context/tex/texmf-context/tex/context/base/strc-doc.lua:156: in
function 'load'
        .../context/tex/texmf-context/tex/context/base/strc-doc.lua:167: in
function '__index'
        .../context/tex/texmf-context/tex/context/base/strc-doc.lua:143: in
function 'save'
        .../context/tex/texmf-context/tex/context/base/strc-doc.lua:371: in
function 'somelevel'
        [string "\directlua "]:1: in main chunk.

system          > tex > error on line 1 in file chapter.tex: LuaTeX error
 ...

 1 >>  \chapter[ch:this]{My first chapter}
-----

It seems to be a mkiv issue; when I attempted to typeset the file(s) with
texexec (mkii), I had no problem.

Thanks again,
Alasdair



On Fri, Mar 1, 2013 at 8:54 PM, Marco Patzer <homerow@lavabit.com> wrote:

> On 2013–03–01 Alasdair McAndrew wrote:
>
> > Arrgh: more problems.  I've downloaded and installed context standalone
> > (version 2013.02.26 00:17).  Now when I run context I get an error (for
> the
> > first time ever) when it reaches a chapter heading:
> >
> > l.1 ...[ch:this]{My first chapter}
> >
> > ? h
> > The lua interpreter ran into a problem, so the
> > remainder of this lua chunk will be ignored.
> >
> > I have the following setups:
> >
> > \def\chap#1#2{\vbox{\darkgreen Chapter
> > #1\crlf\framed[frame=off,topframe=on]{#2}}}
> > \def\uchap#1#2{#2}
> >
> >
> \setuphead[chapter][command=\chap,style=bfd,after={\blank[1cm]},textcolor=darkgreen,numbercolor=darkgreen]
> >
> > None of this has ever given me any problems before.
>
> It's easier to tell with a minimal example. But here's a guess. Try
>
>   \unexpanded\def#1#2\chap{…}
>
> or
>
>   \define[2]\chap{…}
>
>
> Marco
>
>
> ___________________________________________________________________________________
> 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
>
> ___________________________________________________________________________________
>



-- 
Blog: http://amca01.wordpress.com
Web:  http://sites.google.com/site/amca01/
Facebook: http://www.facebook.com/alasdair.mcandrew

[-- Attachment #1.2: Type: text/html, Size: 4257 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:[~2013-03-01 10:27 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-28 11:46 Alasdair McAndrew
2013-02-28 12:02 ` Marco Patzer
2013-02-28 13:25   ` Alasdair McAndrew
2013-02-28 13:40     ` Marco Patzer
2013-02-28 23:51       ` Alasdair McAndrew
2013-03-01  0:01         ` Aditya Mahajan
2013-03-01  9:47           ` Alasdair McAndrew
2013-03-01  9:54             ` Marco Patzer
2013-03-01 10:27               ` Alasdair McAndrew [this message]
2013-03-01 14:10                 ` Hans Hagen
2013-03-01 14:11                 ` Hans Hagen
2013-03-01 19:18         ` Bill Meahan
2013-03-01 23:24           ` Alasdair McAndrew

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=CAPGiC768VSVdeS_vQV_z0D0ohHxds9H44f-JxTjaenrDwyARkQ@mail.gmail.com \
    --to=amca01@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).