summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/gitinfo2/gitinfotest.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/gitinfo2/gitinfotest.tex')
-rw-r--r--Master/texmf-dist/doc/latex/gitinfo2/gitinfotest.tex48
1 files changed, 48 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/gitinfo2/gitinfotest.tex b/Master/texmf-dist/doc/latex/gitinfo2/gitinfotest.tex
new file mode 100644
index 00000000000..4cc0bcbac3f
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/gitinfo2/gitinfotest.tex
@@ -0,0 +1,48 @@
+\documentclass[10pt,a4paper,article,showtrims]{memoir}
+% =====================================================
+% This is a tweak to allow this document to be formatted
+% even when it doesn't live in an adequately configured
+% git repository. Please do not try this at home.
+% You have been warned.
+% -----------------------------------------------------
+\makeatletter
+\newcommand{\GI@repo@prefix}{}
+\newcommand{\GI@githeadinfo@file}{\GI@repo@prefix./gitPseudoHeadInfo.gin}
+\makeatother
+% -----------------------------------------------------
+% End of tweak
+% =====================================================
+\usepackage[missing={(Oh my!)},dirty={Oh no!},markifdirty,marknotags]{gitinfo2}
+\frenchspacing
+\begin{document}
+
+\ttfamily
+!\gitMark! Mark
+
+!\gitReferences ! References
+
+!\gitVtag ! Vtag
+
+!\gitVtags ! Vtags
+
+!\gitVtagn ! Vtagn
+
+!\gitRel ! Rel
+
+!\gitRels ! Rels
+
+!\gitReln ! Reln
+
+!\gitFirstTagDescribe ! F.T.Describe
+
+!\gitDescribe ! Describe
+
+!\gitTags ! Tags
+
+!\gitDirty ! Dirty
+
+!\gitBranch ! Branch
+
+!\gitRoff ! Roff
+
+\end{document}