From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/74903 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 21:37:48 -0800 Message-ID: <1331012268.17258.76.camel@kip-laptop> References: <1330916832.17258.45.camel@kip-laptop> <1330997549.17258.55.camel@kip-laptop> <1331003479.17258.62.camel@kip-laptop> <1331004991.17258.64.camel@kip-laptop> <1331005269.17258.66.camel@kip-laptop> <1331006202.17258.67.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="===============0320387344==" X-Trace: dough.gmane.org 1331012298 3374 80.91.229.3 (6 Mar 2012 05:38:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 6 Mar 2012 05:38:18 +0000 (UTC) Cc: mailing list for ConTeXt users To: Aditya Mahajan Original-X-From: ntg-context-bounces@ntg.nl Tue Mar 06 06:38:16 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 1S4n6F-0003bs-LI for gctc-ntg-context-518@m.gmane.org; Tue, 06 Mar 2012 06:38:15 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E9222CB2A5; Tue, 6 Mar 2012 06:38:14 +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 q9TSc2aRnh0R; Tue, 6 Mar 2012 06:38:12 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 12EA9CB292; Tue, 6 Mar 2012 06:38:12 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6217CCB292 for ; Tue, 6 Mar 2012 06:38:10 +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 kinMcAKFoNE4 for ; Tue, 6 Mar 2012 06:37:57 +0100 (CET) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id E325DCB28F for ; Tue, 6 Mar 2012 06:37:57 +0100 (CET) Original-Received: from homiemail-a48.g.dreamhost.com (caibbdcaaaaf.dreamhost.com [208.113.200.5]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q265btBT025896 for ; Tue, 6 Mar 2012 06:37:56 +0100 Original-Received: from homiemail-a48.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a48.g.dreamhost.com (Postfix) with ESMTP id E956B4F805C; Mon, 5 Mar 2012 21:37:50 -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=inwrX7el5/qodt/u1I2bo2w d+AVQSY7tq85Tt5+wus+R/8NuVqYSP/A5mJjcUP20j1LSx2RlaaoIUMqqoznk6Ad m2wjoaOWwshWw+5PRVkbUsj1zoqVQ41pbrtkQi9Kgo6Tf6cJELO884wuZx6FKKUK +yTpUNArO0NW+GXWYW1Y= 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=KtIjKUsH6SUYjsdzxQesqZoITFE=; b=qN1Y3Pb6OsHzqvVGSDmcO/a5uGitJIpR+U2Jo8ktIPqnfU+jhNQZCnmeQbVGD Ha/NTatSTVruTJmKCBKmKb2f/USicYL1mZtAzGPQ3PNfijEtX9RuEW5L5tijlbMj qkBDlf8CSOzy63GSviqcxJg7wSTyPpL1kF7ewUoOcL+lVU= 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-a48.g.dreamhost.com (Postfix) with ESMTPSA id E96274F805B; Mon, 5 Mar 2012 21:37:49 -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: 0RGG5BUnf - 54a58849e37e - 20120306 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 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:74903 Archived-At: --===============0320387344== Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-P6SpfHLu1eKTGZrOtWdv" --=-P6SpfHLu1eKTGZrOtWdv Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, 2012-03-06 at 00:04 -0500, Aditya Mahajan wrote: > Why don't you use the first version (\initializebazaarversion and=20 > \usebazaarversion)? >=20 > \def\initializeBazaar > {\ctxlua{context("\\global\\edef\\BazaarRevision{\%s}", > os.resultof"bzr revno | tr -d '\\n'")}} >=20 > \initializeBazaar Very good question. I suppose trying to get the automagic method to work doesn't matter since the above works fine. Thanks again Aditya. --=20 Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com --=-P6SpfHLu1eKTGZrOtWdv 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) iEYEABECAAYFAk9VoqsACgkQLXnfK7bii21NKgCeL+3zUGa+EDIwr+Gv+T4hfX1n mSQAnRY3uDiiLNS/PmfAj3wNWxqJZyhR =LcNC -----END PGP SIGNATURE----- --=-P6SpfHLu1eKTGZrOtWdv-- --===============0320387344== 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 ___________________________________________________________________________________ --===============0320387344==--