Enable refs between commands.
authorFredrik Tolf <fredrik@dolda2000.com>
Sat, 7 Jul 2007 00:48:44 +0000 (02:48 +0200)
committerFredrik Tolf <fredrik@dolda2000.com>
Sat, 7 Jul 2007 00:48:44 +0000 (02:48 +0200)
doc/protocol/reqlist.sty

index ff87aaa..2c33a60 100644 (file)
@@ -1,4 +1,5 @@
-\newenvironment{reqspec}[1]{\subsubsection{\texttt{#1}}}{}
+\newenvironment{reqspec}[1]{\subsubsection{\texttt{#1}} \label{cmd:#1}}{}
+\newcommand{\reqref}[1]{\texttt{#1}}
 
 \newcommand{\syntax}[1]{Syntax: \texttt{#1}}