On 2/23/24 16:01, mf wrote:
> [...]
> A new run is started unless:
> [...]
> - the tuc file is identical to the one of the previous run

Hi Massi,

many thanks for your reply.

If ConTeXt relies on that condition to stop compilation, then it would
be great to know how it is performed to invoke os.rename only on when
the condition takes place.

It would be as to write:

  if x or environment.currentrun >= environment.maxnofruns then
    os.rename(pdf_file, ("%s-%s.pdf"):format(tex.jobname, sha_pdf))
  end

"x" would be the condition where the .tua/.tuc files are identical.

Do you know where that condition is written in the code, so ConTeXt
doesn’t perform another run?

Many thanks for your help,

Pablo
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to