From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/74883 Path: news.gmane.org!not-for-mail From: Kip Warner Newsgroups: gmane.comp.tex.context Subject: Re: Including command output Date: Mon, 05 Mar 2012 17:32:29 -0800 Message-ID: <1330997549.17258.55.camel@kip-laptop> References: <1330916832.17258.45.camel@kip-laptop> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2026212063==" X-Trace: dough.gmane.org 1330997567 15078 80.91.229.3 (6 Mar 2012 01:32:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 6 Mar 2012 01:32:47 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Mar 06 02:32:46 2012 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 1S4jGa-0006IX-Ux for gctc-ntg-context-518@m.gmane.org; Tue, 06 Mar 2012 02:32:41 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 70C39CB2AA; Tue, 6 Mar 2012 02:32: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 1J-nlbiYHsxY; Tue, 6 Mar 2012 02:32:37 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3DFFECB2A2; Tue, 6 Mar 2012 02:32:37 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C8230CB2A2 for ; Tue, 6 Mar 2012 02:32:35 +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 SioTFpp1Paeg for ; Tue, 6 Mar 2012 02:32:33 +0100 (CET) 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 4CAB8CB29B for ; Tue, 6 Mar 2012 02:32:33 +0100 (CET) Original-Received: from homiemail-a54.g.dreamhost.com (caibbdcaaaaf.dreamhost.com [208.113.200.5]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q261WVFr028912 for ; Tue, 6 Mar 2012 02:32:32 +0100 Original-Received: from homiemail-a54.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a54.g.dreamhost.com (Postfix) with ESMTP id 1B1A13A4061; Mon, 5 Mar 2012 17:32:29 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=thevertigo.com; h=subject:from:to :cc:in-reply-to:references:content-type:date:message-id: mime-version; q=dns; s=thevertigo.com; b=et/173ewA4Vnsmk9OI2ib3t pBodH7R65YTVuMRu7k+BCyC3Fw2wIATnciKFXqiq6vn6VBZc49GDFkVJmjWDvSwy dG/r3oW4eJsnBQf1iXGnkKzFFJ5oI6BVUmmNdXJjXOwPWUnnhIWa3+4k0Emv4Cf0 DLlHAfXMLFEikIazE4dg= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=thevertigo.com; h=subject :from:to:cc:in-reply-to:references:content-type:date:message-id: mime-version; s=thevertigo.com; bh=QYeED+/0vfqy7cnqGrL4z10FomE=; b=Z8rSUD2USmzJHSQeVZohp41HSvfmeNquvj3Gdkn68HAk7KYm9z7ZsoIZWoXZV hOCT8LVT5qx3jGIb/aKZipi3+PIyl9/Kj7KVbYqUFnAXVq7YEFeIfGqbWdljjc23 6bDeppHqkBJjzYmJqWvBFqVDY6MLXjoelOCtg1Iy9+hzR0= Original-Received: from [192.168.1.64] (76-10-184-87.dsl.teksavvy.com [76.10.184.87]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: kip@thevertigo.com) by homiemail-a54.g.dreamhost.com (Postfix) with ESMTPSA id D8F553A4058; Mon, 5 Mar 2012 17:32:28 -0800 (PST) In-Reply-To: X-Mailer: Evolution 2.32.1 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=208.113.200.5; country=US; region=CA; city=Brea; postalcode=92821; latitude=33.9269; longitude=-117.8612; metrocode=803; areacode=714; http://maps.google.com/maps?q=33.9269,-117.8612&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0HGG1wweE - f4c30cf6bf24 - 20120306 (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.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:74883 Archived-At: --===============2026212063== Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-Lz8ADW+/Q5UpuEVh58Ev" --=-Lz8ADW+/Q5UpuEVh58Ev Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, 2012-03-04 at 23:20 -0500, Aditya Mahajan wrote: > If you want to use the automagic way, you can define \BazaarRevision to= =20 > redefined \BazaarRevision, for example: >=20 > \def\BazaarRevision > {\ctxlua{context.setevalue( > "BazaarRevision", > os.resultof"bzr revno | tr -d '\\n'")}% > \BazaarRevision} Hey Aditya. I tried the automagic method, but ConTeXt bails: ! TeX capacity exceeded, sorry [text input levels=3D127]. \BazaarRevision ...ltof"bzr revno | tr -d '\\n'")} \BazaarRevision=20 l.4 } =20 \BazaarRevision ...ltof"bzr revno | tr -d '\\n'")} \BazaarRevision=20 l.4 } =20 \BazaarRevision ...ltof"bzr revno | tr -d '\\n'")} \BazaarRevision=20 l.4 } =20 ... l.58=20 =20 ! =3D=3D> Fatal error occurred, no output PDF file produced! mtx-context | fatal error: return code: 1 Based on what I saw from htop, it looks like it running the command into the ground over and over again which is the exact opposite of what we are trying to do. --=20 Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com --=-Lz8ADW+/Q5UpuEVh58Ev Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEABECAAYFAk9VaS0ACgkQLXnfK7bii20P7QCfYXfO+xyOHORy1SNbCqN9PS9J W8MAn3GxMwiN43lFQcu2fRih9KhwzfMe =J0Dz -----END PGP SIGNATURE----- --=-Lz8ADW+/Q5UpuEVh58Ev-- --===============2026212063== 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 ___________________________________________________________________________________ --===============2026212063==--