From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/109291 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ramkumar KB Newsgroups: gmane.comp.tex.context Subject: Re: Running mtxrun in a continuous batch mode Date: Sat, 7 Nov 2020 09:29:37 +0800 Message-ID: References: <001a4cfc-d1ec-dbc9-0f2a-3d9bf613a035@xs4all.nl> <1c813804-96ff-4b4c-9484-7e10fe3c2c5f@xs4all.nl> <200332d2-52c2-854d-2f0c-bce0f1f011f3@free.fr> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1973977746986838908==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32084"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Nov 07 02:30:16 2020 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kbD3Y-0008FB-Jo for gctc-ntg-context-518@m.gmane-mx.org; Sat, 07 Nov 2020 02:30:16 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id B84761A9F07; Sat, 7 Nov 2020 02:29:57 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id w4E0ztj9Ovbb; Sat, 7 Nov 2020 02:29:54 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A7E1A1A9F0C; Sat, 7 Nov 2020 02:29:54 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 107F81A9EED for ; Sat, 7 Nov 2020 02:29:53 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rO7W7KJ2BgB8 for ; Sat, 7 Nov 2020 02:29:50 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.167.42; helo=mail-lf1-f42.google.com; envelope-from=ramkumarkb@gmail.com; receiver= Original-Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com [209.85.167.42]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 55BE41A9EEB for ; Sat, 7 Nov 2020 02:29:50 +0100 (CET) Original-Received: by mail-lf1-f42.google.com with SMTP id b1so4454262lfp.11 for ; Fri, 06 Nov 2020 17:29:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=P9a1m/z/CQEfbsd+yfR6moPVGqv0Kg74dZjvwVJSohg=; b=azDlf/4LR4xmczY/IzhKorzu9pK2xv6DUv5mB7poq2DRTBAMWLy5SNEQNGTn601mY3 bvwTq02oMPoo7la0sFmpQSxY6OWEHcrSdJC8Gje2twWW2/c9kaXIVzhF0BA7sgf6V4uM sdXqbM40IxRoZ0o6dfXlapGhNRQHMMKwUCwHsYUMZpcx80zdnAXHIg+BbxlYsvdnViv/ /mXn+Jdk2MzT58ErSpUEc0202PHrC5Aq5+1Yg3wMcEwwl0WoM4+bPzl5kgfPP+2eNsKH JgJNeGgcoa5pus04k+JSUnmSKLChXM7AfEc8KEuqKxOwytnun8+vT5b23FLlN/bRakry S9Vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=P9a1m/z/CQEfbsd+yfR6moPVGqv0Kg74dZjvwVJSohg=; b=JbfaqUUZzPNhwcNmxvZumNwlYIqQj1FstbNmzlavKG4D3jvdRhbnc45DvN42h2WEFd SNFumnX+X0uigbbKvgf2CUcDl5w84ya0vz6ZX908EST61dQjmFxuQvmIJ4x2MOVNLZPI TMJGvV5F/Qu0+KDdLeOZfE3LONzMH70Aiep0c08xRVZx0SI23Mu/l/fYHcQ8H73sXzcJ kagwvANdKMuVmObKGMI4iAZVltSjb7GqAwtLKQ6rp9enu8vRBGSkzucf7OxAiNIxFxAk v1Tlc1Ul2SMshrpQSlDR1WtSN+FWaw9WpcnSDFq59ckljPB0oBmkGI6PaZzclk82HHZ4 YfAw== X-Gm-Message-State: AOAM533FTTqBIH0DDDO3Yj8hVw2Tfn2Qk+wbZWe9h0bPAE/Lf2r2cIlq w1gQiUrVIfTqlzps9nt74fDx64Y/49Xd3ZrcqiTw+uVGeGCBKw== X-Google-Smtp-Source: ABdhPJyVNCp5vBCSjROyFocR3XitQvTit4wLHl4V5+vCMnmDgWqkmD2SoqMOLikCyyXjg9xG+kUPrzxkV9qwwFdfyvI= X-Received: by 2002:ac2:4d16:: with SMTP id r22mr1992295lfi.595.1604712589167; Fri, 06 Nov 2020 17:29:49 -0800 (PST) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 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.io gmane.comp.tex.context:109291 Archived-At: --===============1973977746986838908== Content-Type: multipart/alternative; boundary="000000000000d8102805b37a43b9" --000000000000d8102805b37a43b9 Content-Type: text/plain; charset="UTF-8" Hi, Thank you for the tips. Yes, I will probably write something similar (but probably in Go or Python , as they are easier to maintain in the environments that I work). Thank you very much! Ramkumar On Fri, Nov 6, 2020 at 10:52 PM Aditya Mahajan wrote: > On Fri, 6 Nov 2020, thierry horsin wrote: > > > Hi Ramkumar, > > > > Maybe you could have some scripts that check when the JSON file is > modified > > and if so launches the compilation. I did that sort of script in order > to have > > a continuous compilation process by checking every second if my current > .tex > > file is modified. > > Here is a script which does this for general tasks: > > http://users.fred.net/tds/lab/ftp/atchange > > It is also possible to build something on top of inotifywait on linux. > > Aditya > > ___________________________________________________________________________________ > 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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > > ___________________________________________________________________________________ > --000000000000d8102805b37a43b9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

Thank you for the tips. Yes, I will= probably write something similar (but probably in Go or Python, as they are easier to maintain in the environments= that I work).

Thank you very much!
Ramk= umar

On Fri, Nov 6, 2020 at 10:52 PM Aditya Mahajan <adityam@umich.edu> wrote:
On Fri, 6 Nov 2020, thierry horsin = wrote:

> Hi Ramkumar,
>
> Maybe you could have some scripts that check when the JSON file is mod= ified
> and if so launches the compilation. I did that sort of script in order= to have
> a continuous compilation process by checking every second if my curren= t .tex
> file is modified.

Here is a script which does this for general tasks:

http://users.fred.net/tds/lab/ftp/atchange

It is also possible to build something on top of inotifywait on linux.

Aditya
___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/nt= g-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.net=
archive=C2=A0 : https://bitbucket.org/phg/context-m= irror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________
--000000000000d8102805b37a43b9-- --===============1973977746986838908== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============1973977746986838908==--