* Watchmode @ 2019-11-29 10:07 Denis Maier 2019-11-29 10:26 ` Watchmode Marco Patzer 0 siblings, 1 reply; 3+ messages in thread From: Denis Maier @ 2019-11-29 10:07 UTC (permalink / raw) To: ntg-context Hi, is there a watchmode for ConTeXt? So that I can it once and ConTeXt will re-typeset a file once there are changes? Best, Denis ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Watchmode 2019-11-29 10:07 Watchmode Denis Maier @ 2019-11-29 10:26 ` Marco Patzer 2019-11-29 11:32 ` Watchmode Aditya Mahajan 0 siblings, 1 reply; 3+ messages in thread From: Marco Patzer @ 2019-11-29 10:26 UTC (permalink / raw) To: ntg-context On Fri, 29 Nov 2019 11:07:01 +0100 Denis Maier <denis.maier.lists@mailbox.org> wrote: > is there a watchmode for ConTeXt? I'm not aware of such a feature. > So that I can it once and ConTeXt will re-typeset a file once > there are changes? Idea: file='somefile.tex' while true; do inotifywait --event modify "$file" context --batchmode "$file" done Marco ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Watchmode 2019-11-29 10:26 ` Watchmode Marco Patzer @ 2019-11-29 11:32 ` Aditya Mahajan 0 siblings, 0 replies; 3+ messages in thread From: Aditya Mahajan @ 2019-11-29 11:32 UTC (permalink / raw) To: mailing list for ConTeXt users On Fri, 29 Nov 2019, Marco Patzer wrote: > On Fri, 29 Nov 2019 11:07:01 +0100 > Denis Maier <denis.maier.lists@mailbox.org> wrote: > >> So that I can it once and ConTeXt will re-typeset a file once >> there are changes? > > Idea: > > file='somefile.tex' > while true; do > inotifywait --event modify "$file" > context --batchmode "$file" > done I use atchange (http://users.fred.net/tds/lab/atchange.html), which allows you write a file, where you can specify dependencies, so I can trigger an automatic rerun if either of the dependencies change. This is useful for larger projects. 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-11-29 11:32 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2019-11-29 10:07 Watchmode Denis Maier 2019-11-29 10:26 ` Watchmode Marco Patzer 2019-11-29 11:32 ` Watchmode Aditya Mahajan
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).