Hi Hans, I would like to use luatex.wrapup to remove media files that I don’t need anymore once the PDF document is generated. I have realized that luatex.wrapup works at the very end of the PDF generation, but in each run. Is there no way to have a luatex.final_wrapup, when no other run will take place? Many thanks for your help, Pablo -- http://www.ousia.tk
On 11/7/2021 11:18 PM, Pablo Rodriguez via ntg-context wrote:
Hi Hans,
I would like to use luatex.wrapup to remove media files that I don’t need anymore once the PDF document is generated.
I have realized that luatex.wrapup works at the very end of the PDF generation, but in each run.
Is there no way to have a luatex.final_wrapup, when no other run will take place?
a run doesn't know it's the last one, only the context runner knows and then it doesn't call tex (which is why --purge and --result work) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
On 11/8/21 8:28 AM, Hans Hagen via ntg-context wrote:
On 11/7/2021 11:18 PM, Pablo Rodriguez via ntg-context wrote:
[...] Is there no way to have a luatex.final_wrapup, when no other run will take place?
a run doesn't know it's the last one, only the context runner knows and then it doesn't call tex (which is why --purge and --result work)
Many thanks for your reply, Hans. I realize that what I wanted to achieve it is impossible inside ConTeXt. Pablo
participants (2)
-
Hans Hagen
-
Pablo Rodriguez