summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/gitinfo2/gitinfotest.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-09-01 22:26:27 +0000
committerKarl Berry <karl@freefriends.org>2014-09-01 22:26:27 +0000
commit5e3775e74d3445586dfb14b025aa3b758c9fe50d (patch)
tree795198834b5daf95029d06e094baf7af3b3983fe /Master/texmf-dist/doc/latex/gitinfo2/gitinfotest.tex
parent90a719a4e36e91ce8d6c935f4ad9e5b1e50e2c49 (diff)
gitinfo2 (1sep14)
git-svn-id: svn://tug.org/texlive/trunk@35083 c570f23f-e606-0410-a88d-b1316a301751
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}