From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/90317 Path: news.gmane.org!not-for-mail From: Pablo Rodriguez Newsgroups: gmane.comp.tex.context Subject: Re: two questions on file handling Date: Sat, 21 Feb 2015 22:31:57 +0100 Message-ID: <54E8F94D.2010209@gmx.es> References: <54E7ACC5.4090005@gmx.es> <54E7AFC5.3000600@wxs.nl> <54E7B4FF.80106@gmx.es> <54E7B8A4.50508@wxs.nl> <54E8568D.6030809@gmx.es> <54E86C75.9010401@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------010901070902010006050606" X-Trace: ger.gmane.org 1424554372 25438 80.91.229.3 (21 Feb 2015 21:32:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 21 Feb 2015 21:32:52 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Feb 21 22:32:35 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 1YPHf8-0002LC-3V for gctc-ntg-context-518@m.gmane.org; Sat, 21 Feb 2015 22:32:34 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4DDD710234 for ; Sat, 21 Feb 2015 22:32:33 +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 HBY4xD_ASTgJ for ; Sat, 21 Feb 2015 22:32:32 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 454E81023A for ; Sat, 21 Feb 2015 22:32:08 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D13BA101EA for ; Sat, 21 Feb 2015 22:32:04 +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 NX8KxkyLhtSW for ; Sat, 21 Feb 2015 22:32:04 +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 06F2C101E8 for ; Sat, 21 Feb 2015 22:32:03 +0100 (CET) Original-Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id t1LLW2Hd023964 for ; Sat, 21 Feb 2015 22:32:03 +0100 Original-Received: from [192.168.0.154] ([188.84.213.114]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0LuKHz-1XRNTx0NZH-011jzJ for ; Sat, 21 Feb 2015 22:32:02 +0100 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 In-Reply-To: <54E86C75.9010401@wxs.nl> X-Provags-ID: V03:K0:NZISs1yTlIPlrI8qXOTDq4zz22hhMnQ26LHW84I1Haa0mbuqRVO 0ovvCTO6tWPVczQTVNZymLP0gwGcTRkFlROGXGEnpnVQBLYcb983VTmd/56vVXuPfBWoHB4 wyKlvS2q3XOb1Ly2iAqcfn28799qTHuzJAOayJ1Dlsqxe2E2Dw8psi166YvNo0zFr0+o2Si ONjtthguytMarXhuS2iOw== X-UI-Out-Filterresults: notjunk:1; X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=212.227.17.20; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0WNT9w3JB - 960f1fb91273 - 20150221 (trained as not-spam) Received-SPF: pass (filter5-til.mf.surf.net: domain of oinos@gmx.es designates 212.227.17.20 as permitted sender) receiver=filter5-til.mf.surf.net; client-ip=212.227.17.20; envelope-from=; helo=mout.gmx.net; identity=mailfrom X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 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:90317 Archived-At: This is a multi-part message in MIME format. --------------010901070902010006050606 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit On 02/21/2015 12:31 PM, Hans Hagen wrote: > On 2/21/2015 10:57 AM, Pablo Rodriguez wrote: >> On 02/20/2015 11:43 PM, Hans Hagen wrote: >>> [...] >>> (actually there is a whole subsystem driven by ctx files that can be set >>> up to take a file, convert it, use environments and modules etc .. we >>> sometimes use that for projects .. but i sometimes wonder if it should go) >> >> Maybe including them in ConTeXt might help others. > > they have been included for ages (ctx files), just like mtxrun has some > features that help integrating in services (there is no difference > between what we run here and what is in the distribution) Many thanks for your reply, Hans. After your tip from yesterday, I started browsing what was in the mtx-context-*.tex files you told me. I discovered that the first one (mtx-context-arrange.tex) could spare me a special file on imposition (well, actually two). BTW, I think the example should be improved in the example (diff attached). The more I use ConTeXt, the more I realize how ignorant I am and how awesome ConTeXt is. Many thanks for your excellent work, Pablo -- http://www.ousia.tk --------------010901070902010006050606 Content-Type: text/x-patch; name="minor-detail.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="minor-detail.diff" --- mtx-context-arrange.tex 2015-02-21 22:21:19.454535843 +0100 +++ ctxbase/mtx-context-arrange.tex 2015-02-21 21:19:44.821220033 +0100 @@ -27,7 +27,7 @@ % --printformat : 2UP, etc % --paperformat=spec : paper*print or paperxprint % -% example: context --extra=arrange --printformat=2UP --paperformat=A4,A3,landscape myfile +% example: context --extra=arrange --printformat=2UP --paperformat=A4*A3,landscape myfile % % end help --------------010901070902010006050606 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= --------------010901070902010006050606--