From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/77690 Path: news.gmane.org!not-for-mail From: Otared Kavian Newsgroups: gmane.comp.tex.context Subject: Re: 2 columns: 1 language per column (solved) Date: Wed, 1 Aug 2012 16:17:45 +0200 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> <13F88A96-AC72-4308-8A36-26DEA4EDAD7F@emory.edu> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1485\)) Content-Type: multipart/mixed; boundary="===============0819750906==" X-Trace: dough.gmane.org 1343830676 29801 80.91.229.3 (1 Aug 2012 14:17:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 1 Aug 2012 14:17:56 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Aug 01 16:17:55 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 1SwZkJ-00087p-4P for gctc-ntg-context-518@m.gmane.org; Wed, 01 Aug 2012 16:17:55 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 18E0510207; Wed, 1 Aug 2012 16:17:54 +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 XN3xE9oypU37; Wed, 1 Aug 2012 16:17:52 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 652FF101F3; Wed, 1 Aug 2012 16:17:52 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6E699101F3 for ; Wed, 1 Aug 2012 16:17:51 +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 nVSez8ZPPJlR for ; Wed, 1 Aug 2012 16:17:45 +0200 (CEST) Original-Received: from filter3-utr.mf.surf.net (filter3-utr.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id D0946101EF for ; Wed, 1 Aug 2012 16:17:45 +0200 (CEST) Original-Received: from mail-wg0-f45.google.com (mail-wg0-f45.google.com [74.125.82.45]) by filter3-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q71EHiHK008212 for ; Wed, 1 Aug 2012 16:17:45 +0200 Original-Received: by wgbdq12 with SMTP id dq12so5275159wgb.2 for ; Wed, 01 Aug 2012 07:17:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:message-id:mime-version:subject:date:references :to:in-reply-to:x-mailer; bh=/0/RS17wRajybHtruIp717eRuMJ6T0jknotY51sxT3k=; b=Pdh8j7oDcPoviqwMEC46oF0fD7Wmx27cgHRghA/xaos+khne3uvwBcBr3OC6k0iruM rPrMeNXwBdWT4X65cifzVeXzjpuLd6978aBYJ9mtSa3y1bnVjojNA1GWUbjzfffcsBB0 uk0K3g1IYFZvG4Ox1wrUtYcfwCZh5Tj6BegMYjcgfFICt6VfqbaTUAWL6DvyfEdIcfjA vKq5/MgHVsSzDZH87G5OcNG23fu90YWoHQrlmkEm32UYBqtRc5MjflyhfiNGxZcjsrLT BIudakDFl7SM9viO++TXZF3mKXfXfU+sMoAmiydS2MvXEPyKzBcxD+8tWxjmplCXkeTL Na1A== Original-Received: by 10.180.78.4 with SMTP id x4mr12279864wiw.19.1343830664544; Wed, 01 Aug 2012 07:17:44 -0700 (PDT) Original-Received: from lmv-uvsq-102.home (AOrleans-553-1-44-5.w92-152.abo.wanadoo.fr. [92.152.10.5]) by mx.google.com with ESMTPS id eu4sm28117919wib.2.2012.08.01.07.17.42 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 01 Aug 2012 07:17:43 -0700 (PDT) In-Reply-To: <13F88A96-AC72-4308-8A36-26DEA4EDAD7F@emory.edu> X-Mailer: Apple Mail (2.1485) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.82.45; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08HFqhIXt - 1512b9c90ab9 - 20120801 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 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:77690 Archived-At: --===============0819750906== Content-Type: multipart/alternative; boundary="Apple-Mail=_DDB11623-253A-4B6E-B50E-F3ACA4360620" --Apple-Mail=_DDB11623-253A-4B6E-B50E-F3ACA4360620 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On 1 ao=FBt 2012, at 14:44, "Rogers, Michael K" = wrote: >> [=85] >>> If you like, add these three lines to the beginning of your .tex = file to force TeXShop to use ConTeXt-CLD: >>>=20 >>> ------------CUT HERE-------------- >>> --[[ >>> %!TEX TS-program =3D ConTeXt-CLD >>> ]]-- >>> ------------CUT HERE-------------- >=20 > You need all three lines. The TeX comment has to be enclosed in a Lua = comment. The double hyphen after the "]]" is optional, I think, but = I've seen it done that way. (As a neophyte, I imitate.) Thanks for the information: indeed the three lines above allow a CLD = code in a TEX file to be typeset by ConTeXt, using the TeXShop engine = created with your indications. By the way, as you guessed the third line can be either ]]-- or ]] > @Hans, the problem with TeXShop is that it seems to refuse to process = files whose names do not end in .tex, AFAIK. (The typeset button is = disabled.) So a straightforward solution seems impossible. You can = always type "context file.cld" in a terminal window. Best regards: OK= --Apple-Mail=_DDB11623-253A-4B6E-B50E-F3ACA4360620 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252 mroge02@emory.edu> = wrote:
[=85]
If you like, add these three lines to the = beginning of your .tex file to force TeXShop to use ConTeXt-CLD:

------------CUT HERE--------------
--[[
%!TEX TS-program =3D ConTeXt-CLD
]]--
------------CUT = HERE--------------

You need all three lines.  The TeX comment has to be enclosed = in a Lua comment.  The double hyphen after the "]]" is optional, I = think, but I've seen it done that way.  (As a neophyte, I = imitate.)

Thanks for the = information: indeed the three lines above allow a CLD code in a TEX file = to be typeset by ConTeXt, using the TeXShop engine created with your = indications.
By the way, as you guessed the third line can be = either
]]--
or
]]

<= br>
@Hans, the problem with TeXShop is that it seems to refuse to = process files whose names do not end in .tex, AFAIK.  (The typeset = button is disabled.)  So a straightforward solution seems = impossible.  You can always type "context file.cld" in a terminal window.

Best regards: = OK
= --Apple-Mail=_DDB11623-253A-4B6E-B50E-F3ACA4360620-- --===============0819750906== 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 ___________________________________________________________________________________ --===============0819750906==--