summaryrefslogtreecommitdiff
path: root/info/maketexwork/ex-02-04
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /info/maketexwork/ex-02-04
Initial commit
Diffstat (limited to 'info/maketexwork/ex-02-04')
-rw-r--r--info/maketexwork/ex-02-0433
1 files changed, 33 insertions, 0 deletions
diff --git a/info/maketexwork/ex-02-04 b/info/maketexwork/ex-02-04
new file mode 100644
index 0000000000..a949b91690
--- /dev/null
+++ b/info/maketexwork/ex-02-04
@@ -0,0 +1,33 @@
+ Documents Using RCS}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% RCS definitions...
+%
+\newif\ifdraft
+\def\RCSID$#1${%
+ \ifdraft{\tolerance=100000%
+ \hbadness=100000%
+ \raggedright%
+ \marginpar{\tiny Draft #1}}%
+ \typeout{Draft #1}%
+ \else\typeout{Production run #1}\fi%
+}
+
+\def\RCSmargid$#1: #2 #3 #4 #5 #6 #7${%
+% #1 = ``Id''
+% #2 = filename
+% #3 = vers
+% #4 = date
+% #5 = time
+% #6 = author
+% #7 = state [locker]
+ \ifdraft
+ \setbox0=\hbox to 0pt{%
+ \tolerance=100000%
+ \hbadness=100000%
+ \parbox{4in}{%
+ \rm\tiny #2\\ #3\\ #4}%
+ \hss}%
+ \marginpar{\box0}%
+ \typeout{Draft Id: #2 #3 #4 #5 #6 #7}%
+ \fi
+}