summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormstsirkin <mstsirkin@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652>2013-12-02 20:05:28 +0000
committermstsirkin <mstsirkin@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652>2013-12-02 20:05:28 +0000
commit6195eab8748671ffa9fb3f55d8502a9542e81a55 (patch)
tree42da2b0a90fc37c42103a1cb03081847b7dcf1d1
parent1bcdb9556dba3c1c40f3aa711c24e18785d4ccab (diff)
tex: fix some urls
replace 1.0 with v1.0 make urls work correctly in html Signed-off-by: Michael S. Tsirkin <mst@redhat.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@151 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
-rw-r--r--specvars.tex6
-rw-r--r--title.tex8
2 files changed, 9 insertions, 5 deletions
diff --git a/specvars.tex b/specvars.tex
index 03b6b41..d166311 100644
--- a/specvars.tex
+++ b/specvars.tex
@@ -30,10 +30,14 @@
}
\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}
+\newcommand{\virtiourlbase}{http://docs.oasis-open.org/virtio/virtio/v\virtiorev/\virtiodraftstage\virtioworkingdraft}
%Below must be used to make links work correctly in HTML
\urldef \virtiourllistings\url{\virtiourlbase/listings/}
\urldef \virtiourltex\url{\virtiourlbase/tex/}
+\urldef \virtiourlpdf\url{\virtiourlbase/\virtiospecfile.pdf}
+\urldef \virtiourlhtml\url{\virtiourlbase/\virtiospecfile.html}
+\urldef \virtiourllatestpdf\url{http://docs.oasis-open.org/virtio/virtio/v\virtiorev/virtio-v\virtiorev.pdf}
+\urldef \virtiourllatesthtml\url{http://docs.oasis-open.org/virtio/virtio/v\virtiorev/virtio-v\virtiorev.html}
\newcommand{\virtioworkproduct}{Standards Track Work Product}
\newcommand{\virtiooasiscopyright}{Copyright © OASIS Open 2013. All Rights Reserved.}
diff --git a/title.tex b/title.tex
index fc67350..3ff7e0e 100644
--- a/title.tex
+++ b/title.tex
@@ -14,8 +14,8 @@
\oasisspecificationuris{Specification URIs}
\begin{oasistitlesection}{This version}
-\url{\virtiourlbase/\virtiospecfile.pdf} (Authoritative)\newline
-\url{\virtiourlbase/\virtiospecfile.html}
+\virtiourlpdf (Authoritative)\newline
+\virtiourlhtml
\end{oasistitlesection}
\begin{oasistitlesection}{Previous version}
@@ -23,8 +23,8 @@ N/A
\end{oasistitlesection}
\begin{oasistitlesection}{Latest version}
-\url{http://docs.oasis-open.org/virtio/virtio/\virtiorev/virtio-v\virtiorev.pdf} (Authoritative)\newline
-\url{http://docs.oasis-open.org/virtio/virtio/\virtiorev/virtio-v\virtiorev.html}
+\virtiourllatestpdf (Authoritative)\newline
+\virtiourllatesthtml
\end{oasistitlesection}
\begin{oasistitlesection}{Technical Committee}