From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/77679 Path: news.gmane.org!not-for-mail From: "Rogers, Michael K" Newsgroups: gmane.comp.tex.context Subject: Re: 2 columns: 1 language per column (solved) Date: Tue, 31 Jul 2012 22:41:03 +0000 Message-ID: References: <87vch6muf0.fsf@micropit.couberia.bzh> <5017A00B.3020809@wxs.nl> <87ehns8emb.fsf@micropit.couberia.bzh> <5017A8F8.9060404@wxs.nl> <87obmw6mpv.fsf_-_@micropit.couberia.bzh> <877gtj7vcc.fsf@micropit.couberia.bzh> <939F439F-BEB6-4259-AFEF-594B93E1106C@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1343774483 17805 80.91.229.3 (31 Jul 2012 22:41:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 31 Jul 2012 22:41:23 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Aug 01 00:41:24 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 1SwL7x-0008RD-8s for gctc-ntg-context-518@m.gmane.org; Wed, 01 Aug 2012 00:41:21 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 40D4910200; Wed, 1 Aug 2012 00:41:20 +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 z7ZxF1Yxdq3z; Wed, 1 Aug 2012 00:41:16 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 9A11510206; Wed, 1 Aug 2012 00:41:16 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CDAA710206 for ; Wed, 1 Aug 2012 00:41:14 +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 UMBJf49V5p7A for ; Wed, 1 Aug 2012 00:41:11 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 4CC4B10200 for ; Wed, 1 Aug 2012 00:41:11 +0200 (CEST) Original-Received: from ws-mr1.cc.emory.edu (ws-mr1.cc.emory.edu [170.140.50.231]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q6VMf7b1016309 for ; Wed, 1 Aug 2012 00:41:09 +0200 Original-Received: from e14edge1w.Emory.Edu (emoryfloatdmz.cc.emory.edu [170.140.52.254]) by ws-mr1.cc.emory.edu (8.13.8/8.13.8) with ESMTP id q6VMf4jO030506 for ; Tue, 31 Jul 2012 18:41:04 -0400 Original-Received: from E14CH4W.Enterprise.emory.net (10.240.10.116) by e14edge1w.Emory.Edu (170.140.108.21) with Microsoft SMTP Server (TLS) id 14.2.283.3; Tue, 31 Jul 2012 18:41:04 -0400 Original-Received: from E14MBX23N.Enterprise.emory.net ([fe80::b473:ef05:b37f:5ccd]) by e14ch4w.Enterprise.emory.net ([::1]) with mapi id 14.02.0283.003; Tue, 31 Jul 2012 18:41:03 -0400 Thread-Topic: [NTG-context] 2 columns: 1 language per column (solved) Thread-Index: AQHNbyb2GFZ/CHv22E6ozESjeOTkdpdDxBMA///PZ6KAAJ0fAIAAD0cA In-Reply-To: <939F439F-BEB6-4259-AFEF-594B93E1106C@gmail.com> 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: <1FA24F0FB61B7243AA3E7D402C4943CE@Enterprise.emory.net> X-Emory-MailScanner-Information: Please contact the ISP for more information X-Emory-MailScanner-ID: q6VMf4jO030506 X-Emory-MailScanner: Found to be clean X-Emory-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-0.01, required 8, autolearn=disabled, T_RP_MATCHES_RCVD -0.01) X-Emory-MailScanner-From: mroge02@emory.edu X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=170.140.50.231; 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: 0VHFaF7aL - 5f9843933fed - 20120801 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 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:77679 Archived-At: If you wish to use TeXShop, you can set it up...in my typically kludgy way.= This mimics the TeXShop setup for Context Standalone (see http://wiki.con= textgarden.net/ConTeXt_Standalone/Mac_Installation) and assumes that "conte= xt" is in your regular execution path. Create a new plain-text file in ~/Library/TeXShop/Engines -- call it whatev= er you like -- let's say "ConTeXt-CLD.engine". Add these lines ------------CUT HERE-------------- #!/bin/bash context --forcecld "$1" ------------CUT HERE-------------- This will create a ConTeXt-CLD menu item in the popup menu on new file wind= ows. (You may have to restart TeXShop first.) You can select it and run Pe= ter's column program. If you like, add these three lines to the beginning of your .tex file to fo= rce TeXShop to use ConTeXt-CLD: ------------CUT HERE-------------- --[[ %!TEX TS-program =3D ConTeXt-CLD ]]-- ------------CUT HERE-------------- A drawback is that your cld files will be masquerading as .tex files. But = you can process cld files in TeXShop if you want to. Michael On Jul 31, 2012, at 5:46 PM, Otared Kavian wrote: > Thanks Peter! It is a very nice piece of code, but could this be included= in a TeX file? (Otherwise one cannot use something like TeXShop on a Mac t= o typeset the file). > > Best regards: OK > > > On 31 juil. 2012, at 18:23, Peter M=FCnster wrote: > >> On Tue, Jul 31 2012, Otared Kavian wrote: >> >>> Can you give please an example showing how to use your code? >> >> Save it in "test.cld", then run "context test.cld". >> Then open "test.pdf" in a PDF-viewer. >> >> -- >> Peter >> ________________________________________________________________________= ___________ >> If your question is of interest to others as well, please add an entry t= o the Wiki! >> >> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-c= ontext >> 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= 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 > _________________________________________________________________________= __________ ________________________________ 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 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 ___________________________________________________________________________= ________