From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/66803 Path: news.gmane.org!not-for-mail From: "Philipp A." Newsgroups: gmane.comp.tex.context Subject: Re: Compile script Date: Thu, 10 Mar 2011 13:21:15 +0100 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1773540047==" X-Trace: dough.gmane.org 1299759698 19825 80.91.229.12 (10 Mar 2011 12:21:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 10 Mar 2011 12:21:38 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Mar 10 13:21:34 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pxes1-0000eu-VG for gctc-ntg-context-518@m.gmane.org; Thu, 10 Mar 2011 13:21:34 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 509E9CAAD3; Thu, 10 Mar 2011 13:21: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 J01yq8AXmyyq; Thu, 10 Mar 2011 13:21:30 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B55EFCAACF; Thu, 10 Mar 2011 13:21:30 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 797A8CAACF for ; Thu, 10 Mar 2011 13:21:28 +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 1gH6DOyqcHOM for ; Thu, 10 Mar 2011 13:21:16 +0100 (CET) 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 E69B2CAAC8 for ; Thu, 10 Mar 2011 13:21:16 +0100 (CET) Original-Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com [74.125.82.45]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p2ACLFKd025944 for ; Thu, 10 Mar 2011 13:21:16 +0100 Original-Received: by wwb28 with SMTP id 28so1571302wwb.2 for ; Thu, 10 Mar 2011 04:21:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=YYG0zU7/P0XF13Lp/cJrvoCfRVstLW35GK7+HqEfHAs=; b=UDR+zvPKBoVz+fKMsnXHnx74cMItgfkCsZUPfh12Ub7NCwphv1nrAIIXpVpI32HGHH pS5K2DofSb6tevfgkUMdplJfIcZYiTNNMTI2/WZhILwjfGY5Yw0XJcTidM4gB17J6Lhw F4LJHYgs430zKwUUsf7MuoIROro+NXsu7h5oA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=PEoixeGrA1Mid1/l27hye/axdIKZbSZJHfIAdLzaoJKA15Bo1tYt/cmMLQdahzrYBJ Rozhja66YT263f3uzrFcmkMWYeo2iPHy4VuTjVNXAFOvOfyU6hi+atVB0eSqUUwkFADJ G5je5dpom+WNQ97yb4G29Onrf+OJipC0Y8YeY= Original-Received: by 10.227.53.195 with SMTP id n3mr6922172wbg.176.1299759675708; Thu, 10 Mar 2011 04:21:15 -0800 (PST) Original-Received: by 10.227.152.77 with HTTP; Thu, 10 Mar 2011 04:21:15 -0800 (PST) In-Reply-To: X-Google-Sender-Auth: J-bn429wmj-17vkBGPa5t8XsqFM 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: 05Eholg61 - 5aa92551ecbb - 20110310 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 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:66803 Archived-At: --===============1773540047== Content-Type: multipart/alternative; boundary=20cf30025864c396f6049e1fe163 --20cf30025864c396f6049e1fe163 Content-Type: text/plain; charset=UTF-8 2011/3/3 Cecil Westerhof > I have been asking a lot of questions lately and getting very speedy > replies. Time to give something back. ;-} > > I attached a script I made to easily compile ConTeXt files in the current > directory. Default it looks if there are tex files where there is no pdf > file, or the pdf file is older. Those are compiled. > > It is possible that a tex file has not changed, but a file that it depends > on has. That is why there is the parameter --all. When this is given, all > tex files are compiled. I hope it is useful to someone. > > -- > Cecil Westerhof good idea. it would be cool to extend it to utilize texworks' modelines, which are a pretty straightforward way to tell programs which files are root files and which command shjould be used to compile them (a bit like shebangs). i would like to see these standardized in some way (and a good start is to tell everyone they are there) flying sheep --20cf30025864c396f6049e1fe163 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
2011/3/3 Cecil Westerhof <<= a href=3D"mailto:cldwesterhof@gmail.com">cldwesterhof@gmail.com>
I have been asking a lot of questions lately and getting very speedy replie= s. Time to give something back. ;-}

I attached a script I made to ea= sily compile ConTeXt files in the current directory. Default it looks if th= ere are tex files where there is no pdf file, or the pdf file is older. Tho= se are compiled.

It is possible that a tex file has not changed, but a file that it depe= nds on has. That is why there is the parameter --all. When this is given, a= ll tex files are compiled. I hope it is useful to someone.

--
Cecil Westerhof

good idea. it would be cool to = extend it to utilize texworks' modelines, which are a pretty straightforward = way to tell programs which files are root files and which command shjould b= e used to compile them (a bit like shebangs).

i would like to see these standardized in some way (and a good start is= to tell everyone they are there)

flying sheep
--20cf30025864c396f6049e1fe163-- --===============1773540047== 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 ___________________________________________________________________________________ --===============1773540047==--