blob: 03b6b41d4e761343d139c0490c6c87abe00d37b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
% 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}}
}
\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/\virtiorev/\virtiodraftstage\virtioworkingdraft}
%Below must be used to make links work correctly in HTML
\urldef \virtiourllistings\url{\virtiourlbase/listings/}
\urldef \virtiourltex\url{\virtiourlbase/tex/}
\newcommand{\virtioworkproduct}{Standards Track Work Product}
\newcommand{\virtiooasiscopyright}{Copyright © OASIS Open 2013. All Rights Reserved.}
% PDF setup
\hypersetup{
pdfauthor = {OASIS Virtual I/O Device (VIRTIO) TC},
pdftitle = {Virtual I/O Device (VIRTIO) Version \virtiorev},
pdfsubject = {Virtual I/O Device (VIRTIO) Version \virtiorev},
pdfkeywords = {VIRTIO, Virtual I/O Device},
colorlinks = {true},
linkcolor=blue,
urlcolor = blue}
|