writetexhook
writetexhook
Function prototype:
hook (command, final)
Synopsis
Use with:
add_hook(hookname, func[, prepend])
remove_hook(hookname, func)
where hookname is writetexhook.
This hook is called before the .tex file is written to restart the formatter.
Arguments
• command specifies the name of the command requesting formatting: format, preview, or print.
• final is 1 if final formatting was specified, otherwise is 0.