From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/66599 Path: news.gmane.org!not-for-mail From: Cecil Westerhof Newsgroups: gmane.comp.tex.context Subject: Compile script Date: Thu, 3 Mar 2011 16:00:54 +0100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=20cf30434544ce84c2049d954bb3 X-Trace: dough.gmane.org 1299164523 10914 80.91.229.12 (3 Mar 2011 15:02:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 3 Mar 2011 15:02:03 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Mar 03 16:01:59 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 1PvA2Q-0007Un-VH for gctc-ntg-context-518@m.gmane.org; Thu, 03 Mar 2011 16:01:59 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AFBEECAAAF; Thu, 3 Mar 2011 16:01:58 +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 lkYAK27TC9+A; Thu, 3 Mar 2011 16:01:43 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 83781CAA93; Thu, 3 Mar 2011 16:01:43 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3ADFDCAA89 for ; Thu, 3 Mar 2011 16:01:42 +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 7DrzRevFzxKT for ; Thu, 3 Mar 2011 16:01:27 +0100 (CET) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 6BD7DCAA9A for ; Thu, 3 Mar 2011 16:00:56 +0100 (CET) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p23F0tfP026284 for ; Thu, 3 Mar 2011 16:00:55 +0100 Original-Received: by fxm5 with SMTP id 5so1528394fxm.14 for ; Thu, 03 Mar 2011 07:00:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=duQ5p8sGJEBbNRC3CJUQTh8BeMo53Ih0itzhWAT3lek=; b=dNQNgvw74hCQC6kJJwXTm1mM/B9xcN4HfVh2Q7BmlTCN0tYHMu8RHpVdjttOqHi/8p zfQ/suFodUXDUp4+O7LOPXESO+FwA2oEVE3MD8mPB+Gc+amDlXTAzLQBPdpVAH1T6jMF OlYjfoj3YGYlzIEsIYvFnv7hV4M/xV+vDLIiM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=xAq7IZVUB3ukHQLnfkF1rCka2k8r3dZAFIvHwa+8gr48nE7YgUbAVjcwp3LvdJ2zTM opUOAkYZ2+7NXAQxVIVQQ5gYhRdwD2eyhORvvbpTHQHZ8YPZAcvSbJNNGxNn5+zQuKAK gN+wcMERsO0PdgPzXpAjPREMgla/v0uw6ydYo= Original-Received: by 10.223.79.74 with SMTP id o10mr1582897fak.63.1299164454349; Thu, 03 Mar 2011 07:00:54 -0800 (PST) Original-Received: by 10.223.10.4 with HTTP; Thu, 3 Mar 2011 07:00:54 -0800 (PST) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.41; 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: 03EeD0TW6 - 1ab5dd92da18 - 20110303 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 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:66599 Archived-At: --20cf30434544ce84c2049d954bb3 Content-Type: multipart/alternative; boundary=20cf30434544ce8470049d954bb1 --20cf30434544ce8470049d954bb1 Content-Type: text/plain; charset=ISO-8859-1 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 --20cf30434544ce8470049d954bb1 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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
--20cf30434544ce8470049d954bb1-- --20cf30434544ce84c2049d954bb3 Content-Type: application/x-sh; name="compileContextFiles.sh" Content-Disposition: attachment; filename="comp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Atb3QgJHtjb250ZXh0RmlsZX0gXV0gOyB0 aGVuCiAgICAgIGNvbXBpbGVDb250ZXh0RmlsZT0ieSIKICAgIGZpCiAgZmkKICBpZiBbWyAke2Nv bXBpbGVDb250ZXh0RmlsZX0gPT0gInkiIF1dIDsgdGhlbgogICAgZWNobyAiUHJvY2VzczogJHtj b250ZXh0RmlsZX0iCiAgICB0ZXhleGVjIC0tcHVyZ2VhbGwgLS10aW1lb3V0PTE1ICR7Y29udGV4 dEZpbGV9ID4ke0NPTlRFWFRfTE9HfQogIGVsc2UKICAgIGVjaG8gIiR7Y29udGV4dEZpbGV9IHdh cyBhbHJlYWR5IHVwIHRvIGRhdGUiCiAgZmkKZG9uZQplY2hvIFByb2Nlc3NlZCBhbGwgZmlsZXM= --20cf30434544ce84c2049d954bb3 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 ___________________________________________________________________________________ --20cf30434544ce84c2049d954bb3--