From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/81531 Path: news.gmane.org!not-for-mail From: "Rogers, Michael K" Newsgroups: gmane.comp.tex.context Subject: Re: Using \stretched in macro fails Date: Sat, 6 Apr 2013 14:45:25 +0000 Message-ID: <1E5A50C784A8AD44B420EF5A1E9B2806D663A8D9@e14mbx23n.Enterprise.emory.net> References: <1E5A50C784A8AD44B420EF5A1E9B2806D663A7DA@e14mbx23n.Enterprise.emory.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1365271373 27123 80.91.229.3 (6 Apr 2013 18:02:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 6 Apr 2013 18:02:53 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Apr 06 20:02:55 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 1UOWf0-00022f-Ls for gctc-ntg-context-518@m.gmane.org; Sat, 06 Apr 2013 19:12:14 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7417610208; Sat, 6 Apr 2013 16:45:46 +0200 (CEST) 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 1Ti0onmHabOy; Sat, 6 Apr 2013 16:45:40 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 3FB01101E7; Sat, 6 Apr 2013 16:45:40 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E673E101E7 for ; Sat, 6 Apr 2013 16:45:38 +0200 (CEST) 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 4P44-cFU2fF7 for ; Sat, 6 Apr 2013 16:45:35 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id EF371101E3 for ; Sat, 6 Apr 2013 16:45:34 +0200 (CEST) Original-Received: from ws-mr3.cc.emory.edu (ws-mr3.cc.emory.edu [170.140.50.233]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r36EjVVB026992 for ; Sat, 6 Apr 2013 16:45:33 +0200 Original-Received: from e14edge1n.Emory.Edu (e14edge1n.eu.emory.edu [170.140.52.18] (may be forged)) by ws-mr3.cc.emory.edu (8.13.8/8.13.8) with ESMTP id r36EjQPM027533 for ; Sat, 6 Apr 2013 10:45:27 -0400 Original-Received: from E14CH3N.Enterprise.emory.net (10.240.8.115) by e14edge1n.Emory.Edu (170.140.52.18) with Microsoft SMTP Server (TLS) id 14.2.318.1; Sat, 6 Apr 2013 10:45:26 -0400 Original-Received: from E14MBX23N.Enterprise.emory.net ([fe80::b473:ef05:b37f:5ccd]) by e14ch3n.Enterprise.emory.net ([::1]) with mapi id 14.03.0091.001; Sat, 6 Apr 2013 10:45:26 -0400 Thread-Topic: [NTG-context] Using \stretched in macro fails Thread-Index: AQHOMtLHWD8lteQPd0i6jtOka2zZIJjJiCYA In-Reply-To: <1E5A50C784A8AD44B420EF5A1E9B2806D663A7DA@e14mbx23n.Enterprise.emory.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [170.140.30.131] Content-ID: X-Emory-MailScanner-Information: Please contact the ISP for more information X-Emory-MailScanner-ID: r36EjQPM027533 X-Emory-MailScanner: Found to be clean X-Emory-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-2.373, required 8, autolearn=disabled, RP_MATCHES_RCVD -2.37) X-Emory-MailScanner-From: mroge02@emory.edu X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=170.140.50.233; country=US; region=GA; city=Atlanta; postalcode=30322; latitude=33.7952; longitude=-84.3248; metrocode=524; areacode=404; http://maps.google.com/maps?q=33.7952,-84.3248&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0WJkCJw2M - 28d40b680ffc - 20130406 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 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:81531 Archived-At: OK, it's not the macro. This fails (same error: ! This can't happen (add_d= isc_widths)): \starttext St. \stretched[width=3D]{Banac} \stoptext This works: \starttext St. \stretched[width=3D]{Bana} \stoptext Strange. On Apr 6, 2013, at 10:26 AM, "Rogers, Michael K" wrote: > Hi, > = > Below \stretched works by itself, but causes a fatal error when in the ma= cro (\Name). I get the same result with all variants. > Perhaps there's a better way? > = > MWE: > = > %%%%%%%% > \def\Name{\stretched[width=3D]} > %\def\Name#1{\stretched[width=3D]{#1}} > %\define[1]\Name{\stretched[width=3D]{#1}} > = > \starttext > = > \stretched[width=3D]{Hi there!} > = > St. \Name{Banach} > = > \stoptext > %%%%%%%% > = > Here's part of the log: > = > ConTeXt ver: 2013.04.05 22:00 MKIV beta fmt: 2013.4.6 int: english/eng= lish > =85 > ! This can't happen (add_disc_widths). > = > system > tex > error on line 10 in file foo18453.tex: This can't= happen ( ... > = > 1 \def\Name{\stretched[width=3D]} > 2 \def\Name#1{\stretched[width=3D]{#1}} > 3 %\define[1]\Name{\stretched[width=3D]{#1}} > 4 > 5 \starttext > 6 > 7 \stretched[width=3D]{Hi there!} > 8 > 9 St. \Name{Banach} > 10 >> > 11 \stoptext > 12 > 13 > = > l.10 > = > ! =3D=3D> Fatal error occurred, no output PDF file produced! > mtx-context | fatal error: return code: 1 > = > ________________________________ > = > This e-mail message (including any attachments) is for the sole use of > the intended recipient(s) and may contain confidential and privileged > information. If the reader of this message is not the intended > recipient, you are hereby notified that any dissemination, distribution > or copying of this message (including any attachments) is strictly > prohibited. > = > If you have received this message in error, please contact > the sender by reply e-mail message and destroy all copies of the > original message (including attachments). > _________________________________________________________________________= __________ > 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-co= ntext > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > _________________________________________________________________________= __________ ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________