-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Although git hooks are nice, they're not perfect. For instance, there is no git hook for git tag.
I now have a custom build script that runs the \gitsetinfo command before running latexmk. The command is quick enough not to slow down typesetting. In this way, the info is always up to date.
In an earlier attempt, I executed the script from the document itself by using \immediate\write18{scriptname}. However, since this only runs during typesetting, latexmk does not detect any changes and doesn't force a re-run.
Is there a way to run the script when running latexmk?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels