diff options
Diffstat (limited to 'macros/latex/contrib/gitver/gitver.tex')
-rw-r--r-- | macros/latex/contrib/gitver/gitver.tex | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/macros/latex/contrib/gitver/gitver.tex b/macros/latex/contrib/gitver/gitver.tex index f6ecf2654c..a5b68af99e 100644 --- a/macros/latex/contrib/gitver/gitver.tex +++ b/macros/latex/contrib/gitver/gitver.tex @@ -18,7 +18,7 @@ \title{\textsf{gitver} -- Git version tags \\ for \LaTeX{} projects} \author{Charles Baynham} -\date{2020/10/30 (v\,1.3)} +\date{2022/07/16 (v\,1.4)} \MaintainedBy{% This file is maintained by Charles Baynham.\\% Bug reports can be opened at\\% @@ -43,6 +43,10 @@ running in ``shell escape'' mode. This can be enabled by passing \textsf{--shell on the command line when compiling your document, or will be available in the options of whatever GUI you're using (try Googling). +Note that online Latex editors like Overleaf.com often do not have git installed. +Gitver will detect these by the precense of the environmental variable "CLSI" +and will display the version as "CLSI" instead. + Note that it's a good idea to tell git to ignore all the latex auxilary files, otherwise your version will always be ``dirty''. Try the \textsf{.gitignore} file from \url{https://www.gitignore.io/api/latex} if you don't already have @@ -117,6 +121,7 @@ the option |nopdfinfo|. \item v1.2 - Use datetime2 instead of datetime to reduce dependancy burden and display dates in ISO format \item v1.3 - Support LuaLatex + \item v1.4 - Detect running in online builders via "CLSI" environmental variable \end{itemize} \end{document} |