From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/81002 Path: news.gmane.org!not-for-mail From: Marco Patzer Newsgroups: gmane.comp.tex.context Subject: Re: A trouble with setupbodyfontenvironment Date: Fri, 1 Mar 2013 10:54:09 +0100 Message-ID: <20130301095409.GE29684@homerow> References: <20130228120207.GB3733@homerow> <20130228134046.GA29684@homerow> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0759968657==" X-Trace: ger.gmane.org 1362131662 31592 80.91.229.3 (1 Mar 2013 09:54:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 1 Mar 2013 09:54:22 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Mar 01 10:54:44 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UBMfr-0007zZ-PZ for gctc-ntg-context-518@m.gmane.org; Fri, 01 Mar 2013 10:54:43 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 79F56101E2; Fri, 1 Mar 2013 10:54:22 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Qd8fPauE6wkM; Fri, 1 Mar 2013 10:54:20 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 7C6E0101E3; Fri, 1 Mar 2013 10:54:20 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 621AF101E3 for ; Fri, 1 Mar 2013 10:54:19 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id XDiRAC-hVQM9 for ; Fri, 1 Mar 2013 10:54:18 +0100 (CET) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 5F4B7101E2 for ; Fri, 1 Mar 2013 10:54:18 +0100 (CET) Original-Received: from karen.lavabit.com (karen.lavabit.com [72.249.41.33]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r219sCZE015614 for ; Fri, 1 Mar 2013 10:54:15 +0100 Original-Received: from e.earth.lavabit.com (e.earth.lavabit.com [192.168.111.14]) by karen.lavabit.com (Postfix) with ESMTP id CC1F611BCE3 for ; Fri, 1 Mar 2013 03:54:11 -0600 (CST) Original-Received: from homerow (miun107-141.dynamic.miun.se [193.10.107.141]) by lavabit.com with ESMTP id J86VJ8KOG7IY for ; Fri, 01 Mar 2013 03:54:11 -0600 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=lavabit; d=lavabit.com; b=GJweNuWYBtAosZizcdIgPDaVBD3chyX4ZWY4eAEqY6iJ831+Ld5MvsJzvFfMcK3wTdG83wQFLKd1rHIjMw57dCcOUX7OeFsJWvQEJ2Gqf1Aa0UHue3Rkcn2nnd0HnxDKuisOFJmGEoPdEjUwPJBUmdSltcg7ruxY/h4Ea1vpnOo=; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent; Mail-Followup-To: ntg-context@ntg.nl In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Bayes-Prob: 0.0024 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=72.249.41.33; country=US; region=TX; city=Dallas; postalcode=75204; latitude=32.8019; longitude=-96.7883; metrocode=623; areacode=214; http://maps.google.com/maps?q=32.8019,-96.7883&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0TJ69Sdex - ead584658a57 - 20130301 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:81002 Archived-At: --===============0759968657== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="h56sxpGKRmy85csR" Content-Disposition: inline --h56sxpGKRmy85csR Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2013=E2=80=9303=E2=80=9301 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 t= he > first time ever) when it reaches a chapter heading: >=20 > l.1 ...[ch:this]{My first chapter} >=20 > ? h > The lua interpreter ran into a problem, so the > remainder of this lua chunk will be ignored. >=20 > I have the following setups: >=20 > \def\chap#1#2{\vbox{\darkgreen Chapter > #1\crlf\framed[frame=3Doff,topframe=3Don]{#2}}} > \def\uchap#1#2{#2} >=20 > \setuphead[chapter][command=3D\chap,style=3Dbfd,after=3D{\blank[1cm]},tex= tcolor=3Ddarkgreen,numbercolor=3Ddarkgreen] >=20 > 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{=E2=80=A6} or \define[2]\chap{=E2=80=A6} Marco --h56sxpGKRmy85csR Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQEcBAEBAgAGBQJRMHrBAAoJEPGqVaNSn0iK3GQIAI0a2s7Cjt7AK9K9IlBF0JZj z3n9r5u5+yeoR3PuPjcOydQz0IO+yVf1cx6HN2//OKdyVXl6X24KKdJsRjYlYjVO uTENftGvfC79q/TnNiCo7VDsHty5AnERNe5EeI8H3LeR/R97fod5g5jh2PxCafmX e8vdSWUdPlUFzgmG5+tvn/Wa9u0h3NmvtNJtHoD5hbU53erkF4lqaWshGcV3aG/a VK55FBGyAgDV/PisfVnaoyovYZRpXdJTuMJB5T7HkZ4o3utBecdGxxIbbdQJqeja oHgANJYMTwb2G0A/VwD8sUO9X1hpub1nQk8wvNSqgvgmtItFBM8BB/SYmTxmxx4= =Rtkp -----END PGP SIGNATURE----- --h56sxpGKRmy85csR-- --===============0759968657== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0759968657==--