summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/rcs/src/test/under_score.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/rcs/src/test/under_score.tex')
-rw-r--r--macros/latex/contrib/rcs/src/test/under_score.tex34
1 files changed, 34 insertions, 0 deletions
diff --git a/macros/latex/contrib/rcs/src/test/under_score.tex b/macros/latex/contrib/rcs/src/test/under_score.tex
new file mode 100644
index 0000000000..d521ad9d17
--- /dev/null
+++ b/macros/latex/contrib/rcs/src/test/under_score.tex
@@ -0,0 +1,34 @@
+% $Id: under_score.tex,v 1.3 2003/02/02 20:27:04 schrod Exp $
+%----------------------------------------------------------------------
+
+\documentclass{article}
+
+\usepackage{rcs}
+
+\nofiles % fewer files in directory
+
+\makeatletter
+\tracingcommands=2
+\tracingmacros=2
+
+\def\RcsEmptyValue{$\rm \langle Unknown \rangle$}
+\RCS $Id: under_score.tex,v 1.3 2003/02/02 20:27:04 schrod Exp $
+
+\begin{document}
+
+This is a test case for file names with underscores that once lead to
+\TeX{} errors when they are part of the RCS macro expansion.
+
+RCS Id of Dokument is $$\hbox{\texttt{\RCSId}}$$.
+
+\begin{rcslog}
+$Log: under_score.tex,v $
+\Revision 1.3 2003/02/02 20:27:04 schrod
+Better formatting for Id field test.
+
+\Revision 1.2 2003/02/02 14:16:33 schrod
+Handle also underscores in Log fields.
+
+\end{rcslog}
+
+\end{document}