aboutsummaryrefslogtreecommitdiffstats
path: root/commands.tex
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2019-03-11 13:25:14 -0400
committerMichael S. Tsirkin <mst@redhat.com>2019-03-21 13:24:59 -0400
commitd608f474316ae184de2220f10796e2bc9cc8c008 (patch)
treef7665cc9f8e2f07fe46c3601b8be045275a2f014 /commands.tex
parent69daf0635b883b20bd7f62dd25c187e3e8ac8db5 (diff)
downloadvirtio-spec-d608f474316ae184de2220f10796e2bc9cc8c008.tar.gz
conformance: tweak to match OASIS requirements
Number clauses as required by OASIS. Also reference the transitional clause. Fixes: https://issues.oasis-open.org/browse/VIRTIO-168 Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'commands.tex')
-rw-r--r--commands.tex5
1 files changed, 5 insertions, 0 deletions
diff --git a/commands.tex b/commands.tex
index 65c9a33..25ea8ee 100644
--- a/commands.tex
+++ b/commands.tex
@@ -10,4 +10,9 @@
% Mark a normative section (driver or device)
\newcommand{\drivernormative}[3]{#1{Driver Requirements: #2}\label{drivernormative:#3}}
\newcommand{\devicenormative}[3]{#1{Device Requirements: #2}\label{devicenormative:#3}}
+\newcounter{clausecounter}
+\newcommand{\conformance}[2]{
+ \stepcounter{clausecounter}
+ #1{Clause \theclausecounter: #2}
+}
\newenvironment{DIFnomarkup}{}{}