From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/55372 Path: news.gmane.org!not-for-mail From: Khaled Hosny Newsgroups: gmane.comp.tex.context Subject: Re: Thoughts on ConTeXt: ditched Date: Mon, 28 Dec 2009 17:12:24 +0200 Message-ID: <20091228151224.GA3717@khaled-laptop> References: <4B378347.8020700@gmail.com> <4B38B634.5000501@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1932779399==" X-Trace: ger.gmane.org 1262013167 9749 80.91.229.12 (28 Dec 2009 15:12:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Dec 2009 15:12:47 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Dec 28 16:12:40 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1NPHGy-0006hi-JW for gctc-ntg-context-518@m.gmane.org; Mon, 28 Dec 2009 16:12:40 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A811FC9C8E; Mon, 28 Dec 2009 16:12:40 +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 ipaUkmIxQZ8O; Mon, 28 Dec 2009 16:12:37 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9F30EC9BC1; Mon, 28 Dec 2009 16:12:37 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C0C29C9BC1 for ; Mon, 28 Dec 2009 16:12:36 +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 UBIx0NKkeMNK for ; Mon, 28 Dec 2009 16:12:34 +0100 (CET) Original-Received: from mail-fx0-f218.google.com (mail-fx0-f218.google.com [209.85.220.218]) by balder.ntg.nl (Postfix) with ESMTP id 310ABC9BBC for ; Mon, 28 Dec 2009 16:12:33 +0100 (CET) Original-Received: by fxm10 with SMTP id 10so9169321fxm.34 for ; Mon, 28 Dec 2009 07:12:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:from:to:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=aWZ3FtX0zFrQ4sQqvF2rFSAfVLsmjzjy2eVCAV31WNA=; b=hRNzzkTAO5zNsj1NMgfMFRbAHbDvur4r2wlPjnWW2d8wG0WFX+MZFFKfOJwth9nUa8 AHUtgcuh7JZe6p08f/4mflXGKzHFMkciCepJ0UNBYz35FDw7SbU6A1f/JoOm9r5MO2nM rqcWsCPzCPG+HSfyAFLTeAdoROiL3wpZIlTII= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=viTEVjWn5UTDkQgCF0rGSmdrMkgiOGL1whEZYuoaTZREA2+R0BbV53P5jf+JMItl5g +CU6rNX3tswzt4IyIlwwA64eR6nO3Ya+KtR0GuePI6EhskhPu+uu5JzPOceMO6+ia/8P O08MGfFJpwZSZZAKgtEWLCvrtpAz8TZS+44hQ= Original-Received: by 10.103.80.32 with SMTP id h32mr6340419mul.123.1262013153605; Mon, 28 Dec 2009 07:12:33 -0800 (PST) Original-Received: from localhost ([41.238.235.4]) by mx.google.com with ESMTPS id n7sm34641644mue.42.2009.12.28.07.12.31 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 28 Dec 2009 07:12:32 -0800 (PST) In-Reply-To: <4B38B634.5000501@gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:55372 Archived-At: --===============1932779399== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pWyiEgJYm5f9v55/" Content-Disposition: inline --pWyiEgJYm5f9v55/ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Dec 28, 2009 at 02:44:20PM +0100, Manuel P. wrote: > >>\def\quotebox#1#2 > >> {\blank > >> \midaligned{\startbackground > >> \quotation{\em #1} \crlf --#2 > >> \stopbackground} > >> \blank} > >>---- > >> > >>- the above \quotebox command, in some cases, sends pdftex and luatex (= MKII and MKIV) to the moon with an infinite loop (100% CPU). > >I guess this is a result of your own definition of the \quotebox macro w= hich expects a space > >at the end of the command, you should write (untested) instead: > > > >\define[2]\quotebox > > {\blank > > \startalignment[middle] > > \startbackground > > \quotation{\em#1}\crlf--#2 > > \stopbackground > > \stopalignment > > \blank} > > >=20 > A infinite loop with 100% cpu for some spaces? Well, I wasn't > expecting this. Well, that is how TeX works, not a ConTeXt issue here; your \quotebox definition tells TeX to expect a space at the end of the macro, and it was looking for it. Regards, Khaled --=20 Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer --pWyiEgJYm5f9v55/ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAks4ytcACgkQRoqITGOuyPJgFQCff7m+ikU0yOHTgNH0xlvanPdy dkkAn3mjlAWbGkxswLqCuoMkvqQNY1d7 =RSeV -----END PGP SIGNATURE----- --pWyiEgJYm5f9v55/-- --===============1932779399== 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 ___________________________________________________________________________________ --===============1932779399==--