[NTG-context] A trouble with setupbodyfontenvironment

Marco Patzer homerow at lavabit.com
Fri Mar 1 10:54:09 CET 2013

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




-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20130301/cda0ebf1/attachment.pgp>

More information about the ntg-context mailing list