is an option for DocumentGenerator allowing arbitrary code to be executed after a document is generated.


EpilogFunction
is an option for DocumentGenerator allowing arbitrary code to be executed after a document is generated.
Details

- EpilogFunction may be a pure function, notebook, CloudObject, or File. If qualified as Delayed, the resource will be used in place and no copy will be maintained in the generator bundle.
- Functions will be passed the file name of the generated document. All types of epilog functions have access to the generated document through the variable $CurrentFile.
- In case of template application failure, the epilog function will not execute.
History
Text
Wolfram Research (2015), EpilogFunction, Wolfram Language function, https://reference.wolfram.com/language/ref/EpilogFunction.html.
CMS
Wolfram Language. 2015. "EpilogFunction." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/EpilogFunction.html.
APA
Wolfram Language. (2015). EpilogFunction. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/EpilogFunction.html
BibTeX
@misc{reference.wolfram_2025_epilogfunction, author="Wolfram Research", title="{EpilogFunction}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/EpilogFunction.html}", note=[Accessed: 08-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_epilogfunction, organization={Wolfram Research}, title={EpilogFunction}, year={2015}, url={https://reference.wolfram.com/language/ref/EpilogFunction.html}, note=[Accessed: 08-August-2025]}