From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/90310 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: two questions on file handling Date: Sat, 21 Feb 2015 02:44:32 -0500 (EST) Message-ID: References: <54E7ACC5.4090005@gmx.es> <54E7AFC5.3000600@wxs.nl> <54E7B4FF.80106@gmx.es> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-877030943-1424504673=:21418" X-Trace: ger.gmane.org 1424504732 23620 80.91.229.3 (21 Feb 2015 07:45:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 21 Feb 2015 07:45:32 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Feb 21 08:45:20 2015 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YP4kZ-00012J-3V for gctc-ntg-context-518@m.gmane.org; Sat, 21 Feb 2015 08:45:19 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4F4781023A for ; Sat, 21 Feb 2015 08:45:18 +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 mNFqJbduYNc9 for ; Sat, 21 Feb 2015 08:45:17 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id F10E51023D for ; Sat, 21 Feb 2015 08:44:52 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id ECE2C10203 for ; Sat, 21 Feb 2015 08:44:48 +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 DP19BYQjmhkx for ; Sat, 21 Feb 2015 08:44:38 +0100 (CET) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 2286E101FA for ; Sat, 21 Feb 2015 08:44:38 +0100 (CET) Original-Received: from tombraider.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.12.86]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id t1L7iYZ5006369 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 21 Feb 2015 08:44:37 +0100 Original-Received: FROM [192.168.2.65] ((null) [135.0.226.162]) By tombraider.mr.itd.umich.edu ID 54E83761.67740.4947 ; Authuser adityam; 21 Feb 2015 02:44:33 EST In-Reply-To: <54E7B4FF.80106@gmx.es> User-Agent: Alpine 2.02 (OSX 1266 2009-07-14) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=141.211.12.86; country=US; region=Michigan; city=Ann Arbor; latitude=42.3241; longitude=-83.7113; http://maps.google.com/maps?q=42.3241,-83.7113&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07NSTIAJ5 - 459ddd65940b - 20150221 (trained as not-spam) Received-SPF: none (filter1-utr.mf.surf.net: domain of adityam@umich.edu does not designate permitted sender hosts) receiver=filter1-utr.mf.surf.net; client-ip=141.211.12.86; envelope-from=; helo=tombraider.mr.itd.umich.edu; identity=mailfrom X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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" Xref: news.gmane.org gmane.comp.tex.context:90310 Archived-At: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-877030943-1424504673=:21418 Content-Type: TEXT/PLAIN; charset=utf-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Fri, 20 Feb 2015, Pablo Rodriguez wrote: > On 02/20/2015 11:05 PM, Hans Hagen wrote: >> On 2/20/2015 10:53 PM, Pablo Rodriguez wrote: >>> I would like to compile something like (well, using pandoc): >>> >>> cat a.tex | contextjit --purgeall >>=20 >> won't work (imagine multiple runs) .. why pipe and not just "contextjit= =20 >> a.tex" > > Well, it was a more complex command: > > pandoc -S -s --section-divs book.md -t html -o book.xml > > Since I won=E2=80=99t use that book.xml for other purpose, I thought it w= ould be > better not to write it to disk. If you don't require multiple runs, you can use `context --pipe`, for=20 example: echo "\starttext Hello world \stoptext" | context --pipe Aditya --0-877030943-1424504673=:21418 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --0-877030943-1424504673=:21418--