Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically get version, date for manual #186

Merged
merged 1 commit into from
Mar 3, 2016

Conversation

rchurchley
Copy link
Contributor

As discussed in #81 and #87, we would like to have the manual automatically update the version number and date in \maketitle according to the \ProvidesPackage declaration of beamerthememetropolis.sty. Normally, we'd do this with \fileversion and \filedate after calling \GetFileInfo{beamerthememetropolis}, but unfortunately \GetFileInfo{file} does not work unless file is loaded during the LaTeX run. This is not an option for us since beamerthememetropolis depends on the beamer class.

As it turns out, there is a package to solve this exact problem: readprov provides a command to read a file's metadata without actually loading it. This pull request adopts this solution.

matze added a commit that referenced this pull request Mar 3, 2016
Automatically get version, date for manual
@matze matze merged commit 612a947 into matze:master Mar 3, 2016
@rchurchley rchurchley deleted the autoversion branch March 3, 2016 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants