Skip to content

alias FinishPdffileCallback


(alias) FinishPdffileCallback = fun()

Run actions just before the PDF closing takes place.

This callback is called when all document pages are already written to the PDF file and LuaTeX is about to finalize the output document structure. Its intended use is final update of PDF dictionaries such as /Catalog or /Info. The callback does not replace any code. There are neither arguments nor return values.

Reference:

😱 Types incomplete or incorrect? 🙏 Please contribute!