From 6c27c890461a8184b9684649158793cb669f655b Mon Sep 17 00:00:00 2001
From: mstsirkin <mstsirkin@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652>
Date: Sun, 1 Dec 2013 21:45:57 +0000
Subject: tex: fix links in generated html

Use \urldef to make them expand macros.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@144 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
---
 specvars.tex | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'specvars.tex')

diff --git a/specvars.tex b/specvars.tex
index accfc66..03b6b41 100644
--- a/specvars.tex
+++ b/specvars.tex
@@ -31,6 +31,9 @@
 \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.}
 
-- 
cgit v1.2.3

