summaryrefslogtreecommitdiff
path: root/specvars.tex
diff options
context:
space:
mode:
Diffstat (limited to 'specvars.tex')
-rw-r--r--specvars.tex31
1 files changed, 1 insertions, 30 deletions
diff --git a/specvars.tex b/specvars.tex
index d166311..4b265e8 100644
--- a/specvars.tex
+++ b/specvars.tex
@@ -1,33 +1,4 @@
-% define VIRTIO Working Draft number and date
-\newcommand{\virtiorev}{1.0}
-\newcommand{\virtioworkingdraftdate}{05 Nov 2013}
-\newcommand{\virtioworkingdraft}{01}
-\newcommand{\virtiodraftstage}{wd}
-\newcommand{\virtiodraftstagename}{Working Draft}
-% Detect current stage and version based on document name
-\IfSubStr{\jobname}{-wd}{
-\renewcommand{\virtioworkingdraft}{\StrBehind{\jobname}{-wd}}
-}
-\IfSubStr{\jobname}{-os}{
-\renewcommand{\virtiodraftstage}{os}
-\renewcommand{\virtiodraftstagename}{OASIS Standard}
-\newcommand{\virtioworkingdraft}{}
-}
-\IfSubStr{\jobname}{-cs}{
-\renewcommand{\virtiodraftstage}{cs}
-\renewcommand{\virtiodraftstagename}{Committee Specification}
-\renewcommand{\virtioworkingdraft}{}
-}
-\IfSubStr{\jobname}{-csd}{
-\renewcommand{\virtiodraftstage}{csd}
-\renewcommand{\virtiodraftstagename}{Committee Specification Draft}
-\renewcommand{\virtioworkingdraft}{\StrBehind{\jobname}{-csd}}
-}
-\IfSubStr{\jobname}{-csprd}{
-\renewcommand{\virtiodraftstage}{csprd}
-\renewcommand{\virtiodraftstagename}{Committee Specification Public Review Draft}
-\renewcommand{\virtioworkingdraft}{\StrBehind{\jobname}{-csprd}}
-}
+\input{setup-generated.tex}
\newcommand{\virtioversion}{Virtual I/O Device (VIRTIO) Version \virtiorev}
\newcommand{\virtiospecfile}{virtio-v\virtiorev-\virtiodraftstage\virtioworkingdraft}
\newcommand{\virtiourlbase}{http://docs.oasis-open.org/virtio/virtio/v\virtiorev/\virtiodraftstage\virtioworkingdraft}